+ 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/liquidwar-5.6.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/liquidwar-5.6.5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for liquidwar-5.6.5 make[1]: Entering directory '/home/pbulk/build/games/liquidwar/work/liquidwar-5.6.5/src' Compiling about.c (cpu=default, debug=no, asm=no) Compiling advanced.c (cpu=default, debug=no, asm=no) Compiling alleg2.c (cpu=default, debug=no, asm=no) Compiling area.c (cpu=default, debug=no, asm=no) Compiling army.c (cpu=default, debug=no, asm=no) Compiling asm.c (cpu=default, debug=no, asm=no) Compiling autoplay.c (cpu=default, debug=no, asm=no) Compiling back.c (cpu=default, debug=no, asm=no) Compiling basicopt.c (cpu=default, debug=no, asm=no) Compiling bigdata.c (cpu=default, debug=no, asm=no) Compiling capture.c (cpu=default, debug=no, asm=no) Compiling chat.c (cpu=default, debug=no, asm=no) Compiling checksum.c (cpu=default, debug=no, asm=no) Compiling code.c (cpu=default, debug=no, asm=no) Compiling config.c (cpu=default, debug=no, asm=no) Compiling connect.c (cpu=default, debug=no, asm=no) Compiling controls.c (cpu=default, debug=no, asm=no) Compiling cursor.c (cpu=default, debug=no, asm=no) Compiling decal.c (cpu=default, debug=no, asm=no) Compiling dialog.c (cpu=default, debug=no, asm=no) Compiling disk.c (cpu=default, debug=no, asm=no) Compiling disp.c (cpu=default, debug=no, asm=no) Compiling distor.c (cpu=default, debug=no, asm=no) Compiling dnsutil.c (cpu=default, debug=no, asm=no) Compiling error.c (cpu=default, debug=no, asm=no) Compiling exec2.c (cpu=default, debug=no, asm=no) Compiling exit.c (cpu=default, debug=no, asm=no) Compiling fighter.c (cpu=default, debug=no, asm=no) Compiling game.c (cpu=default, debug=no, asm=no) Compiling gfxmode.c (cpu=default, debug=no, asm=no) Compiling grad.c (cpu=default, debug=no, asm=no) Compiling graphics.c (cpu=default, debug=no, asm=no) Compiling help.c (cpu=default, debug=no, asm=no) Compiling httputil.c (cpu=default, debug=no, asm=no) Compiling info.c (cpu=default, debug=no, asm=no) Compiling init.c (cpu=default, debug=no, asm=no) Compiling internet.c (cpu=default, debug=no, asm=no) internet.c: In function 'internet_find': internet.c:137:13: warning: storing the address of local variable 'size' in 'list_size' [-Wdangling-pointer=] 137 | list_size = &size; | ~~~~~~~~~~^~~~~~~ internet.c:127:7: note: 'size' declared here 127 | int size; | ^~~~ internet.c:90:13: note: 'list_size' declared here 90 | static int *list_size = NULL; | ^~~~~~~~~ internet.c:136:13: warning: storing the address of local variable 'data' in 'list_data' [-Wdangling-pointer=] 136 | list_data = data; | ~~~~~~~~~~^~~~~~ internet.c:126:18: note: 'data' declared here 126 | LW_WWWCLI_DATA data[LW_INTERNET_LIST_SIZE]; | ^~~~ internet.c:89:24: note: 'list_data' declared here 89 | static LW_WWWCLI_DATA *list_data = NULL; | ^~~~~~~~~ Compiling joystick.c (cpu=default, debug=no, asm=no) Compiling keyboard.c (cpu=default, debug=no, asm=no) Compiling keyexch.c (cpu=default, debug=no, asm=no) Compiling lang.c (cpu=default, debug=no, asm=no) Compiling langde.c (cpu=default, debug=no, asm=no) Compiling langdk.c (cpu=default, debug=no, asm=no) Compiling langen.c (cpu=default, debug=no, asm=no) Compiling langfr.c (cpu=default, debug=no, asm=no) Compiling langpl.c (cpu=default, debug=no, asm=no) Compiling language.c (cpu=default, debug=no, asm=no) Compiling level.c (cpu=default, debug=no, asm=no) Compiling logcli.c (cpu=default, debug=no, asm=no) Compiling lw6.c (cpu=default, debug=no, asm=no) Compiling main.c (cpu=default, debug=no, asm=no) Compiling map.c (cpu=default, debug=no, asm=no) Compiling maptex.c (cpu=default, debug=no, asm=no) Compiling menu.c (cpu=default, debug=no, asm=no) Compiling mesh.c (cpu=default, debug=no, asm=no) Compiling message.c (cpu=default, debug=no, asm=no) Compiling mouse.c (cpu=default, debug=no, asm=no) Compiling move.c (cpu=default, debug=no, asm=no) Compiling music.c (cpu=default, debug=no, asm=no) Compiling mutxunix.c (cpu=default, debug=no, asm=no) Compiling netconf.c (cpu=default, debug=no, asm=no) Compiling netgame.c (cpu=default, debug=no, asm=no) Compiling netkey.c (cpu=default, debug=no, asm=no) Compiling netmap.c (cpu=default, debug=no, asm=no) Compiling netmess.c (cpu=default, debug=no, asm=no) Compiling netplay.c (cpu=default, debug=no, asm=no) In function 'connect_on_server_start', inlined from 'netplay_sequence' at netplay.c:131:7: netplay.c:182:3: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 50 [-Wstringop-truncation] 182 | strncpy (connect_data->address, address, sizeof (connect_data->address)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling network.c (cpu=default, debug=no, asm=no) Compiling options.c (cpu=default, debug=no, asm=no) Compiling palette.c (cpu=default, debug=no, asm=no) Compiling parser.c (cpu=default, debug=no, asm=no) Compiling path.c (cpu=default, debug=no, asm=no) Compiling ping.c (cpu=default, debug=no, asm=no) Compiling pion.c (cpu=default, debug=no, asm=no) Compiling play.c (cpu=default, debug=no, asm=no) Compiling profile.c (cpu=default, debug=no, asm=no) Compiling protocol.c (cpu=default, debug=no, asm=no) protocol.c: In function 'lw_protocol_ask_who': protocol.c:287:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 287 | who->network = 1; | ~~~~~~~~~~~~~^~~ protocol.c:293:17: note: here 293 | case LW_NETMESS_CODE_LOCAL: | ^~~~ Compiling random.c (cpu=default, debug=no, asm=no) Compiling rules.c (cpu=default, debug=no, asm=no) Compiling score.c (cpu=default, debug=no, asm=no) Compiling serial.c (cpu=default, debug=no, asm=no) Compiling sock2cli.c (cpu=default, debug=no, asm=no) Compiling sockex.c (cpu=default, debug=no, asm=no) In file included from sockex.c:74: sockex.c: In function 'lw_sock_send_buffer_ex': macro.h:70:110: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 70 | #define LW_MACRO_STRNCPY(DST,SRC,SIZE) { memset((DST),0,(SIZE)); strncpy((DST),(SRC),(SIZE)); (DST)[(SIZE)-1]='\0'; } | ~~~~~~~~~~~~~~~^~~~~ sockex.c:558:19: note: in expansion of macro 'LW_MACRO_STRNCPY' 558 | LW_MACRO_STRNCPY (trace, buffer, len); | ^~~~~~~~~~~~~~~~ sockex.c:488:8: note: at offset [-2147483648, -1] into destination object 'trace' of size 1000 488 | char trace[LW_SOCK_MESSAGE_SIZE]; | ^~~~~ macro.h:70:42: warning: 'memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 70 | #define LW_MACRO_STRNCPY(DST,SRC,SIZE) { memset((DST),0,(SIZE)); strncpy((DST),(SRC),(SIZE)); (DST)[(SIZE)-1]='\0'; } | ^~~~~~~~~~~~~~~~~~~~~~ sockex.c:558:19: note: in expansion of macro 'LW_MACRO_STRNCPY' 558 | LW_MACRO_STRNCPY (trace, buffer, len); | ^~~~~~~~~~~~~~~~ sockex.c:488:8: note: destination object allocated here 488 | char trace[LW_SOCK_MESSAGE_SIZE]; | ^~~~~ macro.h:70:66: warning: 'strncpy' specified size between 18446744071562067968 and 0 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 70 | #define LW_MACRO_STRNCPY(DST,SRC,SIZE) { memset((DST),0,(SIZE)); strncpy((DST),(SRC),(SIZE)); (DST)[(SIZE)-1]='\0'; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sockex.c:558:19: note: in expansion of macro 'LW_MACRO_STRNCPY' 558 | LW_MACRO_STRNCPY (trace, buffer, len); | ^~~~~~~~~~~~~~~~ sockex.c:488:8: note: destination object allocated here 488 | char trace[LW_SOCK_MESSAGE_SIZE]; | ^~~~~ sockex.c: In function 'lw_sock_recv_buffer_ex': macro.h:70:110: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 70 | #define LW_MACRO_STRNCPY(DST,SRC,SIZE) { memset((DST),0,(SIZE)); strncpy((DST),(SRC),(SIZE)); (DST)[(SIZE)-1]='\0'; } | ~~~~~~~~~~~~~~~^~~~~ sockex.c:672:19: note: in expansion of macro 'LW_MACRO_STRNCPY' 672 | LW_MACRO_STRNCPY (trace, buffer, len); | ^~~~~~~~~~~~~~~~ sockex.c:600:8: note: at offset [-2147483648, -1] into destination object 'trace' of size 1000 600 | char trace[LW_SOCK_MESSAGE_SIZE]; | ^~~~~ macro.h:70:42: warning: 'memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 70 | #define LW_MACRO_STRNCPY(DST,SRC,SIZE) { memset((DST),0,(SIZE)); strncpy((DST),(SRC),(SIZE)); (DST)[(SIZE)-1]='\0'; } | ^~~~~~~~~~~~~~~~~~~~~~ sockex.c:672:19: note: in expansion of macro 'LW_MACRO_STRNCPY' 672 | LW_MACRO_STRNCPY (trace, buffer, len); | ^~~~~~~~~~~~~~~~ sockex.c:600:8: note: destination object allocated here 600 | char trace[LW_SOCK_MESSAGE_SIZE]; | ^~~~~ macro.h:70:66: warning: 'strncpy' specified size between 18446744071562067968 and 0 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 70 | #define LW_MACRO_STRNCPY(DST,SRC,SIZE) { memset((DST),0,(SIZE)); strncpy((DST),(SRC),(SIZE)); (DST)[(SIZE)-1]='\0'; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sockex.c:672:19: note: in expansion of macro 'LW_MACRO_STRNCPY' 672 | LW_MACRO_STRNCPY (trace, buffer, len); | ^~~~~~~~~~~~~~~~ sockex.c:600:8: note: destination object allocated here 600 | char trace[LW_SOCK_MESSAGE_SIZE]; | ^~~~~ Compiling sockunix.c (cpu=default, debug=no, asm=no) Compiling sound.c (cpu=default, debug=no, asm=no) Compiling speeds.c (cpu=default, debug=no, asm=no) Compiling startinf.c (cpu=default, debug=no, asm=no) Compiling startup.c (cpu=default, debug=no, asm=no) Compiling team.c (cpu=default, debug=no, asm=no) Compiling texture.c (cpu=default, debug=no, asm=no) Compiling thrdunix.c (cpu=default, debug=no, asm=no) thrdunix.c: In function 'lw_thread_start': thrdunix.c:84:38: warning: cast between incompatible function types from 'void (*)(void *)' to 'void * (*)(void *)' [-Wcast-function-type] 84 | if (pthread_create (&thread, NULL, (void *(*)(void *)) func, args) == 0) | ^ Compiling ticker.c (cpu=default, debug=no, asm=no) Compiling time.c (cpu=default, debug=no, asm=no) Compiling viewport.c (cpu=default, debug=no, asm=no) Compiling volume.c (cpu=default, debug=no, asm=no) Compiling watchdog.c (cpu=default, debug=no, asm=no) Compiling wave.c (cpu=default, debug=no, asm=no) Compiling wwwcli.c (cpu=default, debug=no, asm=no) Compiling x11icon.c (cpu=default, debug=no, asm=no) Linking liquidwar (host=default, debug=no, static=no, asm=no) Undefined first referenced symbol in file bind sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) recv sockex.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) send sockex.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) accept sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) listen sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) gethostbyname dnsutil.o (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1) socket sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) setsockopt sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) connect sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) shutdown sockunix.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) ld: fatal: symbol referencing errors. No output written to liquidwar collect2: error: ld returned 1 exit status make[1]: *** [Makefile:255: liquidwar] Error 1 make[1]: Leaving directory '/home/pbulk/build/games/liquidwar/work/liquidwar-5.6.5/src' gmake: *** [Makefile:115: build_bin] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/liquidwar *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/liquidwar