=> 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 unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /Users/pbulk/build/misc/rpm/work/.cwrapper/bin/clang -- Check for working C compiler: /Users/pbulk/build/misc/rpm/work/.cwrapper/bin/clang - broken CMake Error at /opt/pkg/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/Users/pbulk/build/misc/rpm/work/.cwrapper/bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: '/Users/pbulk/build/misc/rpm/work/rpm-4.20.0/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-j1Odbu' Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /Users/pbulk/build/misc/rpm/work/.tools/bin/make -f Makefile cmTC_22b36/fast /Users/pbulk/build/misc/rpm/work/.tools/bin/make -f CMakeFiles/cmTC_22b36.dir/build.make CMakeFiles/cmTC_22b36.dir/build Building C object CMakeFiles/cmTC_22b36.dir/testCCompiler.c.o /Users/pbulk/build/misc/rpm/work/.cwrapper/bin/clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libelf -I/opt/pkg/include/nspr -I/opt/pkg/include/ncurses -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/readline -arch arm64 -o CMakeFiles/cmTC_22b36.dir/testCCompiler.c.o -c /Users/pbulk/build/misc/rpm/work/rpm-4.20.0/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-j1Odbu/testCCompiler.c Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/SharedFrameworks/DVTPortal.framework/Versions/A/DVTPortal Reason: tried: '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache), '/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache)) clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch *** Error code 71 Stop. make[1]: stopped making "CMakeFiles/cmTC_22b36.dir/build" in /Users/pbulk/build/misc/rpm/work/rpm-4.20.0/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-j1Odbu *** Error code 1 Stop. make: stopped making "cmTC_22b36/fast" in /Users/pbulk/build/misc/rpm/work/rpm-4.20.0/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-j1Odbu CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project) -- 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