>>> Building on amd64-3 under misc/xtar BDEPENDS = [devel/imake;devel/imake-cf;x11/motif] DIST = [misc/xtar:xtar-1.4.tar.gz] FULLPKGNAME = xtar-1.4p6 RDEPENDS = [x11/motif] (Junk lock obtained for amd64-3 at 1779500353.61) >>> Running depends in misc/xtar at 1779500353.64 last junk was in sysutils/u-boot/rk356x /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p3 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p3 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p3 >>> Running show-prepare-results in misc/xtar at 1779500357.27 ===> misc/xtar ===> Building from scratch xtar-1.4p6 ===> xtar-1.4p6 depends on: imake-* -> imake-1.0.10 ===> xtar-1.4p6 depends on: imake-cf-* -> imake-cf-1.0.8 ===> xtar-1.4p6 depends on: motif-* -> motif-2.3.8p3 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xt c m xcb Xm ===> found ICE.12.0 SM.9.0 X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xt.11.1 c.103.0 m.10.1 xcb.4.1 Xm.6.1 imake-1.0.10 imake-cf-1.0.8 motif-2.3.8p3 (Junk lock released for amd64-3 at 1779500357.89) distfiles size=87506 >>> Running build in misc/xtar at 1779500357.92 ===> misc/xtar ===> Checking files for xtar-1.4p6 `/usr/ports/distfiles/xtar-1.4.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xtar-1.4p6 ===> Patching for xtar-1.4p6 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Mon Jul 17 13:28:19 1995 |+++ Imakefile Fri Oct 26 23:58:56 2007 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 20. Hunk #2 succeeded at 30. done ===> Applying OpenBSD patch patch-ImakefileXbr Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Xbr/Imakefile.orig Tue May 9 10:06:46 1995 |+++ Xbr/Imakefile Fri Oct 26 23:58:56 2007 -------------------------- Patching file Xbr/Imakefile using Plan A... Hunk #1 succeeded at 20. done ===> Applying OpenBSD patch patch-XTar_tmpl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- XTar.tmpl.orig Mon Jul 17 06:04:17 1995 |+++ XTar.tmpl Sat Sep 29 03:20:01 2012 -------------------------- Patching file XTar.tmpl using Plan A... Hunk #1 succeeded at 20. done ===> Applying OpenBSD patch patch-common_str_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- common/str.c.orig Tue May 9 10:06:46 1995 |+++ common/str.c Fri Oct 26 23:58:56 2007 -------------------------- Patching file common/str.c using Plan A... Hunk #1 succeeded at 283. done ===> Applying OpenBSD patch patch-common_tmpfile_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- common/tmpfile.c.orig Tue May 9 10:06:46 1995 |+++ common/tmpfile.c Fri Oct 26 23:58:56 2007 -------------------------- Patching file common/tmpfile.c using Plan A... Hunk #1 succeeded at 90. done ===> Applying OpenBSD patch patch-xtar_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xtar.c.orig Mon Jul 17 13:44:19 1995 |+++ xtar.c Fri Oct 26 23:58:56 2007 -------------------------- Patching file xtar.c using Plan A... Hunk #1 succeeded at 1164. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xtar-1.4p6 ===> Configuring for xtar-1.4p6 imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in common... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol HasGnuAr is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in Xbr... In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol HasGnuAr is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 make includes including in ./common... including in ./Xbr... make depend rm -f .depend gccmakedep -f- -- -I./common -I./Xbr -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- about.c help.c xtar.c > .depend ===> Building for xtar-1.4p6 making all in ./common... rm -f ascii.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO ascii.c ascii.c:80:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | strcpy(date, ctime(&seconds)); | ^ ascii.c:80:5: note: include the header or explicitly provide a declaration for 'strcpy' ascii.c:81:5: warning: call to undeclared library function 'strlen' with type '__size_t (const char *)' (aka 'unsigned long (const char *)'); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | strip_nl(date); | ^ ./cdefs.h:35:26: note: expanded from macro 'strip_nl' 35 | #define strip_nl(string) strip_char(string, '\n') | ^ ./cdefs.h:30:34: note: expanded from macro 'strip_char' 30 | #define strip_char(string, c) if(strlen(string) > 0 && \ | ^ ascii.c:81:5: note: include the header or explicitly provide a declaration for 'strlen' ./cdefs.h:35:26: note: expanded from macro 'strip_nl' 35 | #define strip_nl(string) strip_char(string, '\n') | ^ ./cdefs.h:30:34: note: expanded from macro 'strip_char' 30 | #define strip_char(string, c) if(strlen(string) > 0 && \ | ^ 2 warnings generated. rm -f env.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO env.c env.c:96:8: warning: comparison of array 'path' equal to a null pointer is always false [-Wtautological-pointer-compare] 96 | if(path == NULL) | ^~~~ ~~~~ env.c:106:12: warning: call to undeclared function 'file_exists'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if(file_exists(filename)) | ^ 2 warnings generated. rm -f file.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO file.c file.c:69:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | close(fromptr); | ^ file.c:74:24: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | while((readbytes = read(fromptr, buffer, 1024)) > 0) { | ^ file.c:75:12: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if(write(toptr, buffer, readbytes) < 0) { | ^ file.c:76:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | close(fromptr); | ^ file.c:82:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | close(fromptr); | ^ file.c:102:27: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | if((buffer = (char *) malloc(size+1)) == NULL) { | ^ file.c:102:18: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 102 | if((buffer = (char *) malloc(size+1)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~ file.c:108:9: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | free(buffer); | ^ file.c:113:8: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | if(read(fileno(fp), buffer, size) != size) { | ^ file.c:115:9: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | free(buffer); | ^ file.c:143:13: warning: call to undeclared function 'env_inpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | if(!env_inpath("gunzip")) | ^ file.c:146:13: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | if(!system(command)) | ^ file.c:151:13: warning: call to undeclared function 'env_inpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | if(!env_inpath("uncompress")) | ^ file.c:154:13: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | if(!system(command)) | ^ file.c:179:24: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | while((readbytes = read(0, buffer, BUFSIZ)) > 0) { | ^ file.c:182:31: warning: call to undeclared function 'realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | if((newmem = (char *) realloc(reply, total + 1)) == NULL) { | ^ file.c:182:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 182 | if((newmem = (char *) realloc(reply, total + 1)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:183:30: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | if(reply != NULL) free(reply); | ^ 18 warnings generated. rm -f fname.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO fname.c rm -f magic.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO magic.c magic.c:54:8: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | if(read(fp, buffer, 3) != 3) { | ^ magic.c:58:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | close(fp); | ^ magic.c:64:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | close(fp); | ^ magic.c:69:17: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, __size_t)' (aka 'int (const void *, const void *, unsigned long)'); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | if(!memcmp(buffer, jpeg, 2)) | ^ magic.c:69:17: note: include the header or explicitly provide a declaration for 'memcmp' 4 warnings generated. rm -f mappings.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO mappings.c mappings.c:104:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 104 | if(mapping = mappings_alloc(ending, command)) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mappings.c:104:20: note: place parentheses around the assignment to silence this warning 104 | if(mapping = mappings_alloc(ending, command)) | ^ | ( ) mappings.c:104:20: note: use '==' to turn this assignment into an equality comparison 104 | if(mapping = mappings_alloc(ending, command)) | ^ | == 1 warning generated. rm -f mkdirhier.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO mkdirhier.c mkdirhier.c:53:12: warning: call to undeclared function 'file_exists'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if(file_exists(create)) { | ^ mkdirhier.c:55:17: warning: call to undeclared function 'stat_isdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if(!stat_isdir(create)) | ^ 2 warnings generated. rm -f nums.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO nums.c nums.c:48:5: warning: call to undeclared function 'srand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | srand(tp.tv_usec); | ^ nums.c:55:10: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | return(rand()); | ^ nums.c:71:12: warning: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | while(!isdigit(n[--len])); | ^ nums.c:71:12: note: include the header or explicitly provide a declaration for 'isdigit' 3 warnings generated. rm -f pipe.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO pipe.c pipe.c:53:9: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | strcpy(name, "gzip"); | ^ pipe.c:53:9: note: include the header or explicitly provide a declaration for 'strcpy' pipe.c:67:8: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | if(pipe(outfd) == -1) | ^ pipe.c:71:15: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if((pid = fork()) == 0) { | ^ pipe.c:73:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | close(outfd[0]); | ^ pipe.c:75:12: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if(dup2(outfd[1], 1) < 0) { | ^ pipe.c:78:13: 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] 78 | exit(F_DUPFAILED); | ^ pipe.c:78:13: note: include the header or explicitly provide a declaration for 'exit' pipe.c:81:12: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | if(execlp(name, name, args, filename, NULL) == -1) { | ^ pipe.c:89:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | close(outfd[1]); | ^ pipe.c:94:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 94 | } | ^ pipe.c:111:29: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | while(((readbytes = read(fp, buffer, val)) > 0) && (val > 0)) | ^ pipe.c:134:39: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | while((size > 0) && ((readbytes = read(fp, ptr, size)) > 0)) { | ^ 11 warnings generated. rm -f regexpr.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO regexpr.c regexpr.c:220:23: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | r = (regexpr *)malloc(sizeof(regexpr) + (unsigned)regsize); | ^ regexpr.c:259:32: warning: call to undeclared library function 'strlen' with type '__size_t (const char *)' (aka 'unsigned long (const char *)'); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | if (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) { | ^ regexpr.c:259:32: note: include the header or explicitly provide a declaration for 'strlen' regexpr.c:530:10: warning: call to undeclared library function 'strcspn' with type '__size_t (const char *, const char *)' (aka 'unsigned long (const char *, const char *)'); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | len = strcspn(regparse, META); | ^ regexpr.c:530:10: note: include the header or explicitly provide a declaration for 'strcspn' regexpr.c:703:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, __size_t)' (aka 'int (const char *, const char *, unsigned long)'); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 703 | if (strncmp(s, prog->regmust, prog->regmlen) == 0) | ^ regexpr.c:703:8: note: include the header or explicitly provide a declaration for 'strncmp' 4 warnings generated. rm -f stat.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO stat.c rm -f str.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO str.c str.c:108:26: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | while(*ptr) { *ptr = tolower(*ptr); ptr++; } | ^ str.c:108:26: note: include the header or explicitly provide a declaration for 'tolower' str.c:246: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] 246 | while(isspace(*ptr) && *ptr != 0) ptr++; | ^ str.c:246:11: note: include the header or explicitly provide a declaration for 'isspace' 2 warnings generated. rm -f tmpfile.o cc -c -O2 -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO tmpfile.c tmpfile.c:75:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | unlink(free_tmpfile->name); | ^ tmpfile.c:88:1: warning: '/*' within block comment [-Wcomment] 88 | /* tmpfile_create:*************************************************************/ | ^ tmpfile.c:97:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | close(mkstemp(xxx)); | ^ tmpfile.c:138:17: warning: call to undeclared function 'file_exists'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | if(!file_exists(name)) | ^ 4 warnings generated. rm -f libcommon.a ar clq libcommon.a ascii.o env.o file.o fname.o magic.o mappings.o mkdirhier.o nums.o pipe.o regexpr.o stat.o str.o tmpfile.o ranlib libcommon.a making all in ./Xbr... rm -f XbrCB.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrCB.c XbrCB.c:38:5: 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] 38 | exit(0); | ^ XbrCB.c:38:5: note: include the header or explicitly provide a declaration for 'exit' XbrCB.c:81:5: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | sprintf(new,"%s%s%s",front,cb->text->ptr,back); | ^ XbrCB.c:81:5: note: include the header or explicitly provide a declaration for 'sprintf' 2 warnings generated. rm -f XbrCreate.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrCreate.c rm -f XbrCursor.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrCursor.c XbrCursor.c:220:21: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 220 | XbrCursorAdd(w, (int)client_data); | ^~~~~~~~~~~~~~~~ XbrCursor.c:311:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 311 | } | ^ 2 warnings generated. rm -f XbrDialog.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrDialog.c XbrDialog.c:234:30: warning: call to undeclared function 'fname_dirname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | sprintf(buffer, "%s/%s", fname_dirname(text), filename?filename:""); | ^ XbrDialog.c:234:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 234 | sprintf(buffer, "%s/%s", fname_dirname(text), filename?filename:""); | ~~ ^~~~~~~~~~~~~~~~~~~ | %d 2 warnings generated. rm -f XbrFSB.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrFSB.c rm -f XbrGfx.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrGfx.c XbrGfx.c:220:22: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | if(colormap) free(colormap); | ^ XbrGfx.c:227:35: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | if((colormap = (XColor *) malloc(sizeof(XColor) * num_colors)) == NULL) | ^ XbrGfx.c:227:24: warning: cast to 'XColor *' from smaller integer type 'int' [-Wint-to-pointer-cast] 227 | if((colormap = (XColor *) malloc(sizeof(XColor) * num_colors)) == NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrGfx.c:236:20: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | colorval = abs(color->red - colormap[i].red) + | ^ XbrGfx.c:236:20: note: include the header or explicitly provide a declaration for 'abs' XbrGfx.c:318:9: 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] 318 | exit(1); | ^ XbrGfx.c:318:9: note: include the header or explicitly provide a declaration for 'exit' XbrGfx.c:321:13: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | width = atoi(ptr); | ^ XbrGfx.c:334:37: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | if((newdata = (unsigned char *) malloc(width * height)) == NULL) | ^ XbrGfx.c:334:19: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 334 | if((newdata = (unsigned char *) malloc(width * height)) == NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrGfx.c:339:9: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | free(newdata); | ^ XbrGfx.c:354:22: 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] 354 | val = (char) strtol(token, (char *)NULL, 16); | ^ XbrGfx.c:354:22: note: include the header or explicitly provide a declaration for 'strtol' XbrGfx.c:354:36: error: incompatible pointer types passing 'char *' to parameter of type 'char **' [-Wincompatible-pointer-types] 354 | val = (char) strtol(token, (char *)NULL, 16); | ^~~~~~~~~~~~ XbrGfx.c:416:36: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | if((raster = (unsigned char *) malloc(size)) == NULL) { | ^ XbrGfx.c:416:18: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 416 | if((raster = (unsigned char *) malloc(size)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrGfx.c:544:13: warning: cast to 'unsigned char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 544 | image = (unsigned char *) malloc(Width*Height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrGfx.c:644:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 644 | free(raster); | ^ 14 warnings and 1 error generated. *** Error 1 in Xbr (Makefile:889 'XbrGfx.o') *** Error 2 in /usr/obj/ports/xtar-1.4/xtar-1.4 (Makefile:897 'all': @for flag in SHARED_LIBS_LOG=/usr/obj/ports/xtar-1.4/xtar-1.4/shared_l...) *** Error 2 in misc/xtar (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/xtar-1.4/.build_done': @cd /usr/obj/ports/xtar-1.4/x...) *** Error 2 in misc/xtar (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=xtar-1.4p6; export _LOCKS_HELD=" xtar-1.4p6"; /usr...) ===> Exiting misc/xtar with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779500361.10 max_stuck=0.00/depends=3.64/show-prepare-results=0.65/build=3.20 Error: job failed with 512 on amd64-3 at 1779500361