+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xdu-3.0nb8/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xdu-3.0nb8/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xdu-3.0nb8 --- xdu.o --- --- xwin.o --- --- xdu.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c xdu.c --- xwin.o --- cc -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/pkg/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -c xwin.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/sysutils/xdu/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/sysutils/xdu/work/.buildlink/include/X11/Intrinsic.h:53, from xwin.c:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- xdu.o --- In file included from /usr/include/assert.h:35, from xdu.c:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- xwin.o --- xwin.c:351:1: warning: return type defaults to 'int' [-Wimplicit-int] 351 | xmainloop() | ^~~~~~~~~ xwin.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int] 357 | xclear() | ^~~~~~ xwin.c:362:1: warning: return type defaults to 'int' [-Wimplicit-int] 362 | xrepaint() | ^~~~~~~~ xwin.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] 371 | xrepaint_noclear() | ^~~~~~~~~~~~~~~~ --- xdu.o --- xdu.c:38:8: warning: type defaults to 'int' in declaration of 'nodeinfo' [-Wimplicit-int] 38 | extern nodeinfo(), helpinfo(); | ^~~~~~~~ xdu.c:38:20: warning: type defaults to 'int' in declaration of 'helpinfo' [-Wimplicit-int] 38 | extern nodeinfo(), helpinfo(); | ^~~~~~~~ xdu.c: In function 'makenode': xdu.c:99:29: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 99 | np = (struct node *)calloc(1,sizeof(struct node)); | ^~~~~~ xdu.c:26:1: note: include '<stdlib.h>' or provide a declaration of 'calloc' 25 | #include "version.h" +++ |+#include <stdlib.h> 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 '<stdlib.h>' or provide a declaration of 'calloc' xdu.c:102:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 102 | exit(1); | ^~~~ xdu.c:102:17: note: include '<stdlib.h>' 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 '<stdlib.h>' or provide a declaration of 'exit' xdu.c: At top level: xdu.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] 199 | main(argc,argv) | ^~~~ xdu.c: In function 'main': xdu.c:208:21: warning: 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 '<stdlib.h>' 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 '<stdlib.h>' 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 '<stdlib.h>' 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 '<stdlib.h>' or provide a declaration of 'exit' xdu.c:254:29: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] 254 | size = (int)strtol( buf, &name, 10 ); | ^~~~~~ | strtok xdu.c:255:25: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 255 | while ( isspace(*name) ) name++; | ^~~~~~~ xdu.c:26:1: note: include '<ctype.h>' or provide a declaration of 'isspace' 25 | #include "version.h" +++ |+#include <ctype.h> 26 | xdu.c: At top level: xdu.c:481:1: warning: return type defaults to 'int' [-Wimplicit-int] 481 | drawnode(nodep, rect) | ^~~~~~~~ xdu.c: In function 'drawnode': xdu.c:503:9: warning: 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: warning: return type defaults to 'int' [-Wimplicit-int] 510 | drawchildren(nodep, rect) | ^~~~~~~~~~~~ xdu.c:588:1: warning: return type defaults to 'int' [-Wimplicit-int] 588 | pwd() | ^~~ --- xdu._man --- rm -f xdu._man if test -z "" ; then cd `dirname xdu` && ln -s `basename xdu.man` `basename xdu._man`; else cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xdu.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xdu._man; fi --- xdu --- rm -f xdu cc -o xdu -O2 -fno-strength-reduce -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib xdu.o xwin.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib