+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/freecell-solver-5.14.0nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/freecell-solver-5.14.0nb6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for freecell-solver-5.14.0.tar.xz
=> Checksum SHA512 OK for freecell-solver-5.14.0.tar.xz
===> Installing dependencies for freecell-solver-5.14.0nb6
==========================================================================
The following variables will affect the build process of this package,
freecell-solver-5.14.0nb6.  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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gperf-[0-9]*: found gperf-3.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.3nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency py311-random2-[0-9]*: found py311-random2-1.0.2
=> Full dependency py311-pysol_cards-[0-9]*: found py311-pysol_cards-0.14.3
=> Full dependency p5-Path-Tiny-[0-9]*: found p5-Path-Tiny-0.146
=> Full dependency p5-Template-Toolkit-[0-9]*: found p5-Template-Toolkit-3.101nb1
=> Full dependency python311>=3.11.0: found python311-3.11.9
===> Overriding tools for freecell-solver-5.14.0nb6
===> Extracting for freecell-solver-5.14.0nb6
===> Patching for freecell-solver-5.14.0nb6
=> Applying pkgsrc patches for freecell-solver-5.14.0nb6
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/freecell-solver/patches/patch-sys_tree.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/freecell-solver/patches/patch-sys_tree.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sys_tree.h,v 1.1 2022/05/13 22:52:56 jperkin Exp $
|
|Fix sys/cdefs.h abuse.
|
|--- sys/tree.h.orig	2019-08-08 13:14:20.000000000 +0000
|+++ sys/tree.h
--------------------------
Patching file sys/tree.h using Plan A...
Hunk #1 succeeded at 29.
done
===> Creating toolchain wrappers for freecell-solver-5.14.0nb6
===> Configuring for freecell-solver-5.14.0nb6
=> Fix man dir.
=> Replacing python interpreter in board_gen/fc_solve_find_index_s2ints.py board_gen/find-freecell-deal-index.py board_gen/gen-multiple-pysol-layouts board_gen/make_pysol_freecell_board.py board_gen/transpose-freecell-board.py.
=> Adding run-time search paths to pkg-config files.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/freecell-solver/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/games/freecell-solver/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Perl: /home/pbulk/build/games/freecell-solver/work/.tools/bin/perl (found version "5.38.2")
-- Looking for vasprintf
-- Looking for vasprintf - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test FLAG_EXISTS_1
-- Performing Test FLAG_EXISTS_1 - Success
-- Performing Test FLAG_EXISTS_2
-- Performing Test FLAG_EXISTS_2 - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128
-- Check size of __int128 - done
-- Looking for pow
-- Looking for pow - not found
-- Looking for strncasecmp
-- Looking for strncasecmp - not found
-- Looking for strndup
-- Looking for strndup - found
-- Check size of int
-- Check size of int - done
-- Check size of void*
-- Check size of void* - done
CMake Deprecation Warning at man/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring done (12.4s)
-- Generating done (0.1s)
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
    PYVERSSUFFIX
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /home/pbulk/build/games/freecell-solver/work/freecell-solver-5.14.0
=> Rewrite cmake Dependencies files