+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lugaru-1.2nb10/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lugaru-1.2nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for lugaru-1.2.tar.xz
=> Checksum SHA512 OK for lugaru-1.2.tar.xz
===> Installing dependencies for lugaru-1.2nb10
==========================================================================
The following variables will affect the build process of this package,
lugaru-1.2nb10.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * 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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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 MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.9nb1
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.1
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency alsa-lib>=1.0.18: found alsa-lib-1.2.12
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> 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.11
=> 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 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.11
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.123
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> 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 libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxkbcommon>=0.4.0: found libxkbcommon-1.7.0nb5
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.2nb1
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.9
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency wayland>=1.21.0: found wayland-1.23.0nb3
=> Full dependency wayland-protocols>=1.17: found wayland-protocols-1.37
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for lugaru-1.2nb10
===> Extracting for lugaru-1.2nb10
===> Patching for lugaru-1.2nb10
=> Applying pkgsrc patches for lugaru-1.2nb10
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/lugaru/patches/patch-Source_main.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/lugaru/patches/patch-Source_main.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_main.cpp,v 1.1 2019/06/13 13:04:02 nia Exp $
|
|Include missing header.
|
|--- Source/main.cpp.orig	2018-09-22 22:22:00.214890688 -0700
|+++ Source/main.cpp	2018-09-22 22:22:22.406164183 -0700
--------------------------
Patching file Source/main.cpp using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/lugaru/patches/patch-Source_Utils_ImageIO.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/lugaru/patches/patch-Source_Utils_ImageIO.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Source_Utils_ImageIO.cpp,v 1.1 2019/06/13 13:04:02 nia Exp $
|
|Include missing header.
|
|--- Source/Utils/ImageIO.cpp.orig	2018-09-22 22:25:29.948457285 -0700
|+++ Source/Utils/ImageIO.cpp	2018-09-22 22:25:37.654043234 -0700
--------------------------
Patching file Source/Utils/ImageIO.cpp using Plan A...
Hunk #1 succeeded at 26.
done
===> Creating toolchain wrappers for lugaru-1.2nb10
===> Configuring for lugaru-1.2nb10
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake:57 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/games/lugaru/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/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):
  /usr/pkg/share/cmake-3.31/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:1 (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/lugaru/work/.cwrapper/bin/cc - 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/lugaru/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
  The OLD behavior for policy CMP0004 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found PkgConfig: /home/pbulk/build/games/lugaru/work/.tools/bin/pkg-config (found version "2.3.0")
-- Version string: 1.2
-- CMake build type: Release
-- Found OpenGL: /home/pbulk/build/games/lugaru/work/.buildlink/lib/libGL.so
-- Found OpenAL: /home/pbulk/build/games/lugaru/work/.buildlink/lib/libopenal.so
-- Checking for module 'sdl2'
--   Found sdl2, version 2.30.9
-- Found ZLIB: /home/pbulk/build/games/lugaru/work/.buildlink/lib/libz.so (found version "1.3.1")
-- Found PNG: /home/pbulk/build/games/lugaru/work/.buildlink/lib/libpng16.so (found version "1.6.44")
-- Found JPEG: /home/pbulk/build/games/lugaru/work/.buildlink/lib/libjpeg.so (found version "90")
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /home/pbulk/build/games/lugaru/work/.buildlink/lib/libogg.so;/home/pbulk/build/games/lugaru/work/.buildlink/lib/libvorbis.so;/home/pbulk/build/games/lugaru/work/.buildlink/lib/libvorbisfile.so;/home/pbulk/build/games/lugaru/work/.buildlink/lib/libvorbisenc.so
-- Configuring done (1.7s)
-- Generating done (0.0s)
-- Build files have been written to: /home/pbulk/build/games/lugaru/work/lugaru-1.2
=> Rewrite cmake Dependencies files