+ 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/squsq-3.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/squsq-3.3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for squsq-3.3 --- sq.o --- --- tr1.o --- --- tr2.o --- --- sqio.o --- --- sq.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c sq.c --- tr1.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c tr1.c --- tr2.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c tr2.c --- sqio.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c sqio.c --- tr1.o --- tr1.c:16:1: error: return type defaults to 'int' [-Wimplicit-int] 16 | init_ncr() /*initialize getcnr() */ | ^~~~~~~~ tr1.c: In function 'getcnr': tr1.c:29:28: error: implicit declaration of function 'getc_crc'; did you mean 'getcnr'? [-Wimplicit-function-declaration] 29 | lastchar = getc_crc(iob); | ^~~~~~~~ | getcnr tr1.c:66:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 66 | exit(1); | ^~~~ tr1.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include "sq.h" +++ |+#include 4 | #define ERROR -1 tr1.c:66:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 66 | exit(1); | ^~~~ tr1.c:66:17: note: include '' or provide a declaration of 'exit' --- sqio.o --- sqio.c:44:1: error: return type defaults to 'int' [-Wimplicit-int] 44 | putce(c, iob) | ^~~~~ --- sq.o --- sq.c:91:1: error: return type defaults to 'int' [-Wimplicit-int] 91 | main(argc, argv) | ^~~~ sq.c: In function 'obey': sq.c:192:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 192 | strcpy(outfile, p); /* copy input name to output */ | ^~~~~~ sq.c:77:1: note: include '' or provide a declaration of 'strcpy' 76 | #include "sq.h" +++ |+#include 77 | #ifdef TOPS20 sq.c:192:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 192 | strcpy(outfile, p); /* copy input name to output */ | ^~~~~~ sq.c:192:9: note: include '' or provide a declaration of 'strcpy' sq.c:196:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 196 | if (strlen(outfile) + 3 > FNM_LEN) { /* check for long file name */ | ^~~~~~ --- tr2.o --- tr2.c:52:1: error: return type defaults to 'int' [-Wimplicit-int] 52 | init_huff(ib) | ^~~~~~~~~ tr2.c: In function 'init_huff': tr2.c:62:9: error: implicit declaration of function 'init_tree' [-Wimplicit-function-declaration] 62 | init_tree(); | ^~~~~~~~~ tr2.c:66:21: error: implicit declaration of function 'getcnr'; did you mean 'getchar'? [-Wimplicit-function-declaration] 66 | c = getcnr(ib); | ^~~~~~ | getchar tr2.c:84:17: error: implicit declaration of function 'scale' [-Wimplicit-function-declaration] 84 | scale(ceiling); | ^~~~~ tr2.c:102:17: error: implicit declaration of function 'heap' [-Wimplicit-function-declaration] 102 | heap(btlist, listlen); | ^~~~ tr2.c:105:17: error: implicit declaration of function 'bld_tree' [-Wimplicit-function-declaration] 105 | bld_tree(btlist, listlen); --- sqio.o --- sqio.c: In function 'putce': sqio.c:50:36: error: implicit declaration of function 'oflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 50 | if (oblen >= sizeof(obuf)) oflush(iob); | ^~~~~~ | fflush sqio.c: At top level: sqio.c:53:1: error: return type defaults to 'int' [-Wimplicit-int] 53 | putwe(w, iob) | ^~~~~ sqio.c:65:1: error: return type defaults to 'int' [-Wimplicit-int] 65 | oflush(iob) /* flush output buffer */ | ^~~~~~ sqio.c: In function 'oflush': sqio.c:70:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 70 | exit(1); | ^~~~ sqio.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include "sq.h" +++ |+#include 4 | #define ERROR -1 --- sq.o --- sq.c:196:13: note: include '' or provide a declaration of 'strlen' sq.c:196:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] sq.c:196:13: note: include '' or provide a declaration of 'strlen' sq.c:213:9: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 213 | strcat(outfile, ".SQ"); | ^~~~~~ sq.c:213:9: note: include '' or provide a declaration of 'strcat' sq.c:213:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] sq.c:213:9: note: include '' or provide a declaration of 'strcat' sq.c: In function 'squeeze': sq.c:268:9: error: implicit declaration of function 'init_ncr' [-Wimplicit-function-declaration] 268 | init_ncr(); | ^~~~~~~~ sq.c:269:9: error: implicit declaration of function 'init_huff' [-Wimplicit-function-declaration] 269 | init_huff(inbuff); --- tr2.o --- | ^~~~~~~~ tr2.c:108:17: error: implicit declaration of function 'init_enc' [-Wimplicit-function-declaration] 108 | init_enc(); | ^~~~~~~~ tr2.c:113:17: error: implicit declaration of function 'buildenc' [-Wimplicit-function-declaration] 113 | } while(buildenc(0, dctreehd) == ERROR); | ^~~~~~~~ tr2.c: At top level: tr2.c:132:1: error: return type defaults to 'int' [-Wimplicit-int] 132 | scale(ceil) | ^~~~~ tr2.c:174:1: error: return type defaults to 'int' [-Wimplicit-int] 174 | heap(list, length) | ^~~~ tr2.c: In function 'heap': tr2.c:180:17: error: implicit declaration of function 'adjust' [-Wimplicit-function-declaration] 180 | adjust(list, i, length - 1); | ^~~~~~ tr2.c: At top level: tr2.c:185:1: error: return type defaults to 'int' [-Wimplicit-int] 185 | adjust(list, top, bottom) | ^~~~~~ --- sqio.o --- sqio.c:70:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 70 | exit(1); | ^~~~ sqio.c:70:17: note: include '' or provide a declaration of 'exit' --- sq.o --- | ^~~~~~~~~ sq.c:276:9: error: implicit declaration of function 'wrt_head' [-Wimplicit-function-declaration] 276 | wrt_head(outbuff, infile); | ^~~~~~~~ sq.c:293:20: error: implicit declaration of function 'gethuff' [-Wimplicit-function-declaration] 293 | while((c = gethuff(inbuff)) != EOF) | ^~~~~~~ sq.c:294:17: error: implicit declaration of function 'putce'; did you mean 'putc'? [-Wimplicit-function-declaration] 294 | putce(c, outbuff); | ^~~~~ | putc sq.c:295:9: error: implicit declaration of function 'oflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 295 | oflush(outbuff); | ^~~~~~ | fflush --- tr2.o --- tr2.c:240:1: error: return type defaults to 'int' [-Wimplicit-int] 240 | bld_tree(list, len) | ^~~~~~~~ tr2.c:294:1: error: return type defaults to 'int' [-Wimplicit-int] 294 | init_tree() | ^~~~~~~~~ tr2.c:306:1: error: return type defaults to 'int' [-Wimplicit-int] 306 | init_enc() | ^~~~~~~~ tr2.c:377:1: error: return type defaults to 'int' [-Wimplicit-int] 377 | wrt_head(ob, infile) | ^~~~~~~~ tr2.c: In function 'wrt_head': tr2.c:389:9: error: implicit declaration of function 'putwe'; did you mean 'putw'? [-Wimplicit-function-declaration] 389 | putwe(RECOGNIZE, ob); /* identifies as compressed */ | ^~~~~ | putw tr2.c:408:17: error: implicit declaration of function 'putce'; did you mean 'putc'? [-Wimplicit-function-declaration] 408 | putce(*infile, ob); | ^~~~~ | putc --- sqio.o --- *** [sqio.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/archivers/squsq/work/t20-squsq --- tr2.o --- *** [tr2.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/archivers/squsq/work/t20-squsq --- tr1.o --- *** [tr1.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/archivers/squsq/work/t20-squsq --- sq.o --- *** [sq.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/archivers/squsq/work/t20-squsq bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/archivers/squsq/work/t20-squsq *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/squsq *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/squsq