+ 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/cbzone-2.0cnb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cbzone-2.0cnb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for cbzone-2.0cnb2 rm -f cbzone.script sed 's|@TANK_APPDIR@|/opt/pkg/lib/X11/app-defaults|g;s|@TANK_LIBDIR@|/opt/pkg/share/cbzone|g;s|@TANK_SOUNDDIR@|/opt/pkg/share/cbzone/sounds|g' < cbzone.script.src > cbzone.script gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DTANKDIR=\"/opt/pkg/share/cbzone\" -I/opt/pkg/include -c -o c_main.o c_main.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DTANKDIR=\"/opt/pkg/share/cbzone\" -I/opt/pkg/include -c -o c_move.o c_move.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DTANKDIR=\"/opt/pkg/share/cbzone\" -I/opt/pkg/include -c -o c_graphics.o c_graphics.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DTANKDIR=\"/opt/pkg/share/cbzone\" -I/opt/pkg/include -c -o c_scores.o c_scores.c c_graphics.c: In function 'message': c_graphics.c:28:9: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 28 | ind = abs(number) - 1; | ^~~ c_graphics.c:2:1: note: include '' or provide a declaration of 'abs' 1 | #include "c_includes.h" +++ |+#include 2 | /* c_scores.c: In function 'scores': c_scores.c:118:5: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 118 | sleep(1); | ^~~~~ c_main.c: In function 'main': c_main.c:136:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 136 | #endif DEVELOPER | ^~~~~~~~~ c_main.c:145:23: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 145 | pl = o = (Genericp) calloc(opt->mobjects,sizeof(Generic)); | ^~~~~~ c_main.c:2:1: note: include '' or provide a declaration of 'calloc' 1 | #include "c_includes.h" +++ |+#include 2 | /* c_main.c:145:23: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 145 | pl = o = (Genericp) calloc(opt->mobjects,sizeof(Generic)); | ^~~~~~ c_main.c:145:23: note: include '' or provide a declaration of 'calloc' c_main.c:149:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 149 | exit(1); | ^~~~ c_main.c:149:5: note: include '' or provide a declaration of 'exit' c_main.c:149:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] c_main.c:149:5: note: include '' or provide a declaration of 'exit' c_main.c:153:3: error: implicit declaration of function 'srandom'; did you mean 'frand'? [-Wimplicit-function-declaration] 153 | srandom(time((long *) 0)); /* start things off randomly */ | ^~~~~~~ | frand c_move.c: In function 'placeobjects': c_move.c:58:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 58 | exit(1); | ^~~~ c_move.c:2:1: note: include '' or provide a declaration of 'exit' 1 | #include "c_includes.h" +++ |+#include 2 | /* c_move.c:58:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 58 | exit(1); | ^~~~ c_move.c:58:7: note: include '' or provide a declaration of 'exit' c_main.c:200:7: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 200 | free(o); | ^~~~ c_main.c:200:7: note: include '' or provide a declaration of 'free' c_main.c:200:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] c_main.c:200:7: note: include '' or provide a declaration of 'free' c_main.c:201:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 201 | exit(scores(score)); | ^~~~ c_main.c:201:7: note: include '' or provide a declaration of 'exit' c_scores.c:211:40: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 211 | top_score = (struct score_struct*) malloc(sizeof(struct score_struct)); | ^~~~~~ c_scores.c:2:1: note: include '' or provide a declaration of 'malloc' 1 | #include "c_includes.h" +++ |+#include 2 | /* c_scores.c:211:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 211 | top_score = (struct score_struct*) malloc(sizeof(struct score_struct)); | ^~~~~~ c_scores.c:211:40: note: include '' or provide a declaration of 'malloc' c_scores.c:240:18: error: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] 240 | player.uid = getuid(); | ^~~~~~ | getpwuid c_main.c:307:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 307 | exit(1); | ^~~~ c_main.c:307:11: note: include '' or provide a declaration of 'exit' In file included from c_includes.h:17, from c_move.c:1: c_defs.h:71:19: error: implicit declaration of function 'random' [-Wimplicit-function-declaration] 71 | #define frand() ((random() & 0xffff) / 65535.0) | ^~~~~~ c_move.c:78:27: note: in expansion of macro 'frand' 78 | if (opt->copters || frand() < odds) { | ^~~~~ c_graphics.c: In function 'scanner': c_graphics.c:297:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 297 | dot = (XSegment*) malloc(sizeof(XSegment)*2*opt->mobjects); | ^~~~~~ c_graphics.c:297:23: note: include '' or provide a declaration of 'malloc' c_graphics.c:297:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] c_graphics.c:297:23: note: include '' or provide a declaration of 'malloc' c_graphics.c:300:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 300 | exit(1); | ^~~~ c_graphics.c:300:7: note: include '' or provide a declaration of 'exit' c_graphics.c:300:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] c_graphics.c:300:7: note: include '' or provide a declaration of 'exit' c_main.c:658:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 658 | exit(1); | ^~~~ c_main.c:658:11: note: include '' or provide a declaration of 'exit' c_main.c:715:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 715 | #endif DEVELOPER | ^~~~~~~~~ c_main.c:716:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 716 | free(o); | ^~~~ c_main.c:716:33: note: include '' or provide a declaration of 'free' c_main.c:720:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 720 | exit(scores(score)); | ^~~~ c_main.c:720:33: note: include '' or provide a declaration of 'exit' In file included from c_includes.h:17, from c_main.c:1: c_defs.h:71:19: error: implicit declaration of function 'random' [-Wimplicit-function-declaration] 71 | #define frand() ((random() & 0xffff) / 65535.0) | ^~~~~~ c_main.c:726:61: note: in expansion of macro 'frand' 726 | nextmissile = 750 * frand() + 750; | ^~~~~ c_move.c:137:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 137 | exit(1); | ^~~~ c_move.c:137:7: note: include '' or provide a declaration of 'exit' c_main.c:800:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 800 | #endif DEVELOPER | ^~~~~~~~~ gmake: *** [: c_move.o] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [: c_scores.o] Error 1 gmake: *** [: c_main.o] Error 1 gmake: *** [: c_graphics.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/cbzone *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/cbzone