=> 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.0nb2
==========================================================================
The following variables will affect the build process of this package,
rpm-4.20.0nb2.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = editline
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua54
        * READLINE_TYPE = editline
        * 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.7nb2
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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.2
=> 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.9
=> Full dependency libelf>=0.8.5: found libelf-0.8.13nb1
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.11.1
=> 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.110nb1
=> Full dependency popt>=1.16nb1: found popt-1.19
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency sqlite3>=3.49.1nb3: found sqlite3-3.49.2
=> 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 editline>=3.0.20130712nb1: found editline-3.1.20250104
=> Full dependency libgpg-error>=0.6: found libgpg-error-1.55
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
===> Overriding tools for rpm-4.20.0nb2
===> Extracting for rpm-4.20.0nb2
===> Patching for rpm-4.20.0nb2
=> Applying pkgsrc patches for rpm-4.20.0nb2
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm/patches/patch-build_rpmfc.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm/patches/patch-installplatform
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm/patches/patch-lib_backend_ndb_rpmxdb.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm/patches/patch-lib_rpmrc.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm/patches/patch-misc_fts.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm/patches/patch-tools_rpmuncompress.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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.0nb2
/bin/ln -s /Users/pbulk/build/misc/rpm/work/.buildlink/lib/pkgconfig/lua-5.4.pc /Users/pbulk/build/misc/rpm/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for rpm-4.20.0nb2
=> 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.
=> Fixing locale directory references.
-- The C compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/misc/rpm/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /Users/pbulk/build/misc/rpm/work/.tools/bin/pkg-config (found version "2.4.3")
-- Found Lua: /Users/pbulk/build/misc/rpm/work/.buildlink/lib/liblua5.4.dylib (found suitable version "5.4.7", minimum required is "5.2")
-- Found ZLIB: /Users/pbulk/build/misc/rpm/work/.buildlink/lib/libz.dylib (found version "1.3.1")
-- Found BZip2: /Users/pbulk/build/misc/rpm/work/.buildlink/lib/libbz2.dylib (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 - Failed
-- Found Iconv: /Users/pbulk/build/misc/rpm/work/.buildlink/lib/libiconv.dylib (found version "1.17")
-- 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.9
-- Found Intl: /Users/pbulk/build/misc/rpm/work/.buildlink/lib/libintl.dylib
-- Looking for _nl_msg_cat_cntr
-- Looking for _nl_msg_cat_cntr - not found
-- Checking for module 'sqlite3>=3.22'
--   Found sqlite3, version 3.49.2
-- 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 - 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 - not 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 - found
-- Looking for openat
-- Looking for openat - found
-- Looking for mkdirat
-- Looking for mkdirat - found
-- Looking for fstatat
-- Looking for fstatat - found
-- Looking for linkat
-- Looking for linkat - found
-- Looking for symlinkat
-- Looking for symlinkat - found
-- Looking for mkfifoat
-- Looking for mkfifoat - not found
CMake Error at CMakeLists.txt:314 (message):
  required function mkfifoat 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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/rpm
*** Error code 1

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