+ 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/widelands-21nb23/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/widelands-21nb23/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for widelands-build21-source.tar.gz
=> Checksum SHA512 OK for widelands-build21-source.tar.gz
===> Installing dependencies for widelands-21nb23
==========================================================================
The following variables will affect the build process of this package,
widelands-21nb23.  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 glib2-tools-[0-9]*: found glib2-tools-2.78.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Build dependency boost-headers-1.83.*: found boost-headers-1.83.0
=> Build dependency python311>=3.11.0: found python311-3.11.7
=> Full dependency SDL2_mixer>=2.0.4nb12: found SDL2_mixer-2.0.4nb13
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.5
=> Full dependency boost-libs-1.83.*: found boost-libs-1.83.0nb1
=> Full dependency boost-libs>=1.83.0: found boost-libs-1.83.0nb1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.3
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency SDL2_ttf>=2.20.2nb2: found SDL2_ttf-2.20.2nb2
=> Full dependency png>=1.6.0nb1: found png-1.6.40
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency SDL2_image>=2.0.5nb10: found SDL2_image-2.6.3nb1
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency desktop-file-utils>=0.26nb3: found desktop-file-utils-0.26nb4
=> Full dependency icu>=74.1: found icu-74.2
===> Overriding tools for widelands-21nb23
===> Extracting for widelands-21nb23
===> Patching for widelands-21nb23
=> Applying pkgsrc patches for widelands-21nb23
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/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.2 2019/09/03 20:27:02 adam Exp $
|
|Support NetBSD.
|
|Do not turn warnings into errors.
|
|--- CMakeLists.txt.orig	2019-05-02 05:23:39.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 151 (offset 38 lines).
Hunk #2 succeeded at 249 (offset 38 lines).
Hunk #3 succeeded at 312 (offset 38 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_CMakeLists.txt,v 1.2 2020/07/27 15:21:43 nia Exp $
|
|Support NetBSD.
|
|--- src/CMakeLists.txt.orig	2020-07-12 19:33:44.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 140.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_base_i18n.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_base_i18n.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_base_i18n.cc,v 1.2 2020/07/27 15:21:43 nia Exp $
|
|Include clocale unconditionally.
|
|--- src/base/i18n.cc.orig	2020-07-12 19:33:44.000000000 +0000
|+++ src/base/i18n.cc
--------------------------
Patching file src/base/i18n.cc using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_network_bufferedconnection.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_network_bufferedconnection.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_network_bufferedconnection.h,v 1.1 2020/07/27 15:21:43 nia Exp $
|
|Needs std::map.
|
|--- src/network/bufferedconnection.h.orig	2020-07-12 19:33:44.000000000 +0000
|+++ src/network/bufferedconnection.h
--------------------------
Patching file src/network/bufferedconnection.h using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-xdg_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-xdg_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-xdg_CMakeLists.txt,v 1.1 2020/07/27 15:21:43 nia Exp $
|
|pkgsrc has cmake >= 3.0.2
|
|--- xdg/CMakeLists.txt.orig	2020-07-12 19:33:44.000000000 +0000
|+++ xdg/CMakeLists.txt
--------------------------
Patching file xdg/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for widelands-21nb23
===> Configuring for widelands-21nb23
printf '#include <libintl.h>\n' > /home/pbulk/build/games/widelands/work/widelands-build21/src/third_party/gettext/gettext.h
/usr/bin/mkdir -p /home/pbulk/build/games/widelands/work/widelands-build21/build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/games/widelands/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:1 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/widelands/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/widelands/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:3 (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.


CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
  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.


-- Building with XDG support
-- Found Boost: /home/pbulk/build/games/widelands/work/.buildlink/include (found suitable version "1.83.0", minimum required is "1.48") found components: unit_test_framework regex system 
CMake Warning (dev) at CMakeLists.txt:106 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /opt/pkg/bin/python3.11 (found version "3.11.7") 
-- Found Gettext: /home/pbulk/build/games/widelands/work/.tools/bin/msgmerge (found version "0.22.3") 
-- Found OpenGL: /home/pbulk/build/games/widelands/work/.buildlink/lib/libGL.so   
-- Found ZLIB: /home/pbulk/build/games/widelands/work/.buildlink/lib/libz.so (found version "1.2.13")  
-- Found PNG: /home/pbulk/build/games/widelands/work/.buildlink/lib/libpng16.so (found version "1.6.40") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found SDL2 configuration file
-- Target SDL2::SDL2 found
-- Found SDL2_image: /home/pbulk/build/games/widelands/work/.buildlink/lib/libSDL2_image.so  
-- Found SDL2_mixer: /home/pbulk/build/games/widelands/work/.buildlink/lib/libSDL2_mixer.so (found version "2.0.4") 
-- Found SDL2_ttf: /home/pbulk/build/games/widelands/work/.buildlink/lib/libSDL2_ttf.so (found version "2.20.2") 
-- Found ICU: /home/pbulk/build/games/widelands/work/.buildlink/lib/libicuuc.so (found version "74.2.0") 
-- GCC >6.2.0 breaks -03, setting -02
-- Not using AddressSanitizer.
-- Adding linker flags for GLVND.
CMake Warning (dev) in CMakeLists.txt:
  A logical block opening on the line

    /home/pbulk/build/games/widelands/work/widelands-build21/CMakeLists.txt:315 (if)

  closes on the line

    /home/pbulk/build/games/widelands/work/widelands-build21/CMakeLists.txt:328 (endif)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Version of Widelands Build is build-21(Release)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
Doxygen not found, disabling 'make doc'
-- Configuring done (12.2s)
-- Generating done (3.9s)
CMake Warning:
  Manually-specified variables were not used by the project:

    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /home/pbulk/build/games/widelands/work/widelands-build21/build
=> Rewrite cmake Dependencies files