+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/libftdi1-1.5nb8/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/libftdi1-1.5nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libftdi1-1.5.tar.bz2 => Checksum SHA512 OK for libftdi1-1.5.tar.bz2 ===> Installing dependencies for libftdi1-1.5nb8 ========================================================================== The following variables will affect the build process of this package, libftdi1-1.5nb8. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 312 Based on these variables, the following variables have been set: * PYPACKAGE = python312 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 `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency swig3-[0-9]*: found swig3-3.0.12nb5 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=3.18: found cmake-3.30.2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency boost-headers-1.85.*: found boost-headers-1.85.0nb1 => Full dependency boost-libs-1.85.*: found boost-libs-1.85.0nb1 => Full dependency boost-libs>=1.85.0: found boost-libs-1.85.0nb1 => Full dependency confuse>=2.5: found confuse-3.3 => Full dependency libusb1>=1.0.9: found libusb1-1.0.27 => Full dependency python312>=3.12: found python312-3.12.5 ===> Overriding tools for libftdi1-1.5nb8 ===> Extracting for libftdi1-1.5nb8 ===> Patching for libftdi1-1.5nb8 => Applying pkgsrc patches for libftdi1-1.5nb8 => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1/patches/patch-11a50ae5b80b3e03694a19e84513345d0794e563-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1/patches/patch-11a50ae5b80b3e03694a19e84513345d0794e563-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-11a50ae5b80b3e03694a19e84513345d0794e563-CMakeLists.txt,v 1.1 2021/03/07 10:51:06 kleink Exp $ | |commit 11a50ae5b80b3e03694a19e84513345d0794e563 |Author: Thomas Jarosch |Date: Mon Aug 24 19:27:22 2020 +0200 | | Fix building unit tests without FTDIPP | | Needed to run the baudrate unit tests. | | Probably another fallout from: | | **************************** | commit 0209a3633dc877a577af07d883eb5059e22f6a91 | | cmake: do not check for g++ when FTDIPP is disabled | **************************** | |--- CMakeLists.txt.orig 2020-07-07 19:32:55.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 150. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1/patches/patch-cdb28383402d248dbc6062f4391b038375c52385-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1/patches/patch-cdb28383402d248dbc6062f4391b038375c52385-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cdb28383402d248dbc6062f4391b038375c52385-CMakeLists.txt,v 1.1 2021/03/07 10:51:06 kleink Exp $ | |commit cdb28383402d248dbc6062f4391b038375c52385 |Author: Fabrice Fontaine |Date: Fri Jul 17 21:25:03 2020 +0200 | | CMakeLists.txt: fix paths when FTDIPP is set | | Use the same project name (i.e. libftdi1 and not libftdipp1) when FTDIPP | is enabled as suggested by Aurelien Jarno in | http://developer.intra2net.com/mailarchive/html/libftdi/2020/msg00044.html | | Without this change, the libftdi1.pc config file defines the include | path as /usr/local/include/libftdipp1 while the ftdi.h file is actually | installed in /usr/local/include/libftdi1 | | This is an issue for example for libsigrok which will fail on: | | In file included from src/hardware/asix-sigma/protocol.c:27: | src/hardware/asix-sigma/protocol.h:28:10: fatal error: ftdi.h: No such file or directory | 28 | #include | | ^~~~~~~~ | | Fixes: | - http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe | | Signed-off-by: Fabrice Fontaine | |--- CMakeLists.txt.orig 2020-07-07 19:32:55.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 136. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.3 2021/03/07 10:51:06 kleink Exp $ | |Don't append libusb to the CMake package: It picks up the one from |DESTDIR, and the dynamic linker does the right thing already. | |--- CMakeLists.txt.orig 2020-07-07 19:32:55.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 186 (offset 1 line). done ===> Creating toolchain wrappers for libftdi1-1.5nb8 ===> Configuring for libftdi1-1.5nb8 => Adding run-time search paths to pkg-config files. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/devel/libftdi1/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build type: RelWithDebInfo -- Found PkgConfig: /home/pbulk/build/devel/libftdi1/work/.tools/bin/pkg-config (found version "2.3.0") -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.27 -- Found LIBUSB: /home/pbulk/build/devel/libftdi1/work/.buildlink/lib/libusb-1.0.so -- Found Boost: /home/pbulk/build/devel/libftdi1/work/.buildlink/include (found version "1.85.0") fatal: not a git repository (or any of the parent directories): .git -- Detected git snapshot version: unknown -- The CXX compiler identification is GNU 8.5.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/pbulk/build/devel/libftdi1/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found SWIG: /usr/pkg/bin/swig3.0 (found version "3.0.12") -- Found PythonInterp: /usr/pkg/bin/python3.12 (found version "3.12.5") -- Found PythonLibs: /usr/pkg/lib/libpython3.12.so (found version "3.12.5") Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils' CMake Error at python/CMakeLists.txt:49 (get_filename_component): get_filename_component called with incorrect number of arguments -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1 *** Error code 1 Stop. bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/devel/libftdi1