=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/xdu", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xdu-3.0nb8 --- xdu.o --- --- xwin.o --- --- xdu.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xdu.c --- xwin.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xwin.c --- xdu.o --- xdu.c:38:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | extern nodeinfo(), helpinfo(); | ~~~~~~ ^ | int xdu.c:38:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | extern nodeinfo(), helpinfo(); | ~~~~~~ ^ | int xdu.c:42:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 42 | char *strdup(); | ^ xdu.c:99:22: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | np = (struct node *)calloc(1,sizeof(struct node)); | ^ xdu.c:99:22: note: include the header or explicitly provide a declaration for 'calloc' xdu.c:102:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | exit(1); | ^ xdu.c:102:3: note: include the header or explicitly provide a declaration for 'exit' xdu.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | makenode(name,size) | ^ xdu.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | findnode(treep, x, y) | ^ xdu.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | numchildren(nodep) | ^ xdu.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | fix_tree(top) | ^ xdu.c:199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | main(argc,argv) | ^ | int xdu.c:206:8: warning: passing arguments to 'xsetup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | xsetup(&argc,argv); | ^ xdu.c:208:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | if (isatty(fileno(stdin))) { | ^ xdu.c:209:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 209 | fprintf(stderr, usage); | ^~~~~ xdu.c:209:20: note: treat the string as an argument to avoid this 209 | fprintf(stderr, usage); | ^ | "%s", xdu.c:212:14: warning: passing arguments to 'parse_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | parse_file("-"); | ^ xdu.c:215:13: warning: passing arguments to 'parse_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | parse_file(argv[1]); | ^ xdu.c:217:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 217 | fprintf(stderr, usage); | ^~~~~ xdu.c:217:19: note: treat the string as an argument to avoid this 217 | fprintf(stderr, usage); | ^ | "%s", xdu.c:224:11: warning: passing arguments to 'sorttree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | sorttree(&top, order); | ^ xdu.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | main(argc,argv) | ^ xdu.c:254:15: warning: call to undeclared library function 'strtol' with type 'long (const char *, char **, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | size = (int)strtol( buf, &name, 10 ); | ^ xdu.c:254:15: note: include the header or explicitly provide a declaration for 'strtol' xdu.c:255:11: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | while ( isspace(*name) ) name++; | ^ xdu.c:255:11: note: include the header or explicitly provide a declaration for 'isspace' xdu.c:257:14: warning: passing arguments to 'parse_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | parse_entry(name,size); | ^ xdu.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | parse_file(filename) | ^ xdu.c:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | void parse_file(); | ^ xdu.c:289:9: warning: passing arguments to 'addtree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | addtree(&top,path,size); | ^ xdu.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | parse_entry(name,size) | ^ xdu.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | void parse_entry(); | ^ xdu.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | compare(n1,n2,order) | ^ xdu.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | insertchild(nodep,childp,order) | ^ xdu.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | addtree(top, path, size) | ^ xdu.c:43:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | void addtree(); | ^ xdu.c:435:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 435 | printf("%s %d\n", np->name, np->size); | ~~ ^~~~~~~~ | %ld xdu.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | dumptree(np,level) | ^ xdu.c:46:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | void dumptree(); | ^ xdu.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | sorttree(np, order) | ^ xdu.c:48:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | void sorttree(); | ^ xdu.c:481:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 481 | drawnode(nodep, rect) | ^ | int xdu.c:503:2: warning: call to undeclared function 'drawchildren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | drawchildren(nodep, subrect); | ^ xdu.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | drawnode(nodep, rect) | ^ xdu.c:504:1: warning: non-void function does not return a value [-Wreturn-type] 504 | } | ^ xdu.c:510:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 510 | drawchildren(nodep, rect) | ^ | int xdu.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xdu.c:562:1: warning: non-void function does not return a value [-Wreturn-type] 562 | } | ^ xdu.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | clearrects(nodep) | ^ xdu.c:47:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | void clearrects(); | ^ xdu.c:588:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 588 | pwd() | ^ | int xdu.c:614:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 614 | printf("%s %d (%.2f%%)\n", path, topp->size, | ~~ ^~~~~~~~~~ | %ld xdu.c:616:1: warning: non-void function does not return a value [-Wreturn-type] 616 | } | ^ xdu.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | press(x,y) | ^ xdu.c:37:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern int press(), reset(), repaint(), setorder(), reorder(); | ^ xdu.c:639:1: warning: non-void function does not return a value [-Wreturn-type] 639 | } | ^ xdu.c:648:1: warning: non-void function does not return a value [-Wreturn-type] 648 | } | ^ xdu.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | repaint(width,height) | ^ xdu.c:37:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern int press(), reset(), repaint(), setorder(), reorder(); | ^ xdu.c:667:1: warning: non-void function does not return a value [-Wreturn-type] 667 | } | ^ xdu.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | setorder(op) | ^ xdu.c:37:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern int press(), reset(), repaint(), setorder(), reorder(); | ^ xdu.c:709:1: warning: non-void function does not return a value [-Wreturn-type] 709 | } | ^ xdu.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | reorder(op) | ^ xdu.c:37:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern int press(), reset(), repaint(), setorder(), reorder(); | ^ xdu.c:718:1: warning: non-void function does not return a value [-Wreturn-type] 718 | } | ^ xdu.c:730:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 730 | printf("%-8d %s\n", np->size, np->name); | ~~~~ ^~~~~~~~ | %-8ld xdu.c:732:1: warning: non-void function does not return a value [-Wreturn-type] 732 | } | ^ xdu.c:749:1: warning: non-void function does not return a value [-Wreturn-type] 749 | } | ^ --- xwin.o --- xwin.c:158:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | static void a_quit(w, event, params, num_params) | ^ xwin.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | static void a_quit(); | ^ xwin.c:174:7: warning: passing arguments to 'press' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | press(event->xbutton.x, event->xbutton.y); | ^ xwin.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static void a_goto(w, event, params, num_params) | ^ xwin.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void a_goto(); | ^ xwin.c:177:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | static void a_reset(w, event, params, num_params) | ^ xwin.c:106:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static void a_reset(); | ^ xwin.c:195:10: warning: passing arguments to 'reorder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | reorder(*params); | ^ xwin.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | static void a_reorder(w, event, params, num_params) | ^ xwin.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void a_reorder(); | ^ xwin.c:199:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | static void a_size(w, event, params, num_params) | ^ xwin.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void a_size(); | ^ xwin.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | static void a_ncol(w, event, params, num_params) | ^ xwin.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static void a_ncol(); | ^ xwin.c:233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | static void a_info(w, event, params, num_params) | ^ xwin.c:111:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static void a_info(); | ^ xwin.c:242:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | static void a_help(w, event, params, num_params) | ^ xwin.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static void a_help(); | ^ xwin.c:252:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | static void a_removehelp(w, event, params, num_params) | ^ xwin.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static void a_removehelp(); | ^ xwin.c:263:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | static void c_resize(w, data, event, continue_to_dispatch) | ^ xwin.c:273:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | static void c_repaint(w, data, event, continue_to_dispatch) | ^ xwin.c:347:10: warning: passing arguments to 'setorder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | setorder(res.order); | ^ xwin.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | xsetup(argcp, argv) | ^ xwin.c:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern int xsetup(); | ^ xwin.c:349:1: warning: non-void function does not return a value [-Wreturn-type] 349 | } | ^ xwin.c:351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 351 | xmainloop() | ^ | int xwin.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | xclear() | ^ | int xwin.c:360:1: warning: non-void function does not return a value [-Wreturn-type] 360 | } | ^ xwin.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | xrepaint() | ^ | int xwin.c:368:9: warning: passing arguments to 'repaint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | repaint(xwa.width, xwa.height); | ^ xwin.c:369:1: warning: non-void function does not return a value [-Wreturn-type] 369 | } | ^ xwin.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | xrepaint_noclear() | ^ | int xwin.c:376:9: warning: passing arguments to 'repaint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | repaint(xwa.width, xwa.height); | ^ xwin.c:377:1: warning: non-void function does not return a value [-Wreturn-type] 377 | } | ^ xwin.c:284:15: warning: unused variable 'WorkingCursor' [-Wunused-variable] 284 | static Cursor WorkingCursor; | ^~~~~~~~~~~~~ xwin.c:290:11: warning: unused variable 'cleargc' [-Wunused-variable] 290 | static GC cleargc; | ^~~~~~~ --- xdu.o --- 63 warnings generated. --- xdu._man --- rm -f xdu._man --- xwin.o --- 37 warnings generated. --- xdu._man --- if test -z "" ; then cd `dirname xdu` && ln -s `basename xdu.man` `basename xdu._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/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 clang -o xdu -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xdu.o xwin.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11