+ 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/freeze-2.5nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/freeze-2.5nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for freeze-2.5nb3 --- bitio.o --- --- debug.o --- --- decode.o --- --- default.o --- --- bitio.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" bitio.c --- debug.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" debug.c --- decode.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" decode.c --- default.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" default.c --- encode.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" encode.c --- freeze.o --- --- default.o --- default.c: In function 'defread': default.c:40:25: error: type defaults to 'int' in declaration of 'sz_patt' [-Wimplicit-int] 40 | register sz_patt; | ^~~~~~~ default.c:47:19: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 47 | sz_patt = strlen(pattern); | ^~~~~~ default.c:3:1: note: include '' or provide a declaration of 'strlen' 2 | #include +++ |+#include 3 | default.c:47:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 47 | sz_patt = strlen(pattern); | ^~~~~~ default.c:47:19: note: include '' or provide a declaration of 'strlen' default.c:55:22: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 55 | if (!strncmp(pattern, defline, sz_patt)) | ^~~~~~~ --- decode.o --- decode.c: In function 'melt2': decode.c:14:12: error: implicit declaration of function 'read_header'; did you mean 'write_header'? [-Wimplicit-function-declaration] 14 | if(read_header() == EOF) | ^~~~~~~~~~~ | write_header --- default.o --- default.c:55:22: note: include '' or provide a declaration of 'strncmp' default.c:55:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 55 | if (!strncmp(pattern, defline, sz_patt)) | ^~~~~~~ : note: built-in 'strncmp' declared here *** [default.o] Error code 1 bmake: stopped making "prog" in /home/pbulk/build/archivers/freeze/work/freeze-2.5 --- freeze.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" freeze.c --- decode.o --- *** [decode.o] Error code 1 bmake: stopped making "prog" in /home/pbulk/build/archivers/freeze/work/freeze-2.5 --- freeze.o --- freeze.c: In function 'main': freeze.c:196:11: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 196 | char *malloc(); | ^~~~~~ freeze.c:5:1: note: 'malloc' is declared in header '' 4 | #include "patchlev.h" +++ |+#include 5 | freeze.c:248:8: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 248 | if (!strcmp(cp, "unfreeze") || !strcmp(cp, "melt")) { | ^~~~~~ freeze.c:5:1: note: include '' or provide a declaration of 'strcmp' 4 | #include "patchlev.h" +++ |+#include 5 | freeze.c:270:12: error: implicit declaration of function 'defopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 270 | (void) defopen(deffile); | ^~~~~~~ | fopen freeze.c:354:11: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 354 | exit(1); | ^~~~ freeze.c:354:11: note: include '' or provide a declaration of 'exit' freeze.c:354:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] freeze.c:354:11: note: include '' or provide a declaration of 'exit' freeze.c:382:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 382 | free(p); | ^~~~ freeze.c:382:5: note: include '' or provide a declaration of 'free' freeze.c:382:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] freeze.c:382:5: note: include '' or provide a declaration of 'free' freeze.c:430:31: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 430 | if (strcmp(*fileptr + strlen(*fileptr) - 2, ".F") != 0) { | ^~~~~~ freeze.c:430:31: note: include '' or provide a declaration of 'strlen' freeze.c:430:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] freeze.c:430:31: note: include '' or provide a declaration of 'strlen' freeze.c:432:18: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 432 | (void) strcpy(tempname, *fileptr); | ^~~~~~ freeze.c:432:18: note: include '' or provide a declaration of 'strcpy' freeze.c:432:18: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] freeze.c:432:18: note: include '' or provide a declaration of 'strcpy' freeze.c:433:18: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 433 | (void) strcat(tempname, ".F"); | ^~~~~~ freeze.c:433:18: note: include '' or provide a declaration of 'strcat' freeze.c:433:18: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] freeze.c:433:18: note: include '' or provide a declaration of 'strcat' freeze.c:440:13: error: implicit declaration of function 'checkstat' [-Wimplicit-function-declaration] 440 | if (checkstat(*fileptr)) | ^~~~~~~~~ freeze.c:473:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 473 | (void) strcpy(ofname, *fileptr); | ^~~~~~ freeze.c:473:16: note: include '' or provide a declaration of 'strcpy' freeze.c:474:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 474 | ofname[strlen(ofname) - 2] = '\0'; /* Strip off .F */ | ^~~~~~ freeze.c:474:16: note: include '' or provide a declaration of 'strlen' freeze.c:488:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 488 | if (strcmp(*fileptr + strlen(*fileptr) - 2, ".F") == 0) { | ^~~~~~ freeze.c:488:31: note: include '' or provide a declaration of 'strlen' freeze.c:511:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 511 | (void) strcpy(ofname, *fileptr); | ^~~~~~ freeze.c:511:16: note: include '' or provide a declaration of 'strcpy' freeze.c:544:16: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 544 | (void) strcat(ofname, ".F"); | ^~~~~~ freeze.c:544:16: note: include '' or provide a declaration of 'strcat' freeze.c:555:15: error: implicit declaration of function 'foreground' [-Wimplicit-function-declaration] 555 | if (foreground()) { | ^~~~~~~~~~ freeze.c:560:20: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 560 | (void) read(2, response, 2); | ^~~~ | fread freeze.c:632:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 632 | exit(1); | ^~~~ freeze.c:632:7: note: include '' or provide a declaration of 'exit' freeze.c:676:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 676 | exit(1); | ^~~~ freeze.c:676:9: note: include '' or provide a declaration of 'exit' freeze.c:689:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 689 | exit(exit_stat); | ^~~~ freeze.c:689:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'writeerr': freeze.c:748:12: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 748 | (void) unlink(ofname); | ^~~~~~ freeze.c:750:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 750 | exit(1); | ^~~~ freeze.c:750:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'copystat': freeze.c:802:12: error: implicit declaration of function 'chown' [-Wimplicit-function-declaration] 802 | (void) chown(ofname, (int) statbuf.st_uid, (int) statbuf.st_gid); | ^~~~~ freeze.c: In function 'foreground': freeze.c:891:9: error: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] 891 | if (isatty(2)) { /* and stderr is a tty */ | ^~~~~~ freeze.c: In function 'onintr': freeze.c:909:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 909 | exit(1); | ^~~~ freeze.c:909:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'oops': freeze.c:918:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 918 | exit(1); | ^~~~ freeze.c:918:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'version': freeze.c:950:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 950 | exit(0); | ^~~~ freeze.c:950:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'tune_table': freeze.c:971:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 971 | exit(1); | ^~~~ freeze.c:971:7: note: include '' or provide a declaration of 'exit' freeze.c:977:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 977 | exit(1); | ^~~~ freeze.c:977:7: note: include '' or provide a declaration of 'exit' freeze.c:990:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 990 | exit(1); | ^~~~ freeze.c:990:5: note: include '' or provide a declaration of 'exit' *** [freeze.o] Error code 1 bmake: stopped making "prog" in /home/pbulk/build/archivers/freeze/work/freeze-2.5 bmake: 3 errors bmake: stopped making "prog" in /home/pbulk/build/archivers/freeze/work/freeze-2.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/freeze *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/freeze