+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/warsow-2.1.2nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/warsow-2.1.2nb1/work.log ===> Building for warsow-2.1.2nb1 [ 0%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_gameteams.c.o [ 1%] Building C object cin/CMakeFiles/cin.dir/__/gameshared/q_math.c.o [ 1%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_items.c.o [ 1%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_misc.c.o [ 1%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_players.c.o [ 1%] Building C object cin/CMakeFiles/cin.dir/__/gameshared/q_shared.c.o [ 2%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_pmove.c.o [ 2%] Building C object cin/CMakeFiles/cin.dir/cin.c.o [ 2%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_slidebox.c.o [ 2%] Building C object cin/CMakeFiles/cin.dir/cin_main.c.o [ 2%] Building C object cin/CMakeFiles/cin.dir/cin_roq.c.o [ 2%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_weapondefs.c.o /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cin/cin_roq.c: In function 'RoQ_ReadVideo': /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cin/cin_roq.c:387:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 387 | for( yp = ypos; yp < ypos + 16; yp += 8 ) | ^~~ /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cin/cin_roq.c:462:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 462 | xpos += 16; | ^~~~ [ 2%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/gs_weapons.c.o [ 2%] Building C object cin/CMakeFiles/cin.dir/cin_syscalls.c.o [ 2%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/q_math.c.o [ 3%] Building C object cin/CMakeFiles/cin.dir/cin_theora.c.o [ 3%] Linking C shared library /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/build/libs/libcin_i386.so ld: fatal: unrecognized option '--as-needed' ld: fatal: use the -z help option for usage information collect2: error: ld returned 1 exit status gmake[2]: *** [cin/CMakeFiles/cin.dir/build.make:197: /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/build/libs/libcin_i386.so] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:573: cin/CMakeFiles/cin.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 3%] Building C object cgame/CMakeFiles/cgame.dir/__/gameshared/q_shared.c.o [ 3%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_boneposes.cpp.o [ 4%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_chat.cpp.o [ 4%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_cmds.cpp.o [ 4%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_damage_indicator.cpp.o [ 4%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_decals.cpp.o [ 4%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_democams.cpp.o [ 4%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_draw.cpp.o ../../source/as_callfunc.cpp: In function 'int DetectCallingConvention(bool, const asSFuncPtr&, int, void*, asSSystemFunctionInterface*)': ../../source/as_callfunc.cpp:50:15: warning: 'void* std::memset(void*, int, size_t)' clearing an object of type 'struct asSSystemFunctionInterface' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 50 | memset(internal, 0, sizeof(asSSystemFunctionInterface)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../source/as_callfunc.cpp:41: ../../source/as_callfunc.h:97:8: note: 'struct asSSystemFunctionInterface' declared here 97 | struct asSSystemFunctionInterface | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_effects.cpp.o [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_ents.cpp.o [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_events.cpp.o [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_hud.cpp.o /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cgame/cg_hud.cpp: In function 'bool CG_LFuncDrawHelpMessage(cg_layoutnode_s*, cg_layoutnode_s*, int)': /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cgame/cg_hud.cpp:2310:56: warning: the address of 'cg_state_t::helpmessage' will never be NULL [-Waddress] 2310 | if( cg.helpmessage && cg.helpmessage[0] ) { | ~~~^~~~~~~~~~~ In file included from /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cgame/cg_hud.cpp:26: /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/cgame/cg_local.h:613:14: note: 'cg_state_t::helpmessage' declared here 613 | char helpmessage[MAX_HELPMESSAGE_CHARS]; | ^~~~~~~~~~~ [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_input.cpp.o [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_lents.cpp.o [ 5%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_main.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_media.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_players.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_pmodels.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_polys.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_predict.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_scoreboard.cpp.o [ 6%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_screen.cpp.o [ 7%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_syscalls.cpp.o [ 7%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_teams.cpp.o [ 7%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_test.cpp.o [ 7%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_view.cpp.o [ 7%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_vweap.cpp.o [ 7%] Building CXX object cgame/CMakeFiles/cgame.dir/cg_wmodels.cpp.o [ 7%] Linking CXX shared library /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/build/basewsw/libcgame_i386.so ld: fatal: unrecognized option '--as-needed' ld: fatal: use the -z help option for usage information collect2: error: ld returned 1 exit status gmake[2]: *** [cgame/CMakeFiles/cgame.dir/build.make:676: /home/pbulk/build/games/warsow/work/warsow_21_sdk/source/source/build/basewsw/libcgame_i386.so] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:509: cgame/CMakeFiles/cgame.dir/all] Error 2 /opt/local/bin/ar: creating ../../lib/libangelscript.a ------------------------------------------------------------------- Done. As root, type make install to install the library. [ 7%] Built target angelscript gmake: *** [Makefile:91: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/warsow *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/warsow