+ 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/gemrb-0.9.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/gemrb-0.9.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gemrb-0.9.2.tar.gz
=> Checksum SHA512 OK for gemrb-0.9.2.tar.gz
===> Installing dependencies for gemrb-0.9.2
==========================================================================
The following variables will affect the build process of this package,
gemrb-0.9.2.  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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.27.6
=> 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.0
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.23.1nb2
=> Full dependency SDL2_mixer>=2.0.4nb12: found SDL2_mixer-2.0.4nb12
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.4
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.2
=> 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 python311>=3.11.0: found python311-3.11.6
===> Overriding tools for gemrb-0.9.2
===> Extracting for gemrb-0.9.2
===> Patching for gemrb-0.9.2
===> Creating toolchain wrappers for gemrb-0.9.2
===> Configuring for gemrb-0.9.2
/usr/bin/mkdir -p /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build
=> Replacing python interpreter in admin/extend2da.py.
=> Fixing CMAKE_MODULE_PATH 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/gemrb/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/gemrb/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected version: 0.9.2
-- Git version bool: 0
-- Performing Test VISIBILITY_HIDDEN
-- Performing Test VISIBILITY_HIDDEN - Success
-- Performing Test FALLTHROUGH
-- Performing Test FALLTHROUGH - Success
CMake Warning (dev) at CMakeLists.txt:275 (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 PythonLibs: /opt/pkg/lib/libpython3.11.so (found suitable version "3.11.6", minimum required is "3") 
-- Looking for Python libraries and headers: found
-- Found SDL2_mixer: /opt/pkg/lib/libSDL2_mixer.so (found version "2.0.4") 
-- Looking for SDL_mixer: found
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.13")  
-- Looking for Zlib: found
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: built in to C library  
-- Looking for iconv: found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found OpenAL: /opt/pkg/lib/libopenal.so  
-- Looking for OpenAL: found
-- Found Freetype: /opt/pkg/lib/libfreetype.so (found version "2.13.2") 
-- Looking for Freetype: found
-- Found PNG: /opt/pkg/lib/libpng16.so (found version "1.6.40") 
-- Looking for libPNG: found
-- Looking for Ogg Vorbis support: found
-- 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 uint64_t
-- Check size of uint64_t - done
-- Looking for strndup
-- Looking for strndup - found
-- Looking for strlcpy
-- Looking for strlcpy - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for ldexpf
-- Looking for ldexpf - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for memalign
-- Looking for memalign - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Performing Test PERMITS_OBJECT_TO_FUNCTION_CAST
-- Performing Test PERMITS_OBJECT_TO_FUNCTION_CAST - Failed
-- 
-- These are the configured paths:
--   PREFIX: /opt/pkg
--   LIB_DIR: /opt/pkg/lib/gemrb
--   PLUGIN_DIR: /opt/pkg/lib/gemrb/plugins
--   BIN_DIR: /opt/pkg/bin
--   DATA_DIR: /opt/pkg/share/gemrb
--   MAN_DIR: /opt/pkg/share/man/man6
--   SYSCONF_DIR: /opt/pkg/etc/gemrb
--   DOC_DIR: /opt/pkg/share/doc/gemrb
--   ICON_DIR: /opt/pkg/share/pixmaps
--   SVG_DIR: /opt/pkg/share/icons/hicolor/scalable/apps
--   MENU_DIR: /opt/pkg/share/applications
-- 
-- Options:
--   LAYOUT: fhs
--   NOCOLOR: disabled
--   STATIC_LINK: disabled
--   INSOURCEBUILD: disabled
--   DISABLE_WERROR: ON
--   WIN32_USE_STDIO: disabled
--   SDL_BACKEND: SDL2
--   USE_SDL_CONTROLLER_API: ON
--   PYTHON_VERSION: 3
--   OPENGL_BACKEND: None
--   SANITIZE: None
-- 
-- Build type: RelWithDebInfo
-- Target bitness: 8*8
-- 
-- Configuring done (20.2s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


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