===> Building for rpm-4.13.0.1nb12
CDPATH="${ZSH_VERSION+.}:" && cd . && /opt/pkg/bin/mksh /Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/missing aclocal-1.15 -I m4
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
 cd . && /opt/pkg/bin/mksh /Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/missing automake-1.15 --foreign
WARNING: 'automake' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /opt/pkg/bin/mksh /Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/missing autoconf
aclocal.m4:17: warning: this file was generated for autoconf 2.69.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
configure.ac:28: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:28: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:28: the top level
configure.ac:32: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:32: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
configure.ac:32: the top level
configure.ac:77: warning: The macro 'AM_PROG_LIBTOOL' is obsolete.
configure.ac:77: You should run autoupdate.
m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
configure.ac:77: the top level
configure.ac:414: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed.
configure.ac:414: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:414: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1022: AM_PROG_MKDIR_P is expanded from...
m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:414: the top level
configure.ac:414: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:414: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:367: gt_INTL_MACOSX is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:414: the top level
configure.ac:414: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:414: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:414: the top level
configure.ac:414: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:414: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:414: the top level
configure.ac:415: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:75: AM_ICONV is expanded from...
configure.ac:415: the top level
configure.ac:415: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:415: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
m4/iconv.m4:75: AM_ICONV is expanded from...
configure.ac:415: the top level
configure.ac:418: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:418: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:418: the top level
/opt/pkg/bin/mksh ./config.status --recheck
 cd . && /opt/pkg/bin/mksh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
/opt/pkg/bin/mksh ./config.status --recheck
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/argv.h include/rpm/argv.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmio.h include/rpm/rpmio.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmurl.h include/rpm/rpmurl.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmmacro.h include/rpm/rpmmacro.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmlog.h include/rpm/rpmlog.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmpgp.h include/rpm/rpmpgp.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmsq.h include/rpm/rpmsq.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmstring.h include/rpm/rpmstring.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmstrpool.h include/rpm/rpmstrpool.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmsw.h include/rpm/rpmsw.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmfileutil.h include/rpm/rpmfileutil.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmutil.h include/rpm/rpmutil.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmkeyring.h include/rpm/rpmkeyring.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./rpmio/rpmbase64.h include/rpm/rpmbase64.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/header.h include/rpm/header.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmdb.h include/rpm/rpmdb.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmcallback.h include/rpm/rpmcallback.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmcli.h include/rpm/rpmcli.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmlib.h include/rpm/rpmlib.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmds.h include/rpm/rpmds.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmfi.h include/rpm/rpmfi.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmfiles.h include/rpm/rpmfiles.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmlegacy.h include/rpm/rpmlegacy.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmpol.h include/rpm/rpmpol.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmps.h include/rpm/rpmps.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmprob.h include/rpm/rpmprob.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmtag.h include/rpm/rpmtag.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmtd.h include/rpm/rpmtd.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmte.h include/rpm/rpmte.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmts.h include/rpm/rpmts.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmtypes.h include/rpm/rpmtypes.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmvf.h include/rpm/rpmvf.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./lib/rpmarchive.h include/rpm/rpmarchive.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./sign/rpmsign.h include/rpm/rpmsign.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./build/rpmbuild.h include/rpm/rpmbuild.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./build/rpmfc.h include/rpm/rpmfc.h
/usr/bin/install -c -o pbulk -g staff -m 644 ./build/rpmspec.h include/rpm/rpmspec.h
(CDPATH="${ZSH_VERSION+.}:" && cd . && /opt/pkg/bin/mksh /Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/missing autoheader)
aclocal.m4:17: warning: this file was generated for autoconf 2.69.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
rm -f stamp-h1
touch config.h.in
cd . && /opt/pkg/bin/mksh ./config.status config.h
config.status: creating config.h
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1'
/opt/pkg/bin/mksh ./config.status --recheck
Making all in po
gmake[2]: Entering directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/po'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/po'
Making all in misc
gmake[2]: Entering directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/misc'
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1'
 cd .. && /opt/pkg/bin/mksh ./config.status misc/Makefile depfiles
config.status: creating misc/Makefile
config.status: executing depfiles commands
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1'
depbase=`echo fts.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/opt/pkg/bin/mksh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H   -I.. -I.. -I../include -I../misc -I/opt/pkg/include/nss -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/nspr  -pipe -Os -I/opt/pkg/include/db4 -I/opt/pkg/include -I/opt/pkg/include/nspr -fPIC -DPIC -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -fno-strict-aliasing -Wempty-body -MT fts.lo -MD -MP -MF $depbase.Tpo -c -o fts.lo fts.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  clang -DHAVE_CONFIG_H -I.. -I../include -I../misc -I/Users/pbulk/build/misc/rpm/work/.buildlink/include/nss -I/Users/pbulk/build/misc/rpm/work/.buildlink/include/db4 -I/Users/pbulk/build/misc/rpm/work/.buildlink/include -I/Users/pbulk/build/misc/rpm/work/.buildlink/include/nspr -pipe -Os -fPIC -DPIC -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -fno-strict-aliasing -Wempty-body -MT fts.lo -MD -MP -MF .deps/fts.Tpo -c fts.c  -fno-common -DPIC -o .libs/fts.o
fts.c:623:6: warning: variable 'nostat' set but not used [-Wunused-but-set-variable]
            nostat, doadjust;
            ^
fts.c:1125:16: error: variable has incomplete type 'struct stat64'
        struct stat64 sb;
                      ^
fts.c:1125:9: note: forward declaration of 'struct stat64'
        struct stat64 sb;
               ^
fts.c:1132:6: warning: implicit declaration of function 'fstat64' is invalid in C99 [-Wimplicit-function-declaration]
        if (FTS_FSTAT64(newfd, &sb)) {
            ^
fts.c:38:37: note: expanded from macro 'FTS_FSTAT64'
#   define FTS_FSTAT64(_fd, _sbp)   fstat64((_fd), (_sbp))
                                    ^
2 warnings and 1 error generated.
gmake[2]: *** [Makefile:499: fts.lo] Error 1
gmake[2]: Leaving directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1/misc'
gmake[1]: *** [Makefile:1362: all-recursive] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/misc/rpm/work/rpm-4.13.0.1'
gmake: *** [Makefile:748: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm