+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yquake2-7.45nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yquake2-7.45nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for yquake2-7.45nb5
Build configuration
============================
WITH_CURL = yes
WITH_OPENAL = yes
WITH_SYSTEMWIDE = yes
WITH_SYSTEMDIR = /opt/pkg/share/yquake2
WITH_RPATH = yes
============================

===> Building quake2
/opt/pkg/bin/gmake release/quake2
gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45'
===> CC src/backends/generic/misc.c
src/backends/generic/misc.c: In function 'SetExecutablePath':
src/backends/generic/misc.c:139:2: warning: #warning "SetExecutablePath() is unimplemented on this platform" [-Wcpp]
  139 | #warning "SetExecutablePath() is unimplemented on this platform"
      |  ^~~~~~~
===> CC src/client/cl_cin.c
===> CC src/client/cl_console.c
===> CC src/client/cl_download.c
===> CC src/client/cl_effects.c
===> CC src/client/cl_entities.c
===> CC src/client/cl_input.c
===> CC src/client/cl_inventory.c
===> CC src/client/cl_keyboard.c
===> CC src/client/cl_lights.c
===> CC src/client/cl_main.c
===> CC src/client/cl_network.c
===> CC src/client/cl_parse.c
===> CC src/client/cl_particles.c
===> CC src/client/cl_prediction.c
===> CC src/client/cl_screen.c
===> CC src/client/cl_tempentities.c
===> CC src/client/cl_view.c
===> CC src/client/curl/download.c
===> CC src/client/curl/qcurl.c
===> CC src/client/input/sdl.c
===> CC src/client/menu/menu.c
===> CC src/client/menu/qmenu.c
===> CC src/client/menu/videomenu.c
===> CC src/client/sound/sdl.c
===> CC src/client/sound/ogg.c
In file included from src/client/sound/ogg.c:41:
src/client/sound/header/stb_vorbis.h: In function 'decode_residue':
src/client/sound/header/stb_vorbis.h:911:94: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
  911 | #define temp_alloc(f,size)              (f->alloc.alloc_buffer ? setup_temp_malloc(f,size) : alloca(size))
      |                                                                                              ^~~~~~
src/client/sound/header/stb_vorbis.h:916:58: note: in expansion of macro 'temp_alloc'
  916 | #define temp_block_array(f,count,size)  make_block_array(temp_alloc(f,array_size_required(count,size)), count, size)
      |                                                          ^~~~~~~~~~
src/client/sound/header/stb_vorbis.h:2098:42: note: in expansion of macro 'temp_block_array'
 2098 |    uint8 ***part_classdata = (uint8 ***) temp_block_array(f,f->channels, part_read * sizeof(**part_classdata));
      |                                          ^~~~~~~~~~~~~~~~
src/client/sound/header/stb_vorbis.h:911:94: warning: incompatible implicit declaration of built-in function 'alloca'
  911 | #define temp_alloc(f,size)              (f->alloc.alloc_buffer ? setup_temp_malloc(f,size) : alloca(size))
      |                                                                                              ^~~~~~
src/client/sound/header/stb_vorbis.h:916:58: note: in expansion of macro 'temp_alloc'
  916 | #define temp_block_array(f,count,size)  make_block_array(temp_alloc(f,array_size_required(count,size)), count, size)
      |                                                          ^~~~~~~~~~
src/client/sound/header/stb_vorbis.h:2098:42: note: in expansion of macro 'temp_block_array'
 2098 |    uint8 ***part_classdata = (uint8 ***) temp_block_array(f,f->channels, part_read * sizeof(**part_classdata));
      |                                          ^~~~~~~~~~~~~~~~
src/client/sound/header/stb_vorbis.h: In function 'inverse_mdct':
src/client/sound/header/stb_vorbis.h:911:94: warning: incompatible implicit declaration of built-in function 'alloca'
  911 | #define temp_alloc(f,size)              (f->alloc.alloc_buffer ? setup_temp_malloc(f,size) : alloca(size))
      |                                                                                              ^~~~~~
src/client/sound/header/stb_vorbis.h:2616:28: note: in expansion of macro 'temp_alloc'
 2616 |    float *buf2 = (float *) temp_alloc(f, n2 * sizeof(*buf2));
      |                            ^~~~~~~~~~
===> CC src/client/sound/openal.c
===> CC src/client/sound/qal.c
===> CC src/client/sound/sound.c
===> CC src/client/sound/wave.c
===> CC src/client/vid/glimp_sdl.c
===> CC src/client/vid/vid.c
===> CC src/common/argproc.c
===> CC src/common/clientserver.c
===> CC src/common/collision.c
===> CC src/common/crc.c
===> CC src/common/cmdparser.c
===> CC src/common/cvar.c
===> CC src/common/filesystem.c
===> CC src/common/glob.c
===> CC src/common/md4.c
===> CC src/common/movemsg.c
===> CC src/common/frame.c
===> CC src/common/netchan.c
===> CC src/common/pmove.c
===> CC src/common/szone.c
===> CC src/common/zone.c
===> CC src/common/shared/flash.c
===> CC src/common/shared/rand.c
===> CC src/common/shared/shared.c
===> CC src/common/unzip/ioapi.c
===> CC src/common/unzip/miniz.c
===> CC src/common/unzip/unzip.c
===> CC src/server/sv_cmd.c
===> CC src/server/sv_conless.c
===> CC src/server/sv_entities.c
===> CC src/server/sv_game.c
===> CC src/server/sv_init.c
===> CC src/server/sv_main.c
===> CC src/server/sv_save.c
===> CC src/server/sv_send.c
===> CC src/server/sv_user.c
===> CC src/server/sv_world.c
===> CC src/backends/unix/main.c
===> CC src/backends/unix/network.c
src/backends/unix/network.c: In function 'NET_Socket':
src/backends/unix/network.c:858:24: error: 'FIONBIO' undeclared (first use in this function)
  858 |   if (ioctl(newsocket, FIONBIO, (char *)&_true) == -1)
      |                        ^~~~~~~
src/backends/unix/network.c:858:24: note: each undeclared identifier is reported only once for each function it appears in
src/backends/unix/network.c: In function 'NET_Sleep':
src/backends/unix/network.c:1008:9: warning: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]
 1008 |  select(MAX(ip_sockets[NS_SERVER],
      |         ^~~
gmake[1]: *** [Makefile:420: build/client/src/backends/unix/network.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/games/yquake2/work/quake2-7.45'
gmake: *** [Makefile:409: client] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/yquake2
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/yquake2