===> xdu-0cipiertest_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xdu-0cipiertest_4 for building ===> Extracting for xdu-0cipiertest_4 => SHA256 Checksum OK for vlasovskikh-xdu-0cipiertest_GH0.tar.gz. ===> Patching for xdu-0cipiertest_4 ===> xdu-0cipiertest_4 depends on executable: imake - found ===> xdu-0cipiertest_4 depends on executable: tradcpp - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> xdu-0cipiertest_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Configuring for xdu-0cipiertest_4 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xdu.c xwin.c > .depend ===> Building for xdu-0cipiertest_4 --- xdu.o --- --- xwin.o --- --- xdu._man --- --- xdu.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xdu.c -o xdu.o --- xwin.o --- cc -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xwin.c -o xwin.o --- xdu._man --- rm -f xdu._man if test -z "" ; then cd `dirname xdu` && ln -s `basename xdu.man` `basename xdu._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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.o --- xdu.c:25:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *calloc(); ^ xdu.c:25:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' xdu.c:25:25: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *calloc(); ^ xdu.c:25:25: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' xdu.c:37:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern nodeinfo(), helpinfo(); ~~~~~~ ^ xdu.c:37:20: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern nodeinfo(), helpinfo(); ~~~~~~ ^ xdu.c:194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ xdu.c:203:7: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] if (isatty(fileno(stdin))) { ^ xdu.c:204:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ xdu.c:204:20: note: treat the string as an argument to avoid this fprintf(stderr, usage); ^ "%s", xdu.c:205:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ xdu.c:205:4: note: include the header or explicitly provide a declaration for 'exit' xdu.c:209:26: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] } else if (argc == 2 && strcmp(argv[1],"-help") != 0) { ^ xdu.c:209:26: note: include the header or explicitly provide a declaration for 'strcmp' xdu.c:212:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ xdu.c:212:19: note: treat the string as an argument to avoid this fprintf(stderr, usage); ^ "%s", xdu.c:269:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] length = strlen(name); ^ xdu.c:269:11: note: include the header or explicitly provide a declaration for 'strlen' xdu.c:276:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero(path,sizeof(path)); ^ xdu.c:276:2: note: include the header or explicitly provide a declaration for 'bzero' xdu.c:278:15: warning: comparison between pointer and integer ('int' and 'void *') while (*name != NULL) { ~~~~~ ^ ~~~~ xdu.c:442:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s %d\n", np->name, np->size); ~~ ^~~~~~~~ %ld xdu.c:488:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] drawnode(nodep, rect) ^ xdu.c:510:2: warning: implicit declaration of function 'drawchildren' is invalid in C99 [-Wimplicit-function-declaration] drawchildren(nodep, subrect); ^ xdu.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:517:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] drawchildren(nodep, rect) ^ xdu.c:569:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:595:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pwd() ^ xdu.c:617:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(path,stack[num]->name); ^ xdu.c:617:3: note: include the header or explicitly provide a declaration for 'strcat' xdu.c:621:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%s %d (%.2f%%)\n", path, topp->size, ~~ ^~~~~~~~~~ %ld xdu.c:623:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:627:7: warning: promoted type 'char *' of K&R function parameter is not compatible with the parameter type 'const char *' declared in a previous prototype [-Wknr-promoted-parameter] char *s; ^ xdu.c:634:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(cp,s); ^ xdu.c:634:2: note: include the header or explicitly provide a declaration for 'strcpy' xdu.c:660:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:669:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:688:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:730:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:751:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("%-8d %s\n", np->size, np->name); ~~~~ ^~~~~~~~ %-8ld xdu.c:753:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xdu.c:770:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ --- xwin.o --- xwin.c:350:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xwin.c:352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xmainloop() ^ xwin.c:358:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xclear() ^ xwin.c:361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xwin.c:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xrepaint() ^ xwin.c:370:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xwin.c:372:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xrepaint_noclear() ^ xwin.c:378:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xwin.c:380:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xdrawrect(name, size, x, y, width, height) ^ xwin.c:403:3: error: non-void function 'xdrawrect' should return a value [-Wreturn-type] return; ^ 9 warnings and 1 error generated. *** [xwin.o] Error code 1 make[1]: stopped in /wrkdirs/xdu-0cipiertest-port/work/xdu-0cipiertest --- xdu.o --- 33 warnings generated. make[1]: stopped in /wrkdirs/xdu-0cipiertest-port/work/xdu-0cipiertest ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xdu-0cipiertest-port 1