+ 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/battalion-1.4nb8/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/battalion-1.4nb8/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for battalion-1.4nb8 --- battalion.o --- --- audio.o --- --- net.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -O -DDATADIR=\"/opt/local/share/battalion/\" -DVARDIR=\"/var/games/\" -I/opt/local/include -I./. -DMESAVERSION -c net.c --- battalion.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -O -DDATADIR=\"/opt/local/share/battalion/\" -DVARDIR=\"/var/games/\" -I/opt/local/include -I./. -DMESAVERSION -c battalion.c --- audio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -O -DDATADIR=\"/opt/local/share/battalion/\" -DVARDIR=\"/var/games/\" -I/opt/local/include -I./. -DMESAVERSION -c audio.c --- net.o --- net.c: In function 'setUpClient': net.c:132:5: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 132 | bzero((char *) &cli_addr, sizeof(cli_addr)); | ^~~~~ net.c:132:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] net.c:170:26: error: 'FNDELAY' undeclared (first use in this function); did you mean 'O_NDELAY'? 170 | fcntl(sockfd,F_SETFL,FNDELAY); | ^~~~~~~ | O_NDELAY net.c:170:26: note: each undeclared identifier is reported only once for each function it appears in net.c: In function 'setUpNetwork': net.c:200:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 200 | bzero((char *) &serv_addr, sizeof(serv_addr)); | ^~~~~ net.c:222:26: error: 'FNDELAY' undeclared (first use in this function); did you mean 'O_NDELAY'? 222 | fcntl(sockfd,F_SETFL,FNDELAY); | ^~~~~~~ | O_NDELAY --- battalion.o --- battalion.c:5768:1: warning: return type defaults to 'int' [-Wimplicit-int] 5768 | main (int argc, char*argv[]) | ^~~~ --- net.o --- *** [net.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/battalion/work/battalionSource bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/games/battalion/work/battalionSource *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/battalion *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/battalion