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

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * PYTHON_VERSION_DEFAULT = 312
        * READLINE_DEFAULT = readline
        * 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
        * LUA_PACKAGE = lua54
        * PYPACKAGE = python312
        * READLINE_TYPE = readline
        * 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 libxslt-[0-9]*: found libxslt-1.1.42nb3
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> 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
=> Full dependency perl>=5.0: found perl-5.40.0nb1
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.10
=> 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_net>=2.2.0nb4: found SDL2_net-2.2.0nb4
=> Full dependency SDL2_ttf>=2.22.0nb2: found SDL2_ttf-2.22.0nb2
=> Full dependency boost-libs-1.86.*: found boost-libs-1.86.0nb3
=> Full dependency boost-libs>=1.86.0: found boost-libs-1.86.0nb3
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.16
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency icu>=76.1: found icu-76.1nb1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency pango>=1.52.2nb1: found pango-1.54.0
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency python312>=3.12.0: found python312-3.12.8nb1
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Build dependency boost-headers-1.86.*: found boost-headers-1.86.0
=> 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 cairo>=1.0.0nb2: found cairo-1.18.2
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> 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.12
=> 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 libXft>=2.1.10: found libXft-2.3.8nb1
=> 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.12
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> 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 libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency pixman>=0.40.0: found pixman-0.44.2
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for wesnoth-1.18.3
===> Extracting for wesnoth-1.18.3
===> Patching for wesnoth-1.18.3
=> Applying pkgsrc patches for wesnoth-1.18.3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/wesnoth/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/wesnoth/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.7 2024/04/07 21:39:03 adam Exp $
|
|Do not look for X11 on macOS.
|We don't have readline as a module.
|Do not bother with uninstaller.
|
|--- CMakeLists.txt.orig	2024-03-18 00:11:38.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 100.
Hunk #2 succeeded at 544.
Hunk #3 succeeded at 626.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/wesnoth/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/wesnoth/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.5 2024/04/07 21:39:03 adam Exp $
|
|On macOS, do not build SDLMain.mm; only needed for app bundle.
|
|--- src/CMakeLists.txt.orig	2024-03-18 00:11:38.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 231 (offset -8 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/wesnoth/patches/patch-src_wesnoth.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/wesnoth/patches/patch-src_wesnoth.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wesnoth.cpp,v 1.1 2018/06/24 16:02:50 adam Exp $
|
|On macOS, use regular (); wesnoth_main() only needed for app bundle.
|
|--- src/wesnoth.cpp.orig	2018-06-24 12:26:22.000000000 +0000
|+++ src/wesnoth.cpp
--------------------------
Patching file src/wesnoth.cpp using Plan A...
Hunk #1 succeeded at 1025 (offset 13 lines).
done
===> Creating toolchain wrappers for wesnoth-1.18.3
/usr/bin/ln -s /home/pbulk/build/games/wesnoth/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/games/wesnoth/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for wesnoth-1.18.3
=> Replacing python interpreter in data/tools/GUI.pyw data/tools/TeamColorizer data/tools/*.py data/tools/wesnoth/*.py data/tools/wml* data/tools/about_cfg_to_wiki data/tools/addon_manager/html.py data/tools/check_mixed_indent data/tools/extractbindings data/tools/imgcheck data/tools/steam-changelog data/tools/tmx_trackplacer data/tools/trackviewer.pyw data/tools/unit_tree/helpers.py data/tools/unit_tree/overview.py data/tools/wesnoth/trackplacer3/datatypes.py data/tools/wesnoth_addon_manager utils/ai_test/*.py utils/*.py.
INFO: [replace-interpreter] Nothing changed in data/tools/wesnoth/__init__.py.
INFO: [replace-interpreter] Nothing changed in data/tools/wesnoth/base64url.py.
INFO: [replace-interpreter] Nothing changed in utils/simulate_lobby_traffic.py.
=> Replacing bash interpreter in data/tools/unit_tree/update-wmlunits.
INFO: [replace-interpreter] Nothing changed in data/tools/unit_tree/update-wmlunits.
=> 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/wesnoth/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/wesnoth/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Lua submodule found.
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found suitable version "3.3.2", minimum required is "1.0")
CMake Warning (dev) at CMakeLists.txt:96 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" 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.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Boost: /opt/pkg/include (found suitable version "1.86.0", minimum required is "1.67") found components: iostreams program_options regex system thread random coroutine locale filesystem graph chrono atomic context
-- Found ICU: /opt/pkg/include (found version "76.1") found components: data i18n uc
-- Found Gettext: /opt/pkg/bin/msgmerge (found version "0.22.5")
-- Found Python: /opt/pkg/bin/python3.12 (found version "3.12.8") found components: Interpreter
-- Found X11: /opt/pkg/include
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for include file sys/sendfile.h
-- Looking for include file sys/sendfile.h - found
-- Looking for sendfile
-- Looking for sendfile - not found
No build type specified, defaulting to Release
-- Environment compiler flags set to »«
-- CMake compiler flags set to »-Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -Wtrampolines -Wno-dangling-reference -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -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/freetype2 -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/harfbuzz -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/python3.12«
Removing -DNDEBUG flag from CMAKE_CXX_FLAGS_RELWITHDEBINFO
Removing -DNDEBUG flag from CMAKE_C_FLAGS_RELWITHDEBINFO
Removing -DNDEBUG flag from CMAKE_CXX_FLAGS_MINSIZEREL
Removing -DNDEBUG flag from CMAKE_C_FLAGS_MINSIZEREL
Replacing default flags used for Release build with   
Replacing flags used for Debug build  -DDEBUG -ggdb3  
-- Found CURL: /opt/pkg/lib/libcurl.so (found version "8.11.1")
-- Found VorbisFile: optimized;/opt/pkg/lib/libvorbisfile.so;debug;/opt/pkg/lib/libvorbisfile.so
-- Found PkgConfig: /home/pbulk/build/games/wesnoth/work/.tools/bin/pkg-config (found version "2.3.0")
-- Found Fontconfig: /opt/pkg/lib/libfontconfig.so (found version "2.15.0")
-- Found SDL2: /home/pbulk/build/games/wesnoth/work/.buildlink/lib/cmake/SDL2/sdl2-config.cmake (found suitable version "2.30.10", minimum required is "2.0.10")
-- Checking for module 'SDL2_image>=2.0.2'
--   Found SDL2_image, version 2.6.3
-- Checking for module 'SDL2_mixer>=2.0.0'
--   Found SDL2_mixer, version 2.0.4
-- Checking for module 'cairo>=1.10'
--   Found cairo, version 1.18.2
-- Checking for module 'pangocairo>=1.44.0'
--   Found pangocairo, version 1.54.0
-- Checking for module 'pango>=1.44.0'
--   Found pango, version 1.54.0
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.14.10
-- Found History: /opt/pkg/lib/libhistory.so
-- Configuring done (41.3s)
-- Generating done (1.7s)
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_HISTORY
    FETCHCONTENT_FULLY_DISCONNECTED
    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_INCLUDE_DIR


-- Build files have been written to: /home/pbulk/build/games/wesnoth/work/wesnoth-1.18.3/cmake-pkgsrc-build
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp