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

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * 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 nasm>=1.1: found nasm-2.16.01
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency p7zip>=9.04: found p7zip-16.02nb2
=> Tool dependency cmake>=3.18: found cmake-3.30.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Full dependency game-music-emu>=0.6.2: found game-music-emu-0.6.3
=> Full dependency SDL2_mixer>=2.0.0: found SDL2_mixer-2.0.4nb15
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.5
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency png>=1.6.0nb1: found png-1.6.43
===> Overriding tools for srb2-2.2.4nb9
===> Extracting for srb2-2.2.4nb9

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 58929031 bytes (57 MiB)

Extracting archive: /nfs/distfiles/srb2-2.2.4/srb2-assets.7z
--
Path = /nfs/distfiles/srb2-2.2.4/srb2-assets.7z
Type = 7z
Physical Size = 58929031
Headers Size = 352
Method = LZMA2:24
Solid = +
Blocks = 3

Everything is Ok

Files: 8
Size:       65002414
Compressed: 58929031

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Scanning the drive for archives:
1 file, 104289314 bytes (100 MiB)

Extracting archive: /nfs/distfiles/srb2-2.2.4/srb2-assets-opt.7z
--
Path = /nfs/distfiles/srb2-2.2.4/srb2-assets-opt.7z
Type = 7z
Physical Size = 104289314
Headers Size = 122
Method = Copy
Solid = -
Blocks = 1

Everything is Ok

Size:       104289192
Compressed: 104289314
===> Patching for srb2-2.2.4nb9
=> Applying pkgsrc patches for srb2-2.2.4nb9
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/srb2/patches/patch-src_sdl_i__system.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/srb2/patches/patch-src_sdl_i__system.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sdl_i__system.c,v 1.2 2020/02/26 17:55:51 nia Exp $
|
|Hunk 1: Support searching PREFIX for data files.
|
|Hunk 2: Support NetBSD's spelling of statfs.
|
|--- src/sdl/i_system.c.orig	2020-02-22 22:27:19.000000000 +0000
|+++ src/sdl/i_system.c
--------------------------
Patching file src/sdl/i_system.c using Plan A...
Hunk #1 succeeded at 139.
Hunk #2 succeeded at 2565.
done
===> Creating toolchain wrappers for srb2-2.2.4nb9
===> Configuring for srb2-2.2.4nb9
=> Setting PREFIX search paths.
/bin/mkdir -p /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/bin/mv /home/pbulk/build/games/srb2/work/*.dta /home/pbulk/build/games/srb2/work/*.pk3  /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/bin/mv /home/pbulk/build/games/srb2/work/2.2.3-patch/*.dta  /home/pbulk/build/games/srb2/work/2.2.3-patch/*.pk3  /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/assets/installer
/bin/mkdir -p /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/build
=> 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.


-- The C compiler identification is GNU 4.8.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/srb2/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Target is 64-bit
-- Found GME 
CMake Warning at cmake/Modules/LibFindMacros.cmake:263 (message):
  WARNING: MISSING PACKAGE

  We could not find development headers for OPENMPT.  Do you have the
  necessary dev package installed? This package is NOT REQUIRED and you may
  ignore this warning but by doing so you may miss some functionality of
  SRB2.

  Relevant CMake configuration variables:

    OPENMPT_INCLUDE_DIR=<not found>
    OPENMPT_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/Modules/FindOPENMPT.cmake:23 (libfind_process)
  src/CMakeLists.txt:359 (find_package)


CMake Warning at src/CMakeLists.txt:365 (message):
  You have specified that OpenMPT is available but it was not found.


-- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.3.1")
-- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.43")
-- Found SDL2_MIXER 
-- Found SDL2 
-- Configuring done (1.2s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/games/srb2/work/SRB2-SRB2_release_2.2.4/build
=> Rewrite cmake Dependencies files