+ 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/xvier-1.0nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xvier-1.0nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xvier-1.0nb4 --- xvier.o --- --- vierinit.o --- --- vier.o --- --- xvier._man --- --- xvier.o --- 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 -DPROGNAME=\"/opt/pkg/libexec/xvier_prog\" -D__EXTENSIONS__ -I/opt/pkg/include -c xvier.c --- vierinit.o --- 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 -DPROGNAME=\"/opt/pkg/libexec/xvier_prog\" -D__EXTENSIONS__ -I/opt/pkg/include -c vierinit.c --- vier.o --- 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 -DPROGNAME=\"/opt/pkg/libexec/xvier_prog\" -D__EXTENSIONS__ -I/opt/pkg/include -c vier.c --- xvier._man --- rm -f xvier._man if test -z "" ; then cd `dirname xvier` && ln -s `basename xvier.man` `basename xvier._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xvier.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xvier._man; fi --- vier.o --- In file included from vier.c:7: vier.h:1:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 1 | char *malloc(); | ^~~~~~ vier.h:1:1: note: 'malloc' is declared in header '' +++ |+#include 1 | char *malloc(); vier.c: In function 'read_char': vier.c:30:7: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 30 | if (read(0, ch, 1) < 1) { | ^~~~ | fread vier.c:32:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 32 | exit(1); | ^~~~ vier.c:9:1: note: include '' or provide a declaration of 'exit' 8 | #include "xvier.h" +++ |+#include 9 | vier.c:32:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 32 | exit(1); | ^~~~ vier.c:32:5: note: include '' or provide a declaration of 'exit' vier.c: In function 'write_char': vier.c:40:7: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 40 | if (write(1, &ch, 1) < 1) { | ^~~~~ | fwrite vier.c:42:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 42 | exit(1); | ^~~~ vier.c:42:5: note: include '' or provide a declaration of 'exit' vier.c: In function 'w_zugzwang': vier.c:229:9: error: implicit declaration of function 's_zugzwang'; did you mean 'w_zugzwang'? [-Wimplicit-function-declaration] 229 | m = s_zugzwang(remain-1); | ^~~~~~~~~~ | w_zugzwang vier.c: In function 'comp_weiss': vier.c:365:12: error: implicit declaration of function 'comp_schwarz' [-Wimplicit-function-declaration] 365 | wert = comp_schwarz(h1, lev + 1, 100000); | ^~~~~~~~~~~~ vier.c: In function 'main': vier.c:478:15: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 478 | (rows = atoi(argv[1])) < 4 || rows > MAXRC || | ^~~~ vier.c:481:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 481 | exit(1); | ^~~~ vier.c:481:5: note: include '' or provide a declaration of 'exit' vier.c:483:3: error: implicit declaration of function 'vierinit' [-Wimplicit-function-declaration] 483 | vierinit(); | ^~~~~~~~ vier.c:487:3: error: implicit declaration of function 'srand' [-Wimplicit-function-declaration] 487 | srand((int) time(NULL)); | ^~~~~ vier.c:602:19: error: implicit declaration of function 'rand' [-Wimplicit-function-declaration] 602 | zi = same[rand() % same_n]; | ^~~~ --- xvier.o --- xvier.c:11:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 11 | char *malloc(); | ^~~~~~ xvier.c:10:1: note: 'malloc' is declared in header '' 9 | #include "xvier.h" +++ |+#include 10 | --- vierinit.o --- In file included from vierinit.c:4: vier.h:1:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 1 | char *malloc(); | ^~~~~~ vier.h:1:1: note: 'malloc' is declared in header '' +++ |+#include 1 | char *malloc(); --- xvier.o --- xvier.c: In function 'write_prog': xvier.c:143:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 143 | if (write(pipeo[1], &ch, 1) < 1) { | ^~~~~ | fwrite xvier.c:145:7: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 145 | exit(1); | ^~~~ xvier.c:145:7: note: include '' or provide a declaration of 'exit' xvier.c:145:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] xvier.c:145:7: note: include '' or provide a declaration of 'exit' xvier.c: In function 'message': xvier.c:160:45: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 160 | messagestring[newindex], strlen(messagestring[newindex])); | ^~~~~~ xvier.c:69:1: note: include '' or provide a declaration of 'strlen' 68 | #include "patchlevel.h" +++ |+#include 69 | char Title[] = XVIER_VERSION; xvier.c:160:45: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 160 | messagestring[newindex], strlen(messagestring[newindex])); | ^~~~~~ xvier.c:160:45: note: include '' or provide a declaration of 'strlen' xvier.c: In function 'recalculate': xvier.c:275:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 275 | strlen(messagestring[j]), &d1, &d2, &d3, &tmpsize); | ^~~~~~ xvier.c:275:22: note: include '' or provide a declaration of 'strlen' xvier.c:293:54: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 293 | XTextExtents(fontstructarray[i], playercolor[0], strlen(playercolor[0]), | ^~~~~~ xvier.c:293:54: note: include '' or provide a declaration of 'strlen' --- vier.o --- *** [vier.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xvier/work/xvier-1.0 --- xvier.o --- xvier.c: In function 'main': xvier.c:384:9: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 384 | if (strcmp(argv[i], "-display") == 0) | ^~~~~~ xvier.c:384:9: note: include '' or provide a declaration of 'strcmp' xvier.c:408:21: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 408 | if ((rows = atoi(argv[i])) < 4 || rows > MAXRC) | ^~~~ xvier.c:431:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 431 | exit(1); | ^~~~ xvier.c:431:11: note: include '' or provide a declaration of 'exit' xvier.c:440:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 440 | exit(1); | ^~~~ xvier.c:440:7: note: include '' or provide a declaration of 'exit' xvier.c:449:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 449 | exit(1); | ^~~~ xvier.c:449:5: note: include '' or provide a declaration of 'exit' xvier.c:451:7: error: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 451 | if (pipe(pipeo) < 0 || pipe(pipei) < 0) { | ^~~~ xvier.c:453:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 453 | exit(1); | ^~~~ xvier.c:453:5: note: include '' or provide a declaration of 'exit' xvier.c:455:17: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 455 | switch (pid = fork()) { | ^~~~ xvier.c:458:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 458 | exit(1); | ^~~~ xvier.c:458:5: note: include '' or provide a declaration of 'exit' xvier.c:460:9: error: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] 460 | if (dup2(pipeo[0], 0) < 0 || dup2(pipei[1], 1) < 0) { | ^~~~ xvier.c:471:14: error: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] 471 | for (i = getdtablesize(); i > 2; i--) | ^~~~~~~~~~~~~ xvier.c:473:7: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 473 | close(i); | ^~~~~ | pclose xvier.c:482:5: error: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 482 | execvp(progname, av); | ^~~~~~ In file included from /usr/include/sys/types.h:687, from /home/pbulk/build/games/xvier/work/.buildlink/include/X11/Xlib.h:38, from xvier.c:1: xvier.c:498:3: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 498 | FD_ZERO(&fullfds); | ^~~~~~~ xvier.c:498:3: note: include '' or provide a declaration of 'memset' xvier.c:504:9: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 504 | if (read(pipei[0], &text[i], 1) < 1) { | ^~~~ | fread xvier.c:506:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 506 | exit(1); | ^~~~ xvier.c:506:7: note: include '' or provide a declaration of 'exit' xvier.c:517:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 517 | exit(1); | ^~~~ xvier.c:517:5: note: include '' or provide a declaration of 'exit' xvier.c:580:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 580 | exit(2); | ^~~~ xvier.c:580:11: note: include '' or provide a declaration of 'exit' xvier.c:715:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 715 | exit(1); | ^~~~ xvier.c:715:5: note: include '' or provide a declaration of 'exit' xvier.c:806:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 806 | free(data); | ^~~~ xvier.c:806:5: note: include '' or provide a declaration of 'free' xvier.c:806:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] xvier.c:806:5: note: include '' or provide a declaration of 'free' xvier.c:851:7: error: implicit declaration of function 'qsort' [-Wimplicit-function-declaration] 851 | qsort((char *) fontstructarray, fontnum, sizeof(XFontStruct *), font_cmp); | ^~~~~ xvier.c:922:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 922 | strlen(playercolor[1 - c_index])); | ^~~~~~ xvier.c:922:30: note: include '' or provide a declaration of 'strlen' xvier.c:1100:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1100 | exit(1); | ^~~~ xvier.c:1100:9: note: include '' or provide a declaration of 'exit' xvier.c:1178:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1178 | exit(0); | ^~~~ xvier.c:1178:3: note: include '' or provide a declaration of 'exit' *** [xvier.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/games/xvier/work/xvier-1.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/games/xvier/work/xvier-1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xvier *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/xvier