+ 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/tanked-0.90nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tanked-0.90nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tanked-0.90nb3 cd server && /opt/pkg/bin/bmake cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c main.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c socket.c In file included from socket.c:74: ../common/defs.h:159:9: warning: "MAXNAMELEN" redefined 159 | #define MAXNAMELEN 16 | ^~~~~~~~~~ In file included from /usr/include/sys/socket.h:64, from socket.c:58: /usr/include/sys/param.h:202:9: note: this is the location of the previous definition 202 | #define MAXNAMELEN 256 | ^~~~~~~~~~ socket.c: In function 'send_positions': socket.c:606:17: warning: variable 'me' set but not used [-Wunused-but-set-variable] 606 | player *p, *me; | ^~ socket.c: In function 'NET_checkSockets': socket.c:1972:9: warning: variable 'st' set but not used [-Wunused-but-set-variable] 1972 | int st, newsock, len, i; | ^~ cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c data.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c map.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c newplayer.c In file included from newplayer.c:13: ../common/defs.h:159:9: warning: "MAXNAMELEN" redefined 159 | #define MAXNAMELEN 16 | ^~~~~~~~~~ In file included from /usr/include/sys/socket.h:64, from newplayer.c:8: /usr/include/sys/param.h:202:9: note: this is the location of the previous definition 202 | #define MAXNAMELEN 256 | ^~~~~~~~~~ cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c tick.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c sintab.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c log.c cc -g -Wall -DLIFE -DLIFEFREQ=300 -DTANKDIR=\"/opt/pkg/share/tanked\" -I../common -c motd.c motd.c: In function 'motd_read_motd': motd.c:52:21: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 52 | GLO_motd[i][strlen(GLO_motd[i]) - 1] = 0; | ^~~~~~ motd.c:16:1: note: include '' or provide a declaration of 'strlen' 15 | #include "global.h" +++ |+#include 16 | motd.c:52:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 52 | GLO_motd[i][strlen(GLO_motd[i]) - 1] = 0; | ^~~~~~ motd.c:52:21: note: include '' or provide a declaration of 'strlen' *** Error code 1 Stop. bmake[1]: stopped making "all" in /home/pbulk/build/games/tanked/work/tanked-0.90/server *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/games/tanked/work/tanked-0.90 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/tanked *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/tanked