+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/eternal-lands-1.9.5.8nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/eternal-lands-1.9.5.8nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for eternal-lands-1.9.5.8/EL_music_full.zip
=> Checksum SHA512 OK for eternal-lands-1.9.5.8/EL_music_full.zip
=> Checksum BLAKE2s OK for eternal-lands-1.9.5.8/Eternal-Lands-1.9.5.8.tar.gz
=> Checksum SHA512 OK for eternal-lands-1.9.5.8/Eternal-Lands-1.9.5.8.tar.gz
=> Checksum BLAKE2s OK for eternal-lands-1.9.5.8/el_195_p7_data_files.zip
=> Checksum SHA512 OK for eternal-lands-1.9.5.8/el_195_p7_data_files.zip
=> Checksum BLAKE2s OK for eternal-lands-1.9.5.8/eternallands-sound_1.9.5.zip
=> Checksum SHA512 OK for eternal-lands-1.9.5.8/eternallands-sound_1.9.5.zip
===> Installing dependencies for eternal-lands-1.9.5.8nb3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.22.1nb1
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc10>=10.4.0: found gcc10-10.4.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2021.5nb1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14.1nb3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gcc10-libs>=10.4.0: found gcc10-libs-10.4.0
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.21.1nb3
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency SDL2>=2.0.16nb1: found SDL2-2.0.18
=> Full dependency libX11>=1.5: found libX11-1.7.3.1
=> Full dependency SDL2_ttf>=2.0.15nb3: found SDL2_ttf-2.0.15nb4
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency cal3d>=0.9.1nb3: found cal3d-0.11.0
=> Full dependency glu>=7.11.2: found glu-9.0.2
=> Full dependency SDL2_image>=2.0.5nb3: found SDL2_image-2.0.5nb4
=> Full dependency SDL2_net>=2.0.1nb3: found SDL2_net-2.0.1nb4
=> Full dependency libxml2>=2.9.12nb1: found libxml2-2.9.12nb2
===> Overriding tools for eternal-lands-1.9.5.8nb3
===> Extracting for eternal-lands-1.9.5.8nb3
===> Patching for eternal-lands-1.9.5.8nb3
=> Applying pkgsrc patches for eternal-lands-1.9.5.8nb3
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.1 2021/04/04 09:09:30 nia Exp $
|
|We don't really care about the executable name, but we do need
|-DBSD to be defined as Makefile.bsd does.
|
|--- CMakeLists.txt.orig	2020-04-29 19:47:42.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 221.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands/patches/patch-image.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands/patches/patch-image.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-image.h,v 1.1 2021/04/04 09:09:30 nia Exp $
|
|Avoid conflicting with NetBSD libc.
|
|--- image.h.orig	2020-04-29 19:47:42.000000000 +0000
|+++ image.h
--------------------------
Patching file image.h using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 29.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands/patches/patch-platform.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands/patches/patch-platform.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-platform.h,v 1.1 2021/04/04 09:09:30 nia Exp $
|
|For unknown reasons, the BSD section causes confusing compiler errors.
|We use the same GL lib as Linux anyway, so just reuse that section.
|
|--- platform.h.orig	2020-04-29 19:47:42.000000000 +0000
|+++ platform.h
--------------------------
Patching file platform.h using Plan A...
Hunk #1 succeeded at 85.
done
===> Creating toolchain wrappers for eternal-lands-1.9.5.8nb3
===> Configuring for eternal-lands-1.9.5.8nb3
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 10.4.0
-- The CXX compiler identification is GNU 10.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/games/eternal-lands/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/eternal-lands/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/pbulk/build/games/eternal-lands/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'sdl2'
--   Found sdl2, version 2.0.18
-- Found LibXml2: /opt/local/lib/libxml2.so (found version "2.9.12") 
-- Found SDL2_IMAGE: /opt/local/lib/libSDL2_image.so  
-- Found SDL2_NET: /opt/local/lib/libSDL2_net.so  
-- Found OpenGL: /opt/local/lib/libGL.so   
-- Found OpenAL: /opt/local/lib/libopenal.so  
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.2.11") 
-- Found PNG: /opt/local/lib/libpng16.so (found version "1.6.37") 
-- Found X11: /opt/local/include   
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/lib/libXext.so
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/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
-- Found VORBIS: optimized;/opt/local/lib/libvorbis.so;debug;/opt/local/lib/libvorbis.so  
-- Found VORBISFILE: optimized;/opt/local/lib/libvorbisfile.so;debug;/opt/local/lib/libvorbisfile.so  
-- Found CAL3D: /opt/local/lib/libcal3d.so  
CMake Error at CMakeLists.txt:243 (message):
  Unknown platform [SunOS]


-- Configuring incomplete, errors occurred!
See also "/home/pbulk/build/games/eternal-lands/work/Eternal-Lands-1.9.5.8/CMakeFiles/CMakeOutput.log".
See also "/home/pbulk/build/games/eternal-lands/work/Eternal-Lands-1.9.5.8/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/games/eternal-lands