+ 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.45nb7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yquake2-7.45nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for yquake2-7.45nb7 Build configuration ============================ WITH_CURL = yes WITH_OPENAL = yes WITH_SYSTEMWIDE = yes ===> Building quake2 WITH_SYSTEMDIR = /opt/pkg/share/yquake2 WITH_RPATH = yes ============================ ===> Building q2ded /opt/pkg/bin/gmake release/quake2 gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' ===> Building baseq2/game.so /opt/pkg/bin/gmake release/q2ded /opt/pkg/bin/gmake release/baseq2/game.so gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' ===> Building ref_gl1.so /opt/pkg/bin/gmake release/ref_gl1.so gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' ===> Building ref_gl3.so /opt/pkg/bin/gmake release/ref_gl3.so gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' ===> Building ref_soft.so /opt/pkg/bin/gmake release/ref_soft.so gmake[1]: Entering directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' ===> CC src/backends/generic/misc.c ===> CC src/client/cl_cin.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_console.c ===> CC src/client/refresh/gl3/gl3_draw.c ===> CC src/common/shared/flash.c ===> CC src/backends/generic/misc.c ===> CC src/client/cl_download.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/common/argproc.c ===> CC src/client/cl_effects.c ===> CC src/common/shared/rand.c ===> CC src/client/refresh/gl1/qgl.c ===> CC src/client/refresh/soft/sw_aclip.c ===> CC src/client/cl_entities.c ===> CC src/common/shared/shared.c ===> CC src/client/refresh/gl3/gl3_image.c ===> CC src/client/refresh/gl1/gl1_draw.c ===> CC src/client/refresh/gl1/gl1_image.c ===> CC src/common/clientserver.c ===> CC src/client/refresh/soft/sw_alias.c ===> CC src/client/refresh/gl3/gl3_light.c ===> CC src/client/refresh/gl3/gl3_lightmap.c ===> CC src/client/refresh/gl1/gl1_light.c ===> CC src/common/collision.c ===> CC src/client/refresh/gl1/gl1_lightmap.c ===> CC src/client/refresh/gl3/gl3_main.c ===> CC src/game/g_ai.c ===> CC src/client/refresh/gl3/gl3_mesh.c ===> CC src/client/refresh/soft/sw_bsp.c ===> CC src/client/refresh/gl1/gl1_main.c ===> CC src/client/refresh/gl3/gl3_misc.c ===> CC src/client/cl_input.c ===> CC src/client/refresh/gl1/gl1_mesh.c ===> CC src/game/g_chase.c ===> CC src/client/refresh/soft/sw_draw.c ===> CC src/client/refresh/gl1/gl1_misc.c ===> CC src/common/crc.c ===> CC src/game/g_cmds.c ===> CC src/client/refresh/gl3/gl3_model.c ===> CC src/client/cl_inventory.c ===> CC src/client/refresh/gl3/gl3_sdl.c ===> CC src/common/cmdparser.c ===> CC src/client/refresh/gl1/gl1_model.c ===> CC src/client/refresh/soft/sw_edge.c ===> CC src/client/refresh/gl1/gl1_scrap.c ===> CC src/client/cl_keyboard.c ===> CC src/client/refresh/soft/sw_image.c ===> CC src/common/cvar.c ===> CC src/client/refresh/gl1/gl1_surf.c ===> CC src/game/g_combat.c ===> CC src/client/refresh/soft/sw_light.c ===> CC src/client/refresh/soft/sw_main.c ===> CC src/game/g_func.c ===> CC src/client/cl_lights.c ===> CC src/common/filesystem.c ===> CC src/client/refresh/gl3/gl3_surf.c ===> CC src/client/cl_main.c ===> CC src/client/refresh/soft/sw_misc.c ===> CC src/client/refresh/gl1/gl1_warp.c ===> CC src/client/refresh/soft/sw_model.c ===> CC src/client/refresh/gl3/gl3_warp.c ===> CC src/client/cl_network.c ===> CC src/client/refresh/gl1/gl1_sdl.c ===> CC src/common/glob.c ===> CC src/game/g_items.c ===> CC src/client/cl_parse.c ===> CC src/client/refresh/gl1/gl1_md2.c ===> CC src/common/md4.c ===> CC src/client/refresh/gl3/gl3_shaders.c ===> CC src/client/cl_particles.c ===> CC src/client/refresh/soft/sw_part.c ===> CC src/client/refresh/soft/sw_poly.c ===> CC src/client/refresh/soft/sw_polyset.c ===> CC src/client/refresh/gl1/gl1_sp2.c ===> CC src/common/frame.c ===> CC src/client/refresh/gl3/gl3_md2.c ===> CC src/client/cl_prediction.c ===> CC src/game/g_main.c ===> CC src/client/cl_screen.c ===> CC src/common/movemsg.c ===> CC src/client/refresh/files/pcx.c ===> CC src/client/cl_tempentities.c ===> CC src/game/g_misc.c ===> CC src/client/refresh/files/stb.c ===> CC src/client/refresh/gl3/gl3_sp2.c ===> CC src/client/refresh/files/wal.c ===> CC src/client/refresh/soft/sw_rast.c ===> CC src/common/netchan.c ===> CC src/client/refresh/gl3/glad/src/glad.c ===> CC src/client/cl_view.c ===> CC src/common/pmove.c ===> CC src/common/szone.c ===> CC src/client/refresh/files/pvs.c ===> CC src/client/curl/download.c ===> CC src/client/refresh/soft/sw_scan.c ===> CC src/client/refresh/soft/sw_sprite.c ===> CC src/client/refresh/files/pcx.c ===> CC src/client/refresh/soft/sw_surf.c ===> CC src/common/zone.c ===> CC src/common/shared/shared.c ===> CC src/client/refresh/files/stb.c ===> CC src/game/g_monster.c ===> CC src/common/md4.c ===> CC src/common/shared/rand.c ===> CC src/client/refresh/files/pcx.c ===> CC src/client/refresh/files/stb.c ===> CC src/common/shared/shared.c ===> CC src/client/curl/qcurl.c ===> CC src/client/input/sdl.c ===> CC src/client/refresh/files/wal.c ===> CC src/game/g_phys.c ===> CC src/backends/unix/shared/hunk.c ===> CC src/client/refresh/files/pvs.c ===> CC src/common/shared/shared.c ===> CC src/common/unzip/ioapi.c ===> CC src/client/menu/menu.c ===> CC src/game/g_spawn.c ===> CC src/common/unzip/miniz.c ===> CC src/game/g_svcmds.c ===> CC src/game/g_target.c ===> CC src/common/unzip/unzip.c ===> CC src/server/sv_cmd.c ===> CC src/common/md4.c ===> CC src/game/g_trigger.c ===> CC src/client/menu/qmenu.c ===> CC src/backends/unix/shared/hunk.c ===> CC src/server/sv_conless.c ===> CC src/client/menu/videomenu.c ===> CC src/game/g_turret.c ===> CC src/game/g_utils.c ===> CC src/client/sound/sdl.c ===> CC src/server/sv_entities.c ===> CC src/client/sound/ogg.c ===> CC src/game/g_weapon.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/game/monster/berserker/berserker.c ===> CC src/client/sound/openal.c ===> CC src/game/monster/boss2/boss2.c ===> CC src/server/sv_game.c ===> CC src/game/monster/boss3/boss3.c ===> CC src/client/sound/qal.c ===> CC src/server/sv_init.c ===> CC src/game/monster/boss3/boss31.c ===> CC src/game/monster/boss3/boss32.c ===> CC src/client/sound/sound.c ===> CC src/client/sound/wave.c ===> CC src/game/monster/brain/brain.c ===> CC src/game/monster/chick/chick.c ===> CC src/server/sv_main.c ===> CC src/client/refresh/files/wal.c ===> CC src/game/monster/flipper/flipper.c ===> CC src/client/refresh/files/pvs.c ===> LD release/ref_gl1.so ===> CC src/server/sv_save.c ld: warning: option -z[defs|nodefs] appears more than once, first setting taken ===> CC src/common/shared/shared.c Undefined first referenced symbol in file pow build/ref_gl1/src/client/refresh/files/stb.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sin build/ref_gl1/src/client/refresh/gl1/gl1_mesh.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) tan build/ref_gl1/src/client/refresh/gl1/gl1_main.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) cexp build/ref_gl1/src/client/refresh/gl1/gl1_light.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) atan2 build/ref_gl1/src/common/shared/shared.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sqrtf build/ref_gl1/src/common/shared/shared.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) ld: fatal: symbol referencing errors. No output written to release/ref_gl1.so collect2: error: ld returned 1 exit status ===> CC src/game/monster/float/float.c gmake[1]: *** [Makefile:1032: release/ref_gl1.so] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' gmake: *** [Makefile:541: ref_gl1] Error 2 gmake: *** Waiting for unfinished jobs.... ===> CC src/server/sv_send.c ===> CC src/client/vid/glimp_sdl.c ===> CC src/game/monster/flyer/flyer.c ===> CC src/client/vid/vid.c ===> CC src/common/argproc.c ===> CC src/common/md4.c ===> LD release/ref_soft.so ld: warning: option -z[defs|nodefs] appears more than once, first setting taken ===> CC src/game/monster/gladiator/gladiator.c ===> CC src/server/sv_user.c Undefined first referenced symbol in file pow build/ref_soft/src/client/refresh/soft/sw_main.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sin build/ref_soft/src/client/refresh/soft/sw_alias.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) tan build/ref_soft/src/client/refresh/soft/sw_alias.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) cexp build/ref_soft/src/client/refresh/soft/sw_bsp.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) atan2 build/ref_soft/src/common/shared/shared.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sqrtf build/ref_soft/src/client/refresh/soft/sw_misc.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) ld: fatal: symbol referencing errors. No output written to release/ref_soft.so collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:1064: release/ref_soft.so] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' gmake: *** [Makefile:616: ref_soft] Error 2 ===> CC src/common/clientserver.c ===> CC src/server/sv_world.c ===> CC src/game/monster/gunner/gunner.c ===> CC src/backends/unix/shared/hunk.c ===> CC src/common/collision.c ===> LD release/ref_gl3.so ===> CC src/backends/unix/main.c ld: warning: option -z[defs|nodefs] appears more than once, first setting taken ===> CC src/common/crc.c ===> CC src/game/monster/hover/hover.c ===> CC src/common/cmdparser.c Undefined first referenced symbol in file pow build/ref_gl3/src/client/refresh/files/stb.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sin build/ref_gl3/src/client/refresh/gl3/gl3_mesh.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) tan build/ref_gl3/src/client/refresh/gl3/gl3_main.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) cexp build/ref_gl3/src/client/refresh/gl3/gl3_mesh.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sinf build/ref_gl3/src/client/refresh/gl3/gl3_main.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) acosf build/ref_gl3/src/client/refresh/gl3/gl3_main.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) atan2 build/ref_gl3/src/common/shared/shared.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) cexpf build/ref_gl3/src/client/refresh/gl3/gl3_main.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) sqrtf build/ref_gl3/src/common/shared/shared.o (symbol belongs to implicit dependency /lib/amd64/libm.so.2) ld: fatal: symbol referencing errors. No output written to release/ref_gl3.so collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:1048: release/ref_gl3.so] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' gmake: *** [Makefile:579: ref_gl3] Error 2 ===> CC src/backends/unix/network.c ===> CC src/common/cvar.c ===> CC src/backends/unix/signalhandler.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:507: build/server/src/backends/unix/network.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... ===> CC src/common/filesystem.c ===> CC src/game/monster/infantry/infantry.c ===> CC src/game/monster/insane/insane.c gmake[1]: Leaving directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' gmake: *** [Makefile:502: server] Error 2 ===> CC src/common/glob.c ===> CC src/game/monster/medic/medic.c ===> CC src/game/monster/misc/move.c ===> CC src/common/md4.c ===> CC src/game/monster/mutant/mutant.c ===> CC src/common/movemsg.c ===> CC src/game/monster/parasite/parasite.c ===> CC src/common/frame.c ===> CC src/common/netchan.c ===> CC src/game/monster/soldier/soldier.c ===> CC src/common/pmove.c ===> CC src/game/monster/supertank/supertank.c ===> CC src/common/szone.c ===> CC src/game/monster/tank/tank.c ===> CC src/common/zone.c ===> CC src/common/shared/flash.c ===> CC src/game/player/client.c ===> CC src/game/player/hud.c ===> CC src/common/shared/rand.c ===> CC src/game/player/trail.c ===> CC src/common/shared/shared.c ===> CC src/common/unzip/ioapi.c ===> CC src/game/player/view.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/game/player/weapon.c ===> CC src/server/sv_game.c ===> CC src/server/sv_init.c ===> CC src/game/savegame/savegame.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 ===> CC src/backends/unix/signalhandler.c ===> CC src/backends/unix/system.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], | ^~~ ===> CC src/backends/unix/shared/hunk.c gmake[1]: *** [Makefile:420: build/client/src/backends/unix/network.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... ===> LD release/baseq2/game.so ld: warning: option -z[defs|nodefs] appears more than once, first setting taken Undefined first referenced symbol in file sin build/baseq2/src/game/player/view.o tan build/baseq2/src/game/g_turret.o cexp build/baseq2/src/common/shared/shared.o sqrt build/baseq2/src/game/g_func.o atan2 build/baseq2/src/common/shared/shared.o sqrtf build/baseq2/src/common/shared/shared.o ld: fatal: symbol referencing errors. No output written to release/baseq2/game.so collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:1080: release/baseq2/game.so] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/games/yquake2/work/quake2-7.45' gmake: *** [Makefile:664: game] Error 2 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-bulktest/games/yquake2 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/yquake2