+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/rpm-4.20.0nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/rpm-4.20.0nb1/work.log => Checksum BLAKE2s OK for rpm-4.20.0.tar.bz2 => Checksum SHA512 OK for rpm-4.20.0.tar.bz2 ===> Installing dependencies for rpm-4.20.0nb1 ========================================================================== The following variables will affect the build process of this package, rpm-4.20.0nb1. Their current value is shown below: * CURSES_DEFAULT = ncurses * LUA_VERSION_DEFAULT = 54 * READLINE_DEFAULT = readline * VARBASE = /var/opt/pkg Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * LUA_PACKAGE = lua54 * READLINE_TYPE = readline * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency cmake>=0: found cmake-3.31.6 => Tool dependency gsed>=3.0.2: found gsed-4.9nb1 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency perl>=5.0: found perl-5.40.1 => Full dependency bzip2>=1.0.3: found bzip2-1.0.8 => Full dependency file>=4.17: found file-5.42 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.17 => Full dependency libarchive>=3.3.1: found libarchive-3.7.7nb1 => Full dependency libelf>=0.8.5: found libelf-0.8.13nb1 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.11.0nb2 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7 => Full dependency nspr>=4.34nb1: found nspr-4.36 => Full dependency nss>=3.80nb1: found nss-3.110 => Full dependency popt>=1.16nb1: found popt-1.19 => Full dependency readline>=6.0: found readline-8.2nb2 => Full dependency sqlite3>=3.47.0nb3: found sqlite3-3.49.1nb2 => Full dependency xz>=5.0.0: found xz-5.8.1 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency zstd>=1.3.6: found zstd-1.5.7 => Full dependency libgpg-error>=0.6: found libgpg-error-1.53 => Full dependency ncurses>=5.3nb1: found ncurses-6.5 ===> Overriding tools for rpm-4.20.0nb1 ===> Extracting for rpm-4.20.0nb1 ===> Patching for rpm-4.20.0nb1 => Applying pkgsrc patches for rpm-4.20.0nb1 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-build_rpmfc.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-build_rpmfc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-build_rpmfc.c,v 1.3 2025/02/07 15:06:18 adam Exp $ | |sighandler_t is not portable. | |--- build/rpmfc.c.orig 2024-10-07 09:35:46.000000000 +0000 |+++ build/rpmfc.c -------------------------- Patching file build/rpmfc.c using Plan A... Hunk #1 succeeded at 12. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-installplatform => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-installplatform Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-installplatform,v 1.2 2025/02/07 15:06:19 adam Exp $ | |Keep macros in one place across platforms. | |--- installplatform.orig 2025-02-07 14:38:06.824139208 +0000 |+++ installplatform -------------------------- Patching file installplatform using Plan A... Hunk #1 succeeded at 212. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-lib_backend_ndb_rpmxdb.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-lib_backend_ndb_rpmxdb.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_backend_ndb_rpmxdb.c,v 1.1 2025/02/07 15:06:19 adam Exp $ | |Fix build. | |--- lib/backend/ndb/rpmxdb.c.orig 2025-02-07 14:43:10.414632541 +0000 |+++ lib/backend/ndb/rpmxdb.c -------------------------- Patching file lib/backend/ndb/rpmxdb.c using Plan A... Hunk #1 succeeded at 107. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-lib_rpmrc.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-lib_rpmrc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_rpmrc.c,v 1.3 2025/02/07 15:06:19 adam Exp $ | |For macros use a path with _arch. | |--- lib/rpmrc.c.orig 2024-10-07 09:35:46.000000000 +0000 |+++ lib/rpmrc.c -------------------------- Patching file lib/rpmrc.c using Plan A... Hunk #1 succeeded at 493. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-misc_fts.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-misc_fts.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-misc_fts.c,v 1.4 2025/02/07 15:06:19 adam Exp $ | |Detect dirfd(3) and setprogname(3) in configure script. | |--- misc/fts.c.orig 2024-10-07 09:35:46.000000000 +0000 |+++ misc/fts.c -------------------------- Patching file misc/fts.c using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 72. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-tools_rpmuncompress.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm/patches/patch-tools_rpmuncompress.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tools_rpmuncompress.c,v 1.1 2025/02/07 15:06:19 adam Exp $ | |Add missing include to fix build. | |--- tools/rpmuncompress.c.orig 2025-02-07 14:47:31.776517749 +0000 |+++ tools/rpmuncompress.c -------------------------- Patching file tools/rpmuncompress.c using Plan A... Hunk #1 succeeded at 1. done ===> Creating toolchain wrappers for rpm-4.20.0nb1 /usr/bin/ln -s /home/pbulk/build/misc/rpm/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/misc/rpm/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for rpm-4.20.0nb1 => Replacing bash interpreter in installplatform scripts/brp-compress scripts/check-prereqs scripts/check-rpaths-worker scripts/find-lang.sh scripts/fontconfig.prov scripts/ocamldeps.sh scripts/pkgconfigdeps.sh scripts/rpm_macros_provides.sh scripts/sysusers.sh. INFO: [replace-interpreter] Nothing changed in scripts/brp-compress. INFO: [replace-interpreter] Nothing changed in scripts/check-prereqs. INFO: [replace-interpreter] Nothing changed in scripts/find-lang.sh. INFO: [replace-interpreter] Nothing changed in scripts/fontconfig.prov. INFO: [replace-interpreter] Nothing changed in scripts/ocamldeps.sh. INFO: [replace-interpreter] Nothing changed in scripts/pkgconfigdeps.sh. INFO: [replace-interpreter] Nothing changed in scripts/rpm_macros_provides.sh. INFO: [replace-interpreter] Nothing changed in scripts/sysusers.sh. => Adding run-time search paths to pkg-config files. => Fixing locale directory references. => Checking for portability problems in extracted files -- The C compiler identification is GNU 13.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/misc/rpm/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /home/pbulk/build/misc/rpm/work/.tools/bin/pkg-config (found version "2.4.3") -- Found Lua: /home/pbulk/build/misc/rpm/work/.buildlink/lib/liblua5.4.so;/lib/amd64/libm.so (found suitable version "5.4.7", minimum required is "5.2") -- Found ZLIB: /home/pbulk/build/misc/rpm/work/.buildlink/lib/libz.so (found version "1.3.1") -- Found BZip2: /home/pbulk/build/misc/rpm/work/.buildlink/lib/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: built in to C library -- Checking for module 'popt' -- Found popt, version 1.19 -- Checking for module 'readline' -- Found readline, version 8.2 -- Checking for module 'libzstd>=1.3.8' -- Found libzstd, version 1.5.7 -- Checking for module 'liblzma>=5.2.0' -- Found liblzma, version 5.8.1 -- Checking for module 'libarchive' -- Found libarchive, version 3.7.7 -- Found Intl: /home/pbulk/build/misc/rpm/work/.buildlink/lib/libintl.so -- Looking for _nl_msg_cat_cntr -- Looking for _nl_msg_cat_cntr - found -- Checking for module 'sqlite3>=3.22' -- Found sqlite3, version 3.49.1 -- Looking for stpcpy -- Looking for stpcpy - found -- Looking for stpncpy -- Looking for stpncpy - found -- Looking for putenv -- Looking for putenv - found -- Looking for mempcpy -- Looking for mempcpy - not found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for lutimes -- Looking for lutimes - found -- Looking for mergesort -- Looking for mergesort - not found -- Looking for getauxval -- Looking for getauxval - not found -- Looking for setprogname -- Looking for setprogname - found -- Looking for __progname -- Looking for __progname - found -- Looking for syncfs -- Looking for syncfs - not found -- Looking for sched_getaffinity -- Looking for sched_getaffinity - not found -- Looking for unshare -- Looking for unshare - not found -- Looking for secure_getenv -- Looking for secure_getenv - not found -- Looking for __secure_getenv -- Looking for __secure_getenv - not found -- Looking for mremap -- Looking for mremap - not found -- Looking for strchrnul -- Looking for strchrnul - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for basename -- Looking for basename - found -- Looking for dirname -- Looking for dirname - found -- Looking for realpath -- Looking for realpath - found -- Looking for setenv -- Looking for setenv - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for regcomp -- Looking for regcomp - found -- Looking for utimes -- Looking for utimes - found -- Looking for getline -- Looking for getline - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for statvfs -- Looking for statvfs - found -- Looking for getaddrinfo -- Looking for getaddrinfo - not found CMake Error at CMakeLists.txt:314 (message): required function getaddrinfo not found Call Stack (most recent call first): CMakeLists.txt:323 (chkdef) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm *** Error code 1 Stop. bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/rpm