+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/valyriatear-1.1.0nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/valyriatear-1.1.0nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ValyriaTear-src-with-deps-1.1.0.tar.gz
=> Checksum SHA512 OK for ValyriaTear-src-with-deps-1.1.0.tar.gz
===> Installing dependencies for valyriatear-1.1.0nb10
==========================================================================
The following variables will affect the build process of this package,
valyriatear-1.1.0nb10.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = readline

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

        * CURSES_TYPE = ncurses
        * 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 dos2unix-[0-9]*: found dos2unix-7.5.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> 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 libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.23.1nb3
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.0
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency SDL2_ttf>=2.22.0nb1: found SDL2_ttf-2.22.0nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency SDL2_image>=2.6.3nb2: found SDL2_image-2.6.3nb2
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency lua51>=5.1.1<5.2: found lua51-5.1.5nb3
===> Overriding tools for valyriatear-1.1.0nb10
===> Extracting for valyriatear-1.1.0nb10
dos2unix /home/pbulk/build/games/valyriatear/work/ValyriaTear/src/utils/src/utils/ustring.cpp
dos2unix: converting file /home/pbulk/build/games/valyriatear/work/ValyriaTear/src/utils/src/utils/ustring.cpp to Unix format...
===> Patching for valyriatear-1.1.0nb10
=> Applying pkgsrc patches for valyriatear-1.1.0nb10
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/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.1 2021/04/04 11:10:37 nia Exp $
|
|Use exact-lua-version-finding cmake script.
|
|--- src/CMakeLists.txt.orig	2019-09-13 15:35:59.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_common_app__settings.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_common_app__settings.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_common_app__settings.cpp,v 1.1 2021/04/04 11:10:37 nia Exp $
|
|all non-apple unixes should keep settings in ~/.valyriatear.
|
|--- src/common/app_settings.cpp.orig	2019-07-29 10:49:37.000000000 +0000
|+++ src/common/app_settings.cpp
--------------------------
Patching file src/common/app_settings.cpp using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 104.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_common_global_shop_shop__data.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_common_global_shop_shop__data.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_common_global_shop_shop__data.h,v 1.1 2021/04/25 09:10:43 nia Exp $
|
|Add missing header, fixes building with gcc10.
|
|--- src/common/global/shop/shop_data.h.orig	2019-07-29 10:49:37.000000000 +0000
|+++ src/common/global/shop/shop_data.h
--------------------------
Patching file src/common/global/shop/shop_data.h using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_main.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_main.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_main.cpp,v 1.1 2021/04/04 11:10:37 nia Exp $
|
|instead of listing a million free unixes just do !apple !win32.
|
|--- src/main.cpp.orig	2019-07-29 10:49:37.000000000 +0000
|+++ src/main.cpp
--------------------------
Patching file src/main.cpp using Plan A...
Hunk #1 succeeded at 505.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_utils_src_utils_ustring.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/valyriatear/patches/patch-src_utils_src_utils_ustring.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils_src_utils_ustring.cpp,v 1.2 2023/07/22 09:12:58 nia Exp $
|
|Support non-POSIX iconv on NetBSD.
|
|--- src/utils/src/utils/ustring.cpp.orig	2023-07-22 09:11:40.115042146 +0000
|+++ src/utils/src/utils/ustring.cpp
--------------------------
Patching file src/utils/src/utils/ustring.cpp using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 177.
done
===> Creating toolchain wrappers for valyriatear-1.1.0nb10
===> Configuring for valyriatear-1.1.0nb10
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_POLICY):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.28/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/games/valyriatear/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.28/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:4 (PROJECT)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/valyriatear/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/valyriatear/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SDL2_INCLUDE_DIR is /home/pbulk/build/games/valyriatear/work/.buildlink/include/SDL2
-- SDL2MAIN_LIBRARY is /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libSDL2main.a
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found SDL2_ttf: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libSDL2_ttf.so (found version "2.22.0") 
-- Found SDL2_image: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libSDL2_image.so  
-- Found OpenGL: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libGL.so   
-- Found GLEW: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libGLEW.a  
-- Found OpenAL: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libopenal.so  
CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (VORBISFILE)
  does not match the name of the calling package (VorbisFile).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  CMake/Modules/FindVorbisFile.cmake:91 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:9 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found VORBISFILE: optimized;/home/pbulk/build/games/valyriatear/work/.buildlink/lib/libvorbisfile.so;debug;/home/pbulk/build/games/valyriatear/work/.buildlink/lib/libvorbisfile.so  
-- Found Lua51: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/liblua5.1.so;/lib/64/libm.so (found version "5.1.5") 
-- Found ZLIB: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libz.so (found version "1.3.1")  
-- Found PNG: /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libpng16.so (found version "1.6.42") 
-- Found Gettext: /opt/pkg/bin/msgmerge (found version "0.22.4") 
-- Found Boost: /home/pbulk/build/games/valyriatear/work/.buildlink/include (found suitable version "1.84.0", minimum required is "1.46.1")  
-- Build type: Release
-- l10n support enabled
-- Found X11: /home/pbulk/build/games/valyriatear/work/.buildlink/include   
-- Looking for XOpenDisplay in /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libX11.so;/home/pbulk/build/games/valyriatear/work/.buildlink/lib/libXext.so
-- Looking for XOpenDisplay in /home/pbulk/build/games/valyriatear/work/.buildlink/lib/libX11.so;/home/pbulk/build/games/valyriatear/work/.buildlink/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 - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - not found
-- Using included luabind files
-- Using included utils files
-- Configured luabind information file...
-- Configuring done (19.2s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    Lua_FIND_VERSION_MAJOR
    Lua_FIND_VERSION_MINOR


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