[package - main-arm64-default][archivers/rpm4] Failed for rpm4-4.16.1.3_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 02:14:22 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     rodrigo@FreeBSD.org
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/pd684832c1aed_sfc21aafe5f/logs/rpm4-4.16.1.3_1.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pd684832c1aed_sfc21aafe5f
Log:

=>> Building archivers/rpm4
build started at Sat Dec  4 02:13:51 UTC 2021
port directory: /usr/ports/archivers/rpm4
package name: rpm4-4.16.1.3_1
building for: FreeBSD main-arm64-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400043 arm64
maintained by: rodrigo@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400043
Job Id: 03




!!! Jail is newer than host. (Jail: 1400043, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400043
UNAME_v=FreeBSD 14.0-CURRENT 1400043
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for rpm4-4.16.1.3_1:
     DOCS=on: Build and/or install documentation
     NLS=on: Native Language Support
     PLUGINS=off: Build and/or install plugins
     PYTHON=on: Python bindings or support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
rodrigo@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-sqlite=yes --with-popt-prefix="/usr/local"  --sysconfdir=/usr/local/etc  --localstatedir=/var  --without-javaglue  am_cv_python_version=3.8  ac_cv_lib_elf_gelf_getvernaux=no --enable-nls --disable-plugins --enable-python --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
LUA_CFLAGS=-I/usr/local/include/lua52  LUA_LIBS="-L/usr/local/lib -llua-5.2 -lm" MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/rpm4/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/rpm4/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/rpm4/work/.cache  HOME=/wrkdirs/usr/ports/archivers/rpm4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/rpm4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
LUA_MODLIBDIR=/usr/local/lib/lua/5.2  LUA_MODSHAREDIR=/usr/local/share/lua/5.2  LUA_MODDOCSDIR=/usr/local/share/doc/lua52  LUA_INCDIR=/usr/local/include/lua52  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.2  LUA_VER_STR=52 XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/rpm4/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/rpm4/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/rpm4/work/.cache  HOME=/wrkdirs/usr/ports/archivers/rpm4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/rpm4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include"  
 LDFLAGS=" -L/usr/local/lib -L/usr/local/lib/nss  -L/usr/local/lib/db5 -L/usr/local/lib -fstack-protector-strong " LIBS="-lintl -L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
VERSION=4.16.1.3  OPSYS=freebsd PORTDOCS="" DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " PLUGINS="@comment " NO_PLUGINS="" PYTHON="" NO_PYTHON="@comment " LUA_MODLIBDIR=lib/lua/5.2  LUA_MODSHAREDIR=share/lua/5.2  LUA_MODDOCSDIR=share/doc/lua52  LUA_INCDIR=include/lua52  LUA_VER=5.2  LUA_VER_STR=52 PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rpm"  EXAMPLESDIR="share/examples/rpm"  DATADIR="share/rpm"  WWWDIR="www/rpm"  ETCDIR="etc/rpm"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " PLUGINS="@comment " NO_PLUGINS="" PYTHON="" NO_PYTHON="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rpm DOCSDIR=/usr/local/share/doc/rpm EXAMPLESDIR=/usr/local/share/examples/rpm  WWWDIR=/usr/local/www/rpm ETCDIR=/usr/local/etc/rpm
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400043
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   rpm4-4.16.1.3_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-arm64-default-job-03] Installing pkg-1.17.5...
[main-arm64-default-job-03] Extracting pkg-1.17.5: .......... done
===>   rpm4-4.16.1.3_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rpm4-4.16.1.3_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rpm4-4.16.1.3_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rpm4-4.16.1.3_1 for building
=> SHA256 Checksum OK for rpm-4.16.1.3.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rpm4-4.16.1.3_1 for building
===>  Extracting for rpm4-4.16.1.3_1
=> SHA256 Checksum OK for rpm-4.16.1.3.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for rpm4-4.16.1.3_1
===>  Applying FreeBSD patches for rpm4-4.16.1.3_1 from /usr/ports/archivers/rpm4/files
===========================================================================
=======================<phase: build-depends  >============================
===>   rpm4-4.16.1.3_1 depends on executable: gsed - not found
===>   Installing existing package /packages/All/gsed-4.8.pkg
[main-arm64-default-job-03] Installing gsed-4.8...
<snip>
checking for sys/systemcfg.h... no
checking for sys/param.h... (cached) yes
checking sys/auxv.h usability... yes
checking sys/auxv.h presence... yes
checking for sys/auxv.h... yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for putenv... (cached) yes
checking for mempcpy... yes
checking for fdatasync... yes
checking whether fdatasync is declared... yes
checking for lutimes... yes
checking for mergesort... yes
checking for getauxval... no
checking for setprogname... yes
checking for syncfs... no
checking for sched_getaffinity... yes
checking for unshare... no
checking whether __progname is defined... yes
checking for stpcpy... (cached) yes
checking for stpncpy... (cached) yes
checking for secure_getenv... no
checking for __secure_getenv... no
checking for mkstemp... (cached) yes
checking for getcwd... (cached) yes
checking for basename... (cached) yes
checking for dirname... (cached) yes
checking for realpath... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for regcomp... yes
checking for lchown... yes
checking for utimes... (cached) yes
checking for getline... (cached) yes
checking for localtime_r... yes
checking for statvfs... (cached) yes
checking for getaddrinfo... (cached) yes
checking whether /usr/local/bin/python3.8 version is >= 3.1... yes
checking for /usr/local/bin/python3.8 version... (cached) 3.8
checking for /usr/local/bin/python3.8 platform... freebsd14
checking for /usr/local/bin/python3.8 script directory... ${prefix}/lib/python3.8/site-packages
checking for /usr/local/bin/python3.8 extension module directory... ${exec_prefix}/lib/python3.8/site-packages
checking for PYTHON... yes
checking for doxygen... no
checking for dot... NO
checking for LUA... yes
checking for autom4te... :
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rpmio/Makefile
config.status: creating lib/Makefile
config.status: creating build/Makefile
config.status: creating sign/Makefile
config.status: creating po/Makefile.in
config.status: creating scripts/Makefile
config.status: creating fileattrs/Makefile
config.status: creating misc/Makefile
config.status: creating doc/Makefile
config.status: creating python/Makefile
config.status: creating luaext/Makefile
config.status: creating tests/Makefile
config.status: creating plugins/Makefile
config.status: creating python/setup.py
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for rpm4-4.16.1.3_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3'
install  -m 0644 ./rpmio/argv.h include/rpm/argv.h
install  -m 0644 ./rpmio/rpmio.h include/rpm/rpmio.h
install  -m 0644 ./rpmio/rpmurl.h include/rpm/rpmurl.h
install  -m 0644 ./rpmio/rpmmacro.h include/rpm/rpmmacro.h
install  -m 0644 ./rpmio/rpmlog.h include/rpm/rpmlog.h
install  -m 0644 ./rpmio/rpmpgp.h include/rpm/rpmpgp.h
install  -m 0644 ./rpmio/rpmsq.h include/rpm/rpmsq.h
install  -m 0644 ./rpmio/rpmstring.h include/rpm/rpmstring.h
install  -m 0644 ./rpmio/rpmstrpool.h include/rpm/rpmstrpool.h
install  -m 0644 ./rpmio/rpmsw.h include/rpm/rpmsw.h
install  -m 0644 ./rpmio/rpmfileutil.h include/rpm/rpmfileutil.h
install  -m 0644 ./rpmio/rpmutil.h include/rpm/rpmutil.h
install  -m 0644 ./rpmio/rpmkeyring.h include/rpm/rpmkeyring.h
install  -m 0644 ./rpmio/rpmbase64.h include/rpm/rpmbase64.h
install  -m 0644 ./rpmio/rpmver.h include/rpm/rpmver.h
install  -m 0644 ./lib/header.h include/rpm/header.h
install  -m 0644 ./lib/rpmdb.h include/rpm/rpmdb.h
install  -m 0644 ./lib/rpmcallback.h include/rpm/rpmcallback.h
install  -m 0644 ./lib/rpmcli.h include/rpm/rpmcli.h
install  -m 0644 ./lib/rpmlib.h include/rpm/rpmlib.h
install  -m 0644 ./lib/rpmds.h include/rpm/rpmds.h
install  -m 0644 ./lib/rpmfi.h include/rpm/rpmfi.h
install  -m 0644 ./lib/rpmfiles.h include/rpm/rpmfiles.h
install  -m 0644 ./lib/rpmpol.h include/rpm/rpmpol.h
install  -m 0644 ./lib/rpmps.h include/rpm/rpmps.h
install  -m 0644 ./lib/rpmprob.h include/rpm/rpmprob.h
install  -m 0644 ./lib/rpmtag.h include/rpm/rpmtag.h
install  -m 0644 ./lib/rpmtd.h include/rpm/rpmtd.h
install  -m 0644 ./lib/rpmte.h include/rpm/rpmte.h
install  -m 0644 ./lib/rpmts.h include/rpm/rpmts.h
install  -m 0644 ./lib/rpmtypes.h include/rpm/rpmtypes.h
install  -m 0644 ./lib/rpmarchive.h include/rpm/rpmarchive.h
install  -m 0644 ./sign/rpmsign.h include/rpm/rpmsign.h
install  -m 0644 ./build/rpmbuild.h include/rpm/rpmbuild.h
install  -m 0644 ./build/rpmfc.h include/rpm/rpmfc.h
install  -m 0644 ./build/rpmspec.h include/rpm/rpmspec.h
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3'
Making all in po
gmake[3]: Entering directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/po'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/po'
Making all in misc
gmake[3]: Entering directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/misc'
depbase=`echo fts.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include -I../misc -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT fts.lo -MD -MP -MF $depbase.Tpo -c -o fts.lo fts.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo fnmatch.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include -I../misc -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT fnmatch.lo -MD -MP -MF $depbase.Tpo -c -o fnmatch.lo fnmatch.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include -I../misc -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT fts.lo -MD -MP -MF .deps/fts.Tpo -c fts.c  -fPIC -DPIC -o .libs/fts.o
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include -I../misc -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT fnmatch.lo -MD -MP -MF .deps/fnmatch.Tpo -c fnmatch.c  -fPIC -DPIC -o .libs/fnmatch.o
/bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -L/usr/local/lib -L/usr/local/lib/nss  -L/usr/local/lib/db5 -L/usr/local/lib -fstack-protector-strong  -o libmisc.la  fts.lo fnmatch.lo -lpthread -lintl -L/usr/local/lib
libtool: link: ar cru .libs/libmisc.a .libs/fts.o .libs/fnmatch.o 
libtool: link: ranlib .libs/libmisc.a
libtool: link: ( cd ".libs" && rm -f "libmisc.la" && ln -s "../libmisc.la" "libmisc.la" )
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/misc'
Making all in luaext
gmake[3]: Entering directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/luaext'
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include -I. -DWITH_POSIX -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT libluaext_la-lposix.lo -MD -MP -MF .deps/libluaext_la-lposix.Tpo -c -o libluaext_la-lposix.lo `test -f 'lposix.c' || echo './'`lposix.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include -I. -DWITH_POSIX -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT libluaext_la-lrexlib.lo -MD -MP -MF .deps/libluaext_la-lrexlib.Tpo -c -o libluaext_la-lrexlib.lo `test -f 'lrexlib.c' || echo './'`lrexlib.c
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include -I. -DWITH_POSIX -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libluaext_la-lrexlib.lo -MD -MP -MF .deps/libluaext_la-lrexlib.Tpo -c lrexlib.c  -fPIC -DPIC -o .libs/libluaext_la-lrexlib.o
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include -I. -DWITH_POSIX -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT libluaext_la-lposix.lo -MD -MP -MF .deps/libluaext_la-lposix.Tpo -c lposix.c  -fPIC -DPIC -o .libs/libluaext_la-lposix.o
mv -f .deps/libluaext_la-lrexlib.Tpo .deps/libluaext_la-lrexlib.Plo
mv -f .deps/libluaext_la-lposix.Tpo .deps/libluaext_la-lposix.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -L/usr/local/lib -L/usr/local/lib/nss  -L/usr/local/lib/db5 -L/usr/local/lib -fstack-protector-strong  -o libluaext.la  libluaext_la-lposix.lo libluaext_la-lrexlib.lo -L/usr/local/lib -llua-5.2 -lm -lpthread -lintl -L/usr/local/lib
libtool: link: ar cru .libs/libluaext.a .libs/libluaext_la-lposix.o .libs/libluaext_la-lrexlib.o 
libtool: link: ranlib .libs/libluaext.a
libtool: link: ( cd ".libs" && rm -f "libluaext.la" && ln -s "../libluaext.la" "libluaext.la" )
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/luaext'
Making all in rpmio
gmake[3]: Entering directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/rpmio'
depbase=`echo argv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I/usr/local/include   -I/usr/local/include  -I../misc -DRPMCONFIGDIR="\"/usr/local/lib/rpm\"" -DLOCALSTATEDIR="\"/var\"" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT argv.lo -MD -MP -MF $depbase.Tpo -c -o argv.lo argv.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo base64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I/usr/local/include   -I/usr/local/include  -I../misc -DRPMCONFIGDIR="\"/usr/local/lib/rpm\"" -DLOCALSTATEDIR="\"/var\"" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT base64.lo -MD -MP -MF $depbase.Tpo -c -o base64.lo base64.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I/usr/local/include -I/usr/local/include -I../misc -DRPMCONFIGDIR=\"/usr/local/lib/rpm\" -DLOCALSTATEDIR=\"/var\" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c  -fPIC -DPIC -o .libs/base64.o
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I/usr/local/include -I/usr/local/include -I../misc -DRPMCONFIGDIR=\"/usr/local/lib/rpm\" -DLOCALSTATEDIR=\"/var\" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT argv.lo -MD -MP -MF .deps/argv.Tpo -c argv.c  -fPIC -DPIC -o .libs/argv.o
depbase=`echo digest.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I/usr/local/include   -I/usr/local/include  -I../misc -DRPMCONFIGDIR="\"/usr/local/lib/rpm\"" -DLOCALSTATEDIR="\"/var\"" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT digest.lo -MD -MP -MF $depbase.Tpo -c -o digest.lo digest.c &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo expression.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I/usr/local/include   -I/usr/local/include  -I../misc -DRPMCONFIGDIR="\"/usr/local/lib/rpm\"" -DLOCALSTATEDIR="\"/var\"" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT expression.lo -MD -MP -MF $depbase.Tpo -c -o expression.lo expression.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I/usr/local/include -I/usr/local/include -I../misc -DRPMCONFIGDIR=\"/usr/local/lib/rpm\" -DLOCALSTATEDIR=\"/var\" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT digest.lo -MD -MP -MF .deps/digest.Tpo -c digest.c  -fPIC -DPIC -o .libs/digest.o
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I/usr/local/include -I/usr/local/include -I../misc -DRPMCONFIGDIR=\"/usr/local/lib/rpm\" -DLOCALSTATEDIR=\"/var\" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT expression.lo -MD -MP -MF .deps/expression.Tpo -c expression.c  -fPIC -DPIC -o .libs/expression.o
depbase=`echo macro.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I.. -I.. -I../include/ -I/usr/local/include   -I/usr/local/include  -I../misc -DRPMCONFIGDIR="\"/usr/local/lib/rpm\"" -DLOCALSTATEDIR="\"/var\"" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include  -I/usr/local/include/nspr -I/usr/local/include/nss/nss  -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT macro.lo -MD -MP -MF $depbase.Tpo -c -o macro.lo macro.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I.. -I.. -I../include/ -I/usr/local/include -I/usr/local/include -I../misc -DRPMCONFIGDIR=\"/usr/local/lib/rpm\" -DLOCALSTATEDIR=\"/var\" -I../luaext/ -I/usr/local/include/lua52 -I/usr/local/include -I/usr/local/include/nspr -I/usr/local/include/nss/nss -I/usr/local/include/db5 -I/usr/local/include/lua52 -DLIBICONV_PLUG -isystem /usr/local/include -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MT macro.lo -MD -MP -MF .deps/macro.Tpo -c macro.c  -fPIC -DPIC -o .libs/macro.o
macro.c:234:12: warning: variable 'nread' set but not used [-Wunused-but-set-variable]
    size_t nread = 0;
           ^
macro.c:544:5: error: unknown type name 'cpu_set_t'; did you mean 'cpusetid_t'?
    cpu_set_t set;
    ^~~~~~~~~
    cpusetid_t
/usr/include/sys/types.h:86:22: note: 'cpusetid_t' declared here
typedef __cpusetid_t    cpusetid_t;
                        ^
macro.c:545:9: warning: implicit declaration of function 'sched_getaffinity' is invalid in C99 [-Wimplicit-function-declaration]
    if (sched_getaffinity (0, sizeof(set), &set) == 0)
        ^
macro.c:546:10: warning: implicit declaration of function 'CPU_COUNT' is invalid in C99 [-Wimplicit-function-declaration]
        ncpus = CPU_COUNT(&set);
                ^
3 warnings and 1 error generated.
gmake[3]: *** [Makefile:682: macro.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3/rpmio'
gmake[2]: *** [Makefile:1366: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3'
gmake[1]: *** [Makefile:795: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/archivers/rpm4/work/rpm-4.16.1.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/rpm4