+ 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/xroads-0.5nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xroads-0.5nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xroads-0.5nb1 --- randommaze.o --- --- chardata.o --- --- tiledata.o --- --- fileops.o --- --- randommaze.o --- gcc -O2 -Wall -DXRMPATH=\"/opt/pkg/share/xroads/\" -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include -c randommaze.c --- chardata.o --- gcc -O2 -Wall -DXRMPATH=\"/opt/pkg/share/xroads/\" -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include -c chardata.c --- tiledata.o --- gcc -O2 -Wall -DXRMPATH=\"/opt/pkg/share/xroads/\" -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include -c tiledata.c --- fileops.o --- gcc -O2 -Wall -DXRMPATH=\"/opt/pkg/share/xroads/\" -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include -c fileops.c --- ai.o --- --- randommaze.o --- randommaze.c: In function 'maze_grow': randommaze.c:140:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 140 | int c, oldx, oldy, dir; | ^ --- ai.o --- gcc -O2 -Wall -DXRMPATH=\"/opt/pkg/share/xroads/\" -I/opt/pkg/include -I/opt/pkg/include/X11 -I/opt/pkg/include -c ai.c --- fileops.o --- fileops.c: In function 'readmapfile': fileops.c:87:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 87 | exit(1); | ^~~~ fileops.c:38:1: note: include '' or provide a declaration of 'exit' 37 | #include +++ |+#include 38 | fileops.c:87:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 87 | exit(1); | ^~~~ fileops.c:87:7: note: include '' or provide a declaration of 'exit' fileops.c:49:9: warning: variable 'garbage' set but not used [-Wunused-but-set-variable] 49 | char garbage; | ^~~~~~~ *** [fileops.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xroads/work/xroads-v0.5 --- ai.o --- ai.c: In function 'killmonster': ai.c:277:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 277 | if((amonst->type != -1) && (amonst->health > 0)) | ^~ ai.c:279:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 279 | if(amonst->health <= 0) { | ^~ bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/games/xroads/work/xroads-v0.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xroads *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xroads