+ 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/xdu-3.0nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xdu-3.0nb8/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xdu-3.0nb8 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 -I/opt/pkg/include -c xdu.c xdu.c:38:8: error: type defaults to 'int' in declaration of 'nodeinfo' [-Wimplicit-int] 38 | extern nodeinfo(), helpinfo(); | ^~~~~~~~ xdu.c:38:20: error: type defaults to 'int' in declaration of 'helpinfo' [-Wimplicit-int] 38 | extern nodeinfo(), helpinfo(); | ^~~~~~~~ xdu.c: In function 'makenode': xdu.c:99:29: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 99 | np = (struct node *)calloc(1,sizeof(struct node)); | ^~~~~~ xdu.c:26:1: note: include '' or provide a declaration of 'calloc' 25 | #include "version.h" +++ |+#include 26 | xdu.c:99:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 99 | np = (struct node *)calloc(1,sizeof(struct node)); | ^~~~~~ xdu.c:99:29: note: include '' or provide a declaration of 'calloc' xdu.c:102:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 102 | exit(1); | ^~~~ xdu.c:102:17: note: include '' or provide a declaration of 'exit' xdu.c:102:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] xdu.c:102:17: note: include '' or provide a declaration of 'exit' xdu.c: At top level: xdu.c:199:1: error: return type defaults to 'int' [-Wimplicit-int] 199 | main(argc,argv) | ^~~~ xdu.c: In function 'main': xdu.c:208:21: error: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] 208 | if (isatty(fileno(stdin))) { | ^~~~~~ xdu.c:210:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 210 | exit(1); | ^~~~ xdu.c:210:25: note: include '' or provide a declaration of 'exit' xdu.c:218:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 218 | exit(1); | ^~~~ xdu.c:218:17: note: include '' or provide a declaration of 'exit' xdu.c:232:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 232 | exit(0); | ^~~~ xdu.c:232:9: note: include '' or provide a declaration of 'exit' xdu.c: In function 'parse_file': xdu.c:249:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 249 | exit(1); | ^~~~ xdu.c:249:25: note: include '' or provide a declaration of 'exit' xdu.c:254:29: error: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] 254 | size = (int)strtol( buf, &name, 10 ); | ^~~~~~ | strtok xdu.c:255:25: error: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 255 | while ( isspace(*name) ) name++; | ^~~~~~~ xdu.c:26:1: note: include '' or provide a declaration of 'isspace' 25 | #include "version.h" +++ |+#include 26 | xdu.c: At top level: xdu.c:481:1: error: return type defaults to 'int' [-Wimplicit-int] 481 | drawnode(nodep, rect) | ^~~~~~~~ xdu.c: In function 'drawnode': xdu.c:503:9: error: implicit declaration of function 'drawchildren'; did you mean 'numchildren'? [-Wimplicit-function-declaration] 503 | drawchildren(nodep, subrect); | ^~~~~~~~~~~~ | numchildren xdu.c: At top level: xdu.c:510:1: error: return type defaults to 'int' [-Wimplicit-int] 510 | drawchildren(nodep, rect) | ^~~~~~~~~~~~ xdu.c:588:1: error: return type defaults to 'int' [-Wimplicit-int] 588 | pwd() | ^~~ *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/sysutils/xdu/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/xdu *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/xdu