+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cbzone-2.0cnb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cbzone-2.0cnb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for cbzone-2.0cnb2 rm -f cbzone.script sed 's|@TANK_APPDIR@|/usr/share/X11/app-defaults|g;s|@TANK_LIBDIR@|/usr/pkg/share/cbzone|g;s|@TANK_SOUNDDIR@|/usr/pkg/share/cbzone/sounds|g' < cbzone.script.src > cbzone.script cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_main.o c_main.c cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_move.o c_move.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_move.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_main.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ c_move.c: In function 'placeobjects': c_move.c:58:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ c_move.c:58:7: warning: incompatible implicit declaration of built-in function 'exit' c_move.c:58:7: note: include '<stdlib.h>' or provide a declaration of 'exit' c_move.c:2:1: +#include <stdlib.h> /* c_move.c:58:7: exit(1); ^~~~ In file included from c_includes.h:17, from c_move.c:1: c_defs.h:71:19: warning: implicit declaration of function 'random'; did you mean 'rindex'? [-Wimplicit-function-declaration] #define frand() ((random() & 0xffff) / 65535.0) ^~~~~~ c_move.c:78:27: note: in expansion of macro 'frand' if (opt->copters || frand() < odds) { ^~~~~ c_move.c:137:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ c_move.c:137:7: note: include '<stdlib.h>' or provide a declaration of 'exit' c_main.c: In function 'main': c_main.c:136:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif DEVELOPER ^~~~~~~~~ c_main.c:145:23: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] pl = o = (Genericp) calloc(opt->mobjects,sizeof(Generic)); ^~~~~~ c_main.c:145:23: warning: incompatible implicit declaration of built-in function 'calloc' c_main.c:145:23: note: include '<stdlib.h>' or provide a declaration of 'calloc' c_main.c:2:1: +#include <stdlib.h> /* c_main.c:145:23: pl = o = (Genericp) calloc(opt->mobjects,sizeof(Generic)); ^~~~~~ c_main.c:149:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ c_main.c:149:5: warning: incompatible implicit declaration of built-in function 'exit' c_main.c:149:5: note: include '<stdlib.h>' or provide a declaration of 'exit' c_main.c:153:3: warning: implicit declaration of function 'srandom'; did you mean 'frand'? [-Wimplicit-function-declaration] srandom(time((long *) 0)); /* start things off randomly */ ^~~~~~~ frand c_main.c:200:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(o); ^~~~ c_main.c:200:7: warning: incompatible implicit declaration of built-in function 'free' c_main.c:200:7: note: include '<stdlib.h>' or provide a declaration of 'free' c_main.c:201:7: warning: incompatible implicit declaration of built-in function 'exit' exit(scores(score)); ^~~~ c_main.c:201:7: note: include '<stdlib.h>' or provide a declaration of 'exit' c_main.c:307:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ c_main.c:307:11: note: include '<stdlib.h>' or provide a declaration of 'exit' c_main.c:658:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ c_main.c:658:11: note: include '<stdlib.h>' or provide a declaration of 'exit' c_main.c:715:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif DEVELOPER ^~~~~~~~~ c_main.c:716:5: warning: incompatible implicit declaration of built-in function 'free' free(o); ^~~~ c_main.c:716:5: note: include '<stdlib.h>' or provide a declaration of 'free' c_main.c:720:5: warning: incompatible implicit declaration of built-in function 'exit' exit(scores(score)); ^~~~ c_main.c:720:5: note: include '<stdlib.h>' or provide a declaration of 'exit' In file included from c_includes.h:17, from c_main.c:1: c_defs.h:71:19: warning: implicit declaration of function 'random'; did you mean 'rindex'? [-Wimplicit-function-declaration] #define frand() ((random() & 0xffff) / 65535.0) ^~~~~~ c_main.c:726:26: note: in expansion of macro 'frand' nextmissile = 750 * frand() + 750; ^~~~~ c_main.c:800:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif DEVELOPER ^~~~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_graphics.o c_graphics.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_graphics.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ c_graphics.c: In function 'message': c_graphics.c:28:9: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] ind = abs(number) - 1; ^~~ c_graphics.c: In function 'scanner': c_graphics.c:297:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] dot = (XSegment*) malloc(sizeof(XSegment)*2*opt->mobjects); ^~~~~~ c_graphics.c:297:23: warning: incompatible implicit declaration of built-in function 'malloc' c_graphics.c:297:23: note: include '<stdlib.h>' or provide a declaration of 'malloc' c_graphics.c:2:1: +#include <stdlib.h> /* c_graphics.c:297:23: dot = (XSegment*) malloc(sizeof(XSegment)*2*opt->mobjects); ^~~~~~ c_graphics.c:300:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ c_graphics.c:300:7: warning: incompatible implicit declaration of built-in function 'exit' c_graphics.c:300:7: note: include '<stdlib.h>' or provide a declaration of 'exit' cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_scores.o c_scores.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_scores.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ c_scores.c: In function 'scores': c_scores.c:118:5: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] sleep(1); ^~~~~ strsep c_scores.c:211:40: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] top_score = (struct score_struct*) malloc(sizeof(struct score_struct)); ^~~~~~ c_scores.c:211:40: warning: incompatible implicit declaration of built-in function 'malloc' c_scores.c:211:40: note: include '<stdlib.h>' or provide a declaration of 'malloc' c_scores.c:2:1: +#include <stdlib.h> /* c_scores.c:211:40: top_score = (struct score_struct*) malloc(sizeof(struct score_struct)); ^~~~~~ c_scores.c:240:18: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] player.uid = getuid(); ^~~~~~ getpwuid In file included from /usr/include/stdio.h:873, from c_includes.h:1, from c_scores.c:1: In function 'fgets', inlined from 'scores' at c_scores.c:209:8: /usr/include/bits/stdio2.h:263:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, sz, __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'scores' at c_scores.c:214:11: /usr/include/bits/stdio2.h:263:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, sz, __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'scores' at c_scores.c:193:8: /usr/include/bits/stdio2.h:263:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, sz, __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h:263:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer /usr/include/bits/stdio2.h:263:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_gpr.o c_gpr.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_gpr.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_parseopts.o c_parseopts.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_parseopts.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ c_gpr.c: In function 'setmonomap': c_gpr.c:99:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] pixels = (Pixel*) malloc(2 * sizeof(Pixel)); ^~~~~~ c_gpr.c:99:21: warning: incompatible implicit declaration of built-in function 'malloc' c_gpr.c:99:21: note: include '<stdlib.h>' or provide a declaration of 'malloc' c_gpr.c:41:1: +#include <stdlib.h> c_gpr.c:99:21: pixels = (Pixel*) malloc(2 * sizeof(Pixel)); ^~~~~~ c_gpr.c: In function 'createfadedcolors': c_gpr.c:118:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(fcnames); ^~~~ c_gpr.c:118:5: warning: incompatible implicit declaration of built-in function 'free' c_gpr.c:118:5: note: include '<stdlib.h>' or provide a declaration of 'free' c_gpr.c:120:19: warning: incompatible implicit declaration of built-in function 'malloc' (Colorname *) malloc(ufc*opt->fading_colors*sizeof(Colorname)); ^~~~~~ c_gpr.c:120:19: note: include '<stdlib.h>' or provide a declaration of 'malloc' c_gpr.c: In function 'standardizecolors': c_gpr.c:160:5: warning: incompatible implicit declaration of built-in function 'free' free(bases); ^~~~ c_gpr.c:160:5: note: include '<stdlib.h>' or provide a declaration of 'free' c_gpr.c:161:25: warning: incompatible implicit declaration of built-in function 'malloc' bases = (Colorname *) malloc(MAX_COLORS*sizeof(Colorname)); ^~~~~~ c_gpr.c:161:25: note: include '<stdlib.h>' or provide a declaration of 'malloc' c_gpr.c: In function 'writecolormap': c_gpr.c:183:5: warning: incompatible implicit declaration of built-in function 'free' free(pixels); ^~~~ c_gpr.c:183:5: note: include '<stdlib.h>' or provide a declaration of 'free' c_gpr.c:184:21: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] pixels = (Pixel*) calloc(cw, sizeof(Pixel)); ^~~~~~ c_gpr.c:184:21: warning: incompatible implicit declaration of built-in function 'calloc' c_gpr.c:184:21: note: include '<stdlib.h>' or provide a declaration of 'calloc' c_parseopts.c: In function 'pager': c_parseopts.c:29:13: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (fork()) { ^~~~ c_parseopts.c:31:7: warning: implicit declaration of function 'execlp' [-Wimplicit-function-declaration] execlp(pager,pager,buf,0); ^~~~~~ c_parseopts.c:31:7: warning: incompatible implicit declaration of built-in function 'execlp' c_parseopts.c: In function 'getoptionint': c_parseopts.c:58:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ c_parseopts.c:58:5: warning: incompatible implicit declaration of built-in function 'exit' c_parseopts.c:58:5: note: include '<stdlib.h>' or provide a declaration of 'exit' c_parseopts.c:2:1: +#include <stdlib.h> /* c_parseopts.c:58:5: exit(0); ^~~~ c_gpr.c: In function 'gprinqconfig': c_gpr.c:517:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ c_gpr.c:517:5: warning: incompatible implicit declaration of built-in function 'exit' c_gpr.c:517:5: note: include '<stdlib.h>' or provide a declaration of 'exit' c_parseopts.c: In function 'parseopt': c_parseopts.c:171:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ c_parseopts.c:171:5: note: include '<stdlib.h>' or provide a declaration of 'exit' c_parseopts.c:193:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ c_parseopts.c:193:5: note: include '<stdlib.h>' or provide a declaration of 'exit' cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_draw.o c_draw.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_draw.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DTANKDIR=\"/usr/pkg/share/cbzone\" -I/usr/pkg/include -c -o c_explode.o c_explode.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from c_includes.h:1, from c_explode.c:1: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from c_includes.h:17, from c_explode.c:1: c_explode.c: In function 'explodeobject': c_defs.h:71:19: warning: implicit declaration of function 'random'; did you mean 'rindex'? [-Wimplicit-function-declaration] #define frand() ((random() & 0xffff) / 65535.0) ^~~~~~ c_explode.c:345:19: note: in expansion of macro 'frand' dc->vel.x = frand() * 20.0 - 10.0; ^~~~~ rm -f cbzone.exec cc -o cbzone.exec c_main.o c_move.o c_graphics.o c_scores.o c_gpr.o c_parseopts.o c_draw.o c_explode.o -O2 -fno-strength-reduce -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXt -lSM -lICE -lXext -lX11 -lm -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib