+ 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 => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for battalion-1.4nb8 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 battalion.c:5768:1: warning: return type defaults to 'int' [-Wimplicit-int] 5768 | main (int argc, char*argv[]) | ^~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 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 *** [net.o] Error code 1 bmake: stopped in /home/pbulk/build/games/battalion/work/battalionSource 1 error bmake: stopped in /home/pbulk/build/games/battalion/work/battalionSource *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/games/battalion *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/games/battalion