=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/games/xvier", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xvier-1.0nb4 --- xvier.o --- --- vierinit.o --- --- 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 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(); vierinit.c: In function 'vierinit': vierinit.c:15:18: error: too many arguments to function 'malloc'; expected 0, have 1 15 | brett = (int *)malloc(row_col * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:18:18: error: too many arguments to function 'malloc'; expected 0, have 1 18 | weiss = (int *)malloc(vnum * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:19:20: error: too many arguments to function 'malloc'; expected 0, have 1 19 | schwarz = (int *)malloc(vnum * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:26:19: error: too many arguments to function 'malloc'; expected 0, have 1 26 | freip = (int **)malloc(row_col * sizeof(int *)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:30:22: error: too many arguments to function 'malloc'; expected 0, have 1 30 | doublesp = (int **)malloc(row_col * sizeof(int *)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:46:20: error: too many arguments to function 'malloc'; expected 0, have 1 46 | pu = (int (*)[4])malloc(vnum * sizeof(*pu)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:80:18: error: too many arguments to function 'malloc'; expected 0, have 1 80 | _p_h_ = (int *)malloc((row_col + 4 * vnum) * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:81:16: error: too many arguments to function 'malloc'; expected 0, have 1 81 | pp = (int **)malloc(row_col * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:90:5: error: too many arguments to function 'malloc'; expected 0, have 1 90 | malloc(4 * (vnum + row_col) * sizeof(struct oldv)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ vierinit.c:91:30: error: too many arguments to function 'malloc'; expected 0, have 1 91 | zugstack = (struct oldv **)malloc(row_col * sizeof(struct oldv *)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vier.h:1:7: note: declared here 1 | char *malloc(); | ^~~~~~ *** [vierinit.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/games/xvier/work/xvier-1.0 --- 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 | xvier.c: In function 'font_cmp': xvier.c:116:5: warning: old-style function definition [-Wold-style-definition] 116 | int font_cmp(p1, p2) | ^~~~~~~~ xvier.c: In function 'write_prog': xvier.c:137:6: warning: old-style function definition [-Wold-style-definition] 137 | void write_prog(ch) | ^~~~~~~~~~ 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:153:6: warning: old-style function definition [-Wold-style-definition] 153 | void message(newindex) | ^~~~~~~ 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 'domove': xvier.c:163:6: warning: old-style function definition [-Wold-style-definition] 163 | void domove(ind, col) | ^~~~~~ xvier.c: In function 'undomove': xvier.c:179:6: warning: old-style function definition [-Wold-style-definition] 179 | void undomove(ind) | ^~~~~~~~ xvier.c: In function 'recalculate': xvier.c:195:6: warning: old-style function definition [-Wold-style-definition] 195 | void recalculate(width, height) | ^~~~~~~~~~~ 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:374:5: warning: old-style function definition [-Wold-style-definition] 374 | int main(argc, argv) | ^~~~ 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:519:23: error: too many arguments to function 'malloc'; expected 0, have 1 519 | columnfill = (int *)malloc(columns * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:522:23: error: too many arguments to function 'malloc'; expected 0, have 1 522 | stone_x[0] = (int *)malloc(((columns * rows + 1) >> 1) * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:523:23: error: too many arguments to function 'malloc'; expected 0, have 1 523 | stone_x[1] = (int *)malloc(((columns * rows + 1) >> 1) * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:524:23: error: too many arguments to function 'malloc'; expected 0, have 1 524 | stone_y[0] = (int *)malloc(((columns * rows + 1) >> 1) * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:525:23: error: too many arguments to function 'malloc'; expected 0, have 1 525 | stone_y[1] = (int *)malloc(((columns * rows + 1) >> 1) * sizeof(int)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:526:22: error: too many arguments to function 'malloc'; expected 0, have 1 526 | stone[0] = (XArc *)malloc(((columns * rows + 1) >> 1) * sizeof(XArc)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:527:22: error: too many arguments to function 'malloc'; expected 0, have 1 527 | stone[1] = (XArc *)malloc(((columns * rows + 1) >> 1) * sizeof(XArc)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ xvier.c:528:19: error: too many arguments to function 'malloc'; expected 0, have 1 528 | holes = (XArc *)malloc((columns * rows) * sizeof(XArc)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ 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:799:12: error: too many arguments to function 'malloc'; expected 0, have 1 799 | data = malloc(w_8 * h); | ^~~~~~ ~~~~~~~ xvier.c:11:7: note: declared here 11 | char *malloc(); | ^~~~~~ 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/work/games/xvier/work/xvier-1.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/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