+ 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 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 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 | 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' 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); | ^~~~~~ 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' *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/games/xvier/work/xvier-1.0 *** Error code 1 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