+ 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xdu.c:38:8: warning: type defaults to 'int' in declaration of 'nodeinfo' [-Wimplicit-int] extern nodeinfo(), helpinfo(); ^~~~~~~~ xdu.c:38:20: warning: type defaults to 'int' in declaration of 'helpinfo' [-Wimplicit-int] extern nodeinfo(), helpinfo(); ^~~~~~~~ xdu.c: In function 'makenode': xdu.c:99:22: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] np = (struct node *)calloc(1,sizeof(struct node)); ^~~~~~ xdu.c:99:22: warning: incompatible implicit declaration of built-in function 'calloc' xdu.c:99:22: note: include '<stdlib.h>' or provide a declaration of 'calloc' xdu.c:26:1: +#include <stdlib.h> xdu.c:99:22: np = (struct node *)calloc(1,sizeof(struct node)); ^~~~~~ --- xwin.o --- xwin.c:351:1: warning: return type defaults to 'int' [-Wimplicit-int] xmainloop() ^~~~~~~~~ xwin.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int] xclear() ^~~~~~ xwin.c:362:1: warning: return type defaults to 'int' [-Wimplicit-int] xrepaint() ^~~~~~~~ xwin.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] xrepaint_noclear() ^~~~~~~~~~~~~~~~ --- xdu.o --- xdu.c:102:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ xdu.c:102:3: warning: incompatible implicit declaration of built-in function 'exit' xdu.c:102:3: 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] main(argc,argv) ^~~~ xdu.c: In function 'main': xdu.c:208:7: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] if (isatty(fileno(stdin))) { ^~~~~~ xdu.c:210:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xdu.c:210:4: note: include '<stdlib.h>' or provide a declaration of 'exit' xdu.c:218:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xdu.c:218:3: note: include '<stdlib.h>' or provide a declaration of 'exit' xdu.c:232:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ xdu.c:232:2: note: include '<stdlib.h>' or provide a declaration of 'exit' xdu.c: In function 'parse_file': xdu.c:249:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ xdu.c:249:4: note: include '<stdlib.h>' or provide a declaration of 'exit' xdu.c:254:15: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] size = (int)strtol( buf, &name, 10 ); ^~~~~~ strtok xdu.c:255:11: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] while ( isspace(*name) ) name++; ^~~~~~~ xdu.c: At top level: xdu.c:481:1: warning: return type defaults to 'int' [-Wimplicit-int] drawnode(nodep, rect) ^~~~~~~~ xdu.c: In function 'drawnode': xdu.c:503:2: warning: implicit declaration of function 'drawchildren'; did you mean 'numchildren'? [-Wimplicit-function-declaration] drawchildren(nodep, subrect); ^~~~~~~~~~~~ numchildren xdu.c: At top level: xdu.c:510:1: warning: return type defaults to 'int' [-Wimplicit-int] drawchildren(nodep, rect) ^~~~~~~~~~~~ xdu.c:588:1: warning: return type defaults to 'int' [-Wimplicit-int] 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