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

        * PYTHON_VERSION_DEFAULT = 39

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

        * PYPACKAGE = python27

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>=2.8.1nb1: found cmake-3.23.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.22.0
=> Full dependency SDL2_mixer>=2.0.4nb8: found SDL2_mixer-2.0.4nb8
=> Full dependency SDL2>=2.0.20nb1: found SDL2-2.0.22
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb8
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb1
===> Overriding tools for gemrb-0.9.0nb3
===> Extracting for gemrb-0.9.0nb3
===> Patching for gemrb-0.9.0nb3
=> Applying pkgsrc patches for gemrb-0.9.0nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gemrb/patches/patch-gemrb_core_System_String.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gemrb/patches/patch-gemrb_core_System_String.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gemrb_core_System_String.cpp,v 1.4 2021/07/22 21:19:43 yhardy Exp $
|
|Deal with old NetBSD/SunOS style iconv.
|
|--- gemrb/core/System/String.cpp.orig	2021-06-18 12:08:06.000000000 +0000
|+++ gemrb/core/System/String.cpp
--------------------------
Patching file gemrb/core/System/String.cpp using Plan A...
Hunk #1 succeeded at 30.
Hunk #2 succeeded at 131.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gemrb/patches/patch-gemrb_plugins_TTFImporter_TTFFont.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gemrb/patches/patch-gemrb_plugins_TTFImporter_TTFFont.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gemrb_plugins_TTFImporter_TTFFont.cpp,v 1.1 2020/08/31 12:46:21 nia Exp $
|
|Deal with old NetBSD/SunOS style iconv.
|
|--- gemrb/plugins/TTFImporter/TTFFont.cpp.orig	2020-08-23 18:32:26.000000000 +0000
|+++ gemrb/plugins/TTFImporter/TTFFont.cpp
--------------------------
Patching file gemrb/plugins/TTFImporter/TTFFont.cpp using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 58.
done
===> Creating toolchain wrappers for gemrb-0.9.0nb3
===> Configuring for gemrb-0.9.0nb3
/usr/bin/mkdir -p /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/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 10.3.0
-- The CXX compiler identification is GNU 10.3.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.0
-- Git version bool: 0
-- Performing Test VISIBILITY_HIDDEN
-- Performing Test VISIBILITY_HIDDEN - Success
-- Performing Test STACK_PROTECTOR
-- Performing Test STACK_PROTECTOR - Success
-- Performing Test FALLTHROUGH
-- Performing Test FALLTHROUGH - Success
-- Found PythonLibs: /opt/pkg/lib/libpython2.7.so (found suitable version "2.7.18", minimum required is "2.3") 
-- Looking for Python libraries and headers: found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found SDL2: /opt/pkg/lib/libSDL2.so  
-- Found SDL2_mixer: /opt/pkg/lib/libSDL2_mixer.so (found version "2.0.4") 
-- Looking for SDL: found
-- Looking for libSDL: found
-- Looking for SDL_mixer: found
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.12") 
-- Looking for Zlib: found
-- Found OpenAL: /opt/pkg/lib/libopenal.so  
-- Looking for OpenAL: found
-- Found Freetype: /opt/pkg/lib/libfreetype.so (found version "2.12.1") 
-- Looking for Freetype: found
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_COMPILES
-- Performing Test ICONV_COMPILES - Failed
-- Could NOT find ICONV (missing: ICONV_COMPILES) 
CMake Warning at cmake/modules/FindICONV.cmake:106 (MESSAGE):
  Unable to determine iconv() signature
Call Stack (most recent call first):
  CMakeLists.txt:410 (INCLUDE)


CMake Warning at CMakeLists.txt:412 (MESSAGE):
  Iconv not found.  TTF plugin will not be able to translate non-unicode
  compatible TLK encodings.


-- Found PNG: /opt/pkg/lib/libpng16.so (found version "1.6.37") 
-- 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 int
-- Check size of int - done
-- Check size of long int
-- Check size of long int - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of ssize_t
-- Check size of ssize_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 include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.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
-- 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
-- Performing Test HAS_OBJALIGN4
-- Performing Test HAS_OBJALIGN4 - Success
-- Performing Test HAS_WSTRING
-- Performing Test HAS_WSTRING - Success
-- 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
--   OPENGL_BACKEND: None
-- 
-- Build type: RelWithDebInfo
-- Target bitness: 8*8
-- 
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:520 (ADD_LIBRARY):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /home/pbulk/build/games/gemrb/work/gemrb-0.9.0/gemrb/plugins/BAMImporter/BAMFontManager.cpp
Call Stack (most recent call first):
  gemrb/plugins/BAMImporter/CMakeLists.txt:1 (ADD_GEMRB_PLUGIN)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    Python2_EXECUTABLE
    Python2_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


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