+ 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=311 WRKLOG=/tmp/bulklog/nextpnr-ice40-0.7nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/nextpnr-ice40-0.7nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for nextpnr-0.7.tar.gz
=> Checksum SHA512 OK for nextpnr-0.7.tar.gz
===> Installing dependencies for nextpnr-ice40-0.7nb2
==========================================================================
The following variables will affect the build process of this package,
nextpnr-ice40-0.7nb2.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311

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

        * PYPACKAGE = python311

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.6
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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
=> Build dependency eigen3>=3.1.2: found eigen3-3.4.0nb1
=> Build dependency gcc6>=6.5.0nb9: found gcc6-6.5.0nb9
=> Full dependency icestorm>=0.0.20240227: found icestorm-0.0.20240227nb1
=> 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 python311>=3.11.0: found python311-3.11.9nb1
===> Overriding tools for nextpnr-ice40-0.7nb2
===> Extracting for nextpnr-ice40-0.7nb2
===> Patching for nextpnr-ice40-0.7nb2
=> Applying pkgsrc patches for nextpnr-ice40-0.7nb2
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/nextpnr-ice40/../../devel/nextpnr/patches/patch-bba_main.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/nextpnr-ice40/../../devel/nextpnr/patches/patch-bba_main.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bba_main.cc,v 1.1 2024/04/21 16:28:25 adam Exp $
|
|Fix build with newer boost.
|
|--- bba/main.cc.orig	2024-04-21 16:11:14.140919358 +0000
|+++ bba/main.cc
--------------------------
Patching file bba/main.cc using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/nextpnr-ice40/../../devel/nextpnr/patches/patch-common_kernel_command.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/nextpnr-ice40/../../devel/nextpnr/patches/patch-common_kernel_command.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common_kernel_command.cc,v 1.3 2024/04/21 16:28:25 adam Exp $
|
|Fix build with newer boost.
|On NetBSD, also use KERN_PROC_PATHNAME to get the path to the executable.
|
|--- common/kernel/command.cc.orig	2024-01-23 13:00:29.000000000 +0000
|+++ common/kernel/command.cc
--------------------------
Patching file common/kernel/command.cc using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 61.
Hunk #3 succeeded at 90.
done
===> Creating toolchain wrappers for nextpnr-ice40-0.7nb2
===> Configuring for nextpnr-ice40-0.7nb2
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The CXX compiler identification is GNU 6.5.0
-- The C compiler identification is GNU 6.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/devel/nextpnr-ice40/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/devel/nextpnr-ice40/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Building with IPO
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAS_Wno-unused-parameter
-- Performing Test HAS_Wno-unused-parameter - Success
-- Performing Test HAS_Wno-missing-field-initializers
-- Performing Test HAS_Wno-missing-field-initializers - Success
-- Performing Test HAS_Wno-array-bounds
-- Performing Test HAS_Wno-array-bounds - Success
-- Performing Test HAS_Wno-format-truncation
-- Performing Test HAS_Wno-format-truncation - Failed
-- Found Python3: /usr/pkg/bin/python3.11 (found suitable version "3.11.9", minimum required is "3.5") found components: Interpreter
-- Found Python3: /home/pbulk/build/devel/nextpnr-ice40/work/.buildlink/include/python3.11 (found suitable version "3.11.9", minimum required is "3.5") found components: Development Development.Module Development.Embed
-- Found Boost: /usr/pkg/include (found version "1.85.0") found components: filesystem program_options iostreams system thread regex chrono atomic
-- Found Boost: /usr/pkg/include (found version "1.85.0") found components: program_options filesystem system
-- Configuring architecture: ice40
-- Enabled iCE40 devices: 384;1k;5k;u4k;8k
-- Found Python3: /usr/pkg/bin/python3.11 (found suitable version "3.11.9", minimum required is "3.5") found components: Interpreter
-- IceStorm install prefix: /usr/pkg
-- icebox data directory: /usr/pkg/share/icebox
-- Using iCE40 chipdb: /home/pbulk/build/devel/nextpnr-ice40/work/nextpnr-nextpnr-0.7/ice40/chipdb
-- Configuring done (5.7s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /home/pbulk/build/devel/nextpnr-ice40/work/nextpnr-nextpnr-0.7
=> Rewrite cmake Dependencies files