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

	freetype lua ogg sqlite3 theora

The currently selected options are:

	freetype lua ogg sqlite3 theora

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 (not defined)

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

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * 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
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * 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 cmake>=0: found cmake-3.31.3
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> 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.10
=> Full dependency cJSON>=1.7.15: found cJSON-1.7.18
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> 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 libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libX11>=1.5: found libX11-1.8.10
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7
=> Full dependency minizip>=1.2.11: found minizip-1.3.1
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.1
=> Full dependency sqlite3>=3.47.0nb3: found sqlite3-3.47.2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency flac>=1.1.0nb1: found flac-1.4.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb6
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> 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.12
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> 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 libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.10
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency openssl>=1.1.1: found openssl-3.4.0
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency readline>=2.2: found readline-8.2nb2
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for etlegacy-2.83.1nb3
===> Extracting for etlegacy-2.83.1nb3
/usr/bin/mv /home/pbulk/build/games/etlegacy/work/etlegacy-libs-72d4180a2e314c2dff3dfa174d21f5a30c9085b2/*  /home/pbulk/build/games/etlegacy/work/etlegacy-2.83.1/libs
===> Patching for etlegacy-2.83.1nb3
=> Applying pkgsrc patches for etlegacy-2.83.1nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy/../../games/etlegacy/patches/patch-cmake_ETLInstall.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy/../../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 55 (offset 9 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy/../../games/etlegacy/patches/patch-cmake_FindLua.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy/../../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
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy/../../games/etlegacy/patches/patch-src_sdl_sdl__glimp.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/etlegacy/../../games/etlegacy/patches/patch-src_sdl_sdl__glimp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sdl_sdl__glimp.c,v 1.1 2024/11/17 09:48:21 nia Exp $
|
|Default fullscreen to off - a bit safer.
|
|--- src/sdl/sdl_glimp.c.orig	2024-08-10 11:04:40.918867331 +0000
|+++ src/sdl/sdl_glimp.c
--------------------------
Patching file src/sdl/sdl_glimp.c using Plan A...
Hunk #1 succeeded at 396 (offset 37 lines).
done
===> Creating toolchain wrappers for etlegacy-2.83.1nb3
===> Configuring for etlegacy-2.83.1nb3
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/etlegacy/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/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done

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

-- Libraries rescanned
-- 64 bits target architecture detected
-- x86 architecture detected
-- 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 -I/opt/pkg/include/minizip -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/opt/pkg/include/SDL2 -Wdeclaration-after-statement -Wunused-but-set-variable -fdiagnostics-color=always -ggdb -fvisibility=hidden
-- - C++           -DIOAPI_NO_64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/minizip -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libdrm -I/opt/pkg/include/SDL2 -fdiagnostics-color=always
-- - PIC           ON
-- 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.83.1.0
-- Not using source from git repo, using default version
-- Version: 2.83.1.0 and int version: 283010000
-- Using bundled libraries located at /home/pbulk/build/games/etlegacy/work/etlegacy-2.83.1/libs
-- Found X11: /opt/pkg/include
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/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 - found
-- Found GLEW: /opt/pkg/lib/libGLEW.so
-- Using legacy OpenGL instead of GLVND
-- Found OpenGL: /opt/pkg/lib/libGL.so  found components: OpenGL
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found SDL2: /opt/pkg/lib/libSDL2main.a;/opt/pkg/lib/libSDL2.so (found suitable version "2.30.10", minimum required is "2.0.8")
-- Could NOT find JPEGTURBO (missing: JPEG_INCLUDE_DIR) 
-- Found JPEG: /opt/pkg/lib/libjpeg.so (found suitable version "90", minimum required is "8")
-- Looking for jpeg_mem_src
-- Looking for jpeg_mem_src - found
-- Found Freetype: /opt/pkg/lib/libfreetype.so (found version "2.13.3")
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")
-- Found PNG: /opt/pkg/lib/libpng16.so (found version "1.6.44")
-- Found OpenAL: /opt/pkg/lib/libopenal.so (Required is at least version "1.14")
-- Found Vorbis: /opt/pkg/include
-- Found Theora: /opt/pkg/lib/libtheora.so
-- Found CURL: /opt/pkg/lib/libcurl.so (found version "8.11.1")
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "3.4.0")
-- Found SQLite3: /opt/pkg/lib/libsqlite3.so (found version "3.47.2")
-- Found Lua: /opt/pkg/lib/liblua5.4.so;/usr/lib/64/libm.so (found suitable version "5.4.7", minimum required is "5.4")
-- Found ZLIB: /opt/pkg/lib/libz.so (found suitable version "1.3.1", minimum required is "1.2.8")
-- Found MiniZip: /opt/pkg/lib/libminizip.so
-- Building renderers: opengl1
-- 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 (18.0s)
-- Generating done (0.3s)
-- Build files have been written to: /home/pbulk/build/games/etlegacy/work/etlegacy-2.83.1/cmake-pkgsrc-build