+ 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/etlegacy-server-2.81.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/etlegacy-server-2.81.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for etlegacy-2.81.0/etlegacy-libs.tar.gz
=> Checksum SHA512 OK for etlegacy-2.81.0/etlegacy-libs.tar.gz
=> Checksum BLAKE2s OK for etlegacy-2.81.0/etlegacy.tar.gz
=> Checksum SHA512 OK for etlegacy-2.81.0/etlegacy.tar.gz
===> Installing dependencies for etlegacy-server-2.81.0nb1
==========================================================================
The supported build options for etlegacy-server are:

	lua sqlite3

The currently selected options are:

	lua sqlite3

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.etlegacy-server (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
etlegacy-server-2.81.0nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency minizip>=1.2.11: found minizip-1.2.13
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency cJSON>=1.7.15: found cJSON-1.7.15
=> Full dependency curl>=8.0.1nb1: found curl-8.1.1
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6
=> Full dependency sqlite3>=3.41.2nb1: found sqlite3-3.42.0
===> Overriding tools for etlegacy-server-2.81.0nb1
===> Extracting for etlegacy-server-2.81.0nb1
/usr/bin/mv /home/pbulk/build/games/etlegacy-server/work/etlegacy-libs-f04f846898a92d36fd9cfe7425b1ab4d31bca794/*  /home/pbulk/build/games/etlegacy-server/work/etlegacy-2.81.0/libs
===> Patching for etlegacy-server-2.81.0nb1
=> Applying pkgsrc patches for etlegacy-server-2.81.0nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy-server/../../games/etlegacy/patches/patch-cmake_ETLInstall.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy-server/../../games/etlegacy/patches/patch-cmake_ETLInstall.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_ETLInstall.cmake,v 1.3 2022/04/17 09:24:14 nia Exp $
|
|Install man pages to PKGMANDIR.
|
|--- cmake/ETLInstall.cmake.orig	2022-04-09 17:17:04.000000000 +0000
|+++ cmake/ETLInstall.cmake
--------------------------
Patching file cmake/ETLInstall.cmake using Plan A...
Hunk #1 succeeded at 67 (offset 21 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy-server/../../games/etlegacy/patches/patch-cmake_FindLua.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy-server/../../games/etlegacy/patches/patch-cmake_FindLua.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_FindLua.cmake,v 1.1 2020/07/01 10:06:42 nia Exp $
|
|Avoid finding unversioned Lua in NetBSD.
|
|--- cmake/FindLua.cmake.orig	2019-01-05 19:54:35.000000000 +0000
|+++ cmake/FindLua.cmake
--------------------------
Patching file cmake/FindLua.cmake using Plan A...
Hunk #1 succeeded at 31.
done
===> Creating toolchain wrappers for etlegacy-server-2.81.0nb1
===> Configuring for etlegacy-server-2.81.0nb1
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/etlegacy-server/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/etlegacy-server/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done

  ███████╗████████╗   ██╗     ███████╗ ██████╗  █████╗  ██████╗██╗   ██╗
  ██╔════╝╚══██╔══╝██╗██║     ██╔════╝██╔════╝ ██╔══██╗██╔════╝╚██╗ ██╔╝
  █████╗     ██║   ╚═╝██║     █████╗  ██║  ███╗███████║██║      ╚████╔╝
  ██╔══╝     ██║   ██╗██║     ██╔══╝  ██║   ██║██╔══██║██║       ╚██╔╝
  ███████╗   ██║   ╚═╝███████╗███████╗╚██████╔╝██║  ██║╚██████╗   ██║
  ╚══════╝   ╚═╝      ╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝ ╚═════╝   ╚═╝

-- Performing Test SUPPORT_VISIBILITY
-- Performing Test SUPPORT_VISIBILITY - Success
-- System: SunOS-5.11 (i386)
-- Lib arch: 
-- Build type:      Release
-- Install path:    /opt/pkg
-- Compiler flags:
-- - C             -DIOAPI_NO_64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -fdiagnostics-color=always -fvisibility=hidden
-- - C++           -DIOAPI_NO_64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -fdiagnostics-color=always
-- Linker flags:
-- - Executable    -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl
-- - Module        -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl
-- - Shared        -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl
-- File version: 2.81.0.0
-- Version: 2.81.0.0 and int version: 281000000
-- Using bundled libraries located at /home/pbulk/build/games/etlegacy-server/work/etlegacy-2.81.0/libs
-- Libraries rescanned
-- Found CURL: /opt/pkg/lib/libcurl.so (found version "8.1.1")  
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "1.1.1t")  
-- Found SQLite3: /opt/pkg/lib/libsqlite3.so (found version "3.42.0") 
-- Found Lua: /opt/pkg/lib/liblua5.4.so;/usr/lib/64/libm.so (found suitable version "5.4.6", minimum required is "5.4") 
-- Found ZLIB: /opt/pkg/lib/libz.so (found suitable version "1.2.13", minimum required is "1.2.8")  
-- Found MiniZip: /opt/pkg/lib/libminizip.so
-- Looking for pow in m
-- Looking for pow in m - found
-- ***********************************************************
-- Genuine W:ET files are not copied - ET: Legacy won't start!
-- In order to start the game, copy the pak0-2.pk3 asset files
-- to share/etlegacy/etmain
-- ***********************************************************
-- Configuring done (2.2s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR


-- Build files have been written to: /home/pbulk/build/games/etlegacy-server/work/etlegacy-2.81.0
=> Rewrite cmake Dependencies files