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

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * PYTHON_VERSION_DEFAULT = 311
        * 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 = python311
        * 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.39
=> Tool dependency cmake>=0: found cmake-3.28.3
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> 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.84.*: found boost-headers-1.84.0
=> Full dependency perl>=5.0: found perl-5.38.2
=> Full dependency SDL2_mixer>=2.0.4nb14: found SDL2_mixer-2.0.4nb14
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.0
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.13
=> Full dependency boost-libs-1.84.*: found boost-libs-1.84.0
=> Full dependency boost-libs>=1.84.0: found boost-libs-1.84.0
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency pango>=1.50.14nb3: found pango-1.50.14nb3
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency SDL2_ttf>=2.22.0nb1: found SDL2_ttf-2.22.0nb1
=> Full dependency SDL2_image>=2.6.3nb2: found SDL2_image-2.6.3nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1
=> Full dependency python311>=3.11.0: found python311-3.11.8
=> Full dependency SDL2_net>=2.2.0nb3: found SDL2_net-2.2.0nb3
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency icu>=74.1: found icu-74.2
===> Overriding tools for wesnoth-1.16.11nb1
===> Extracting for wesnoth-1.16.11nb1
===> Patching for wesnoth-1.16.11nb1
=> Applying pkgsrc patches for wesnoth-1.16.11nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/wesnoth/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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.6 2022/07/27 08:40:58 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	2022-07-13 16:10:31.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 76.
Hunk #2 succeeded at 502.
Hunk #3 succeeded at 584.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/wesnoth/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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.4 2021/11/02 18:35:04 adam Exp $
|
|On macOS, do not build SDLMain.mm; only needed for app bundle.
|
|--- src/CMakeLists.txt.orig	2021-10-24 00:23:51.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 162 (offset 8 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/wesnoth/patches/patch-src_color__range.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/wesnoth/patches/patch-src_color__range.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_color__range.cpp,v 1.2 2023/08/23 08:01:06 adam Exp $
|
|Add missing include.
|
|--- src/color_range.cpp.orig	2020-04-14 20:36:13.908481410 +0000
|+++ src/color_range.cpp
--------------------------
Patching file src/color_range.cpp using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/wesnoth/patches/patch-src_wesnoth.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/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 974 (offset -38 lines).
done
===> Creating toolchain wrappers for wesnoth-1.16.11nb1
/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.16.11nb1
=> Replacing python interpreter in data/tools/GUI.pyw data/tools/*.py data/tools/wesnoth/*.py data/tools/wml* data/tools/about_cfg_to_wiki data/tools/addon_manager/html.py data/tools/extractbindings data/tools/imgcheck data/tools/journeylifter data/tools/rmtrans/rmtrans.py data/tools/steam-changelog data/tools/tmx_trackplacer data/tools/trackplacer data/tools/trackviewer.pyw data/tools/unit_tree/helpers.py data/tools/unit_tree/TeamColorizer 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.
WARNING: [replace-interpreter] Skipping non-existent file "data/tools/journeylifter".
WARNING: [replace-interpreter] Skipping non-existent file "data/tools/rmtrans/rmtrans.py".
WARNING: [replace-interpreter] Skipping non-existent file "data/tools/trackplacer".
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.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/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
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found suitable version "3.1.5", minimum required is "1.0")  
-- 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.84.0", minimum required is "1.66") found components: iostreams program_options regex system thread random coroutine locale filesystem chrono atomic context 
-- Found the following ICU libraries:
--   data (required): /opt/pkg/lib/libicudata.so
--   i18n (required): /opt/pkg/lib/libicui18n.so
--   uc (required): /opt/pkg/lib/libicuuc.so
-- Found ICU: /opt/pkg/include (found version "74.2") 
-- Found Gettext: /opt/pkg/bin/msgmerge (found version "0.22.4") 
-- 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
CMake Warning (dev) at CMakeLists.txt:87 (exec_program):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Use execute_process() instead.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 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 -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/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/ncurses -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/python3.11«
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 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.1.1") 
-- Checking for module 'sdl2>=2.0.8'
--   Found sdl2, version 2.30.0
-- 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.0
-- Checking for module 'pangocairo>=1.22.0'
--   Found pangocairo, version 1.50.14
-- Checking for module 'fontconfig>=2.4.1'
--   Found fontconfig, version 2.15.0
-- Checking for module 'pango>=1.22.0'
--   Found pango, version 1.50.14
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.14.10
-- Found History: /opt/pkg/lib/libhistory.so  
-- Configuring done (31.9s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_HISTORY
    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    Lua_FIND_VERSION_MAJOR
    Lua_FIND_VERSION_MINOR
    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/wesnoth/work/wesnoth-1.16.11/cmake-pkgsrc-build
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp