+ 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=312 WRKLOG=/tmp/bulklog/widelands-1.2.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/widelands-1.2.1/work.log
=> Checksum BLAKE2s OK for widelands/v1.2.1.tar.gz
=> Checksum SHA512 OK for widelands/v1.2.1.tar.gz
===> Installing dependencies for widelands-1.2.1
==========================================================================
The following variables will affect the build process of this package,
widelands-1.2.1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python312
        * 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.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> 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 asio>=1.24.0nb1: found asio-1.24.0nb1
=> Build dependency python312>=3.12.0: found python312-3.12.7nb3
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.9nb1
=> Full dependency SDL2_image>=2.0.0: found SDL2_image-2.6.3nb3
=> Full dependency SDL2_mixer>=2.0.0: found SDL2_mixer-2.0.4nb15
=> Full dependency SDL2_ttf>=2.22.0nb2: found SDL2_ttf-2.22.0nb2
=> Full dependency desktop-file-utils>=0.26nb3: found desktop-file-utils-0.27
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency icu>=76.1: found icu-76.1nb1
=> Full dependency minizip>=1.2.11: found minizip-1.3.1
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Build dependency openssl>=1.1.1: found openssl-3.3.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb4
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency glu>=6.0: found glu-9.0.3
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb6
=> Full dependency libX11>=1.5: found libX11-1.8.10
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXcursor>=1.1.1: found libXcursor-1.2.3
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=1.1: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXi>=1.0.0: found libXi-1.8.2
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.11
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.123
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libopus>=1.1: found libopus-1.5.2
=> Full dependency libsamplerate>=0.0.13nb1: found libsamplerate-0.2.2nb4
=> Full dependency libsndfile>=1.0.0: found libsndfile-1.2.2nb1
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.2nb1
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency pcre2>=10.21: found pcre2-10.44
===> Overriding tools for widelands-1.2.1
===> Extracting for widelands-1.2.1
===> Patching for widelands-1.2.1
=> Applying pkgsrc patches for widelands-1.2.1
=> 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.3 2024/11/18 07:58:49 wiz Exp $
|
|Include clocale unconditionally.
|
|Undefine any *gettext macros to avoid infinite recursion.
|
|https://github.com/widelands/widelands/issues/6488
|
|--- src/base/i18n.cc.orig	2024-10-30 12:47:18.000000000 +0000
|+++ src/base/i18n.cc
--------------------------
Patching file src/base/i18n.cc using Plan A...
Hunk #1 succeeded at 46.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_base_i18n.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/widelands/patches/patch-src_base_i18n.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_base_i18n.h,v 1.1 2024/11/18 07:58:49 wiz Exp $
|
|Define gettext_noop if missing.
|
|Fixed in upstream head with migration to tinygettext.
|
|--- src/base/i18n.h.orig	2024-03-28 10:12:05.000000000 +0000
|+++ src/base/i18n.h
--------------------------
Patching file src/base/i18n.h using Plan A...
Hunk #1 succeeded at 52.
Hunk #2 succeeded at 63.
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.2 2024/11/18 07:58:49 wiz Exp $
|
|Move manpage installation to silence pkglint warning.
|
|--- xdg/CMakeLists.txt.orig	2024-06-23 09:05:52.889747814 +0000
|+++ xdg/CMakeLists.txt
--------------------------
Patching file xdg/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 8.
done
===> Creating toolchain wrappers for widelands-1.2.1
===> Configuring for widelands-1.2.1
printf '#include <libintl.h>\n' > /home/pbulk/build/games/widelands/work/widelands/src/third_party/gettext/gettext.h
/usr/bin/mkdir -p /home/pbulk/build/games/widelands/work/widelands/build
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- 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
-- Using CMake version 3.31.1
-- Building with XDG support
-- Picking up default CXX flags:
    - CMAKE_CXX_FLAGS='-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/minizip -I/opt/pkg/include -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/python3.12'
    - CMAKE_CXX_FLAGS_RELEASE='-DNDEBUG'
    - CMAKE_CXX_FLAGS_DEBUG='-g'
-- Found Python3: /opt/pkg/bin/python3.12 (found version "3.12.7") found components: Interpreter
-- Found Gettext: /home/pbulk/build/games/widelands/work/.tools/bin/msgmerge (found version "0.22.5")
-- Found OpenGL: /opt/pkg/lib/libGL.so
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")
-- Found PNG: /opt/pkg/lib/libpng16.so (found suitable version "1.6.44", minimum required is "1.6")
-- Found SDL2: /opt/pkg/lib/libSDL2.so (found version "2.30.9")
-- Found SDL2main: /opt/pkg/lib/libSDL2main.a (found version "2.30.9")
-- Found SDL2_image: /opt/pkg/lib/libSDL2_image.so (found version "2.6.3")
-- Found SDL2_mixer: /opt/pkg/lib/libSDL2_mixer.so (found version "2.0.4")
-- Found SDL2_ttf: /opt/pkg/lib/libSDL2_ttf.so (found version "2.22.0")
-- Found ICU: /opt/pkg/include (found version "76.1") found components: uc dt
-- Found GLEW: /opt/pkg/include (found version "2.2.0")
-- Found Asio in '/opt/pkg/include'.
-- GCC >7.5.0 breaks -O3, setting -O2
-- Not using ThreadSanitizer.
-- Not using AddressSanitizer.
-- Adding linker flags for GLVND.
-- Compiler warnings will be ignored.
-- Adding crash self-diagnosis handler.
-- Version of Widelands Build is 1.2.1 Release
-- Byte order is little-endian
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
Doxygen not found, disabling 'make doc'
-- Found PkgConfig: /home/pbulk/build/games/widelands/work/.tools/bin/pkg-config (found version "2.3.0")
-- Checking for module 'minizip'
--   Found minizip, version 1.3.1
-- Link io_filesystem with /opt/pkg/lib/libminizip.so
-- Configuring done (11.8s)
-- Generating done (6.9s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    FETCHCONTENT_FULLY_DISCONNECTED
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /home/pbulk/build/games/widelands/work/widelands/cmake-pkgsrc-build