>>> Building on exopi-5 under misc/xtar BDEPENDS = [x11/motif;devel/imake;devel/imake-cf] DIST = [misc/xtar:xtar-1.4.tar.gz] FULLPKGNAME = xtar-1.4p6 RDEPENDS = [x11/motif] (Junk lock obtained for exopi-5 at 1735155864.51) >>> Running depends in misc/xtar at 1735155864.57 last junk was in security/gopass /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 >>> Running show-prepare-results in misc/xtar at 1735155867.92 ===> misc/xtar ===> Building from scratch xtar-1.4p6 ===> xtar-1.4p6 depends on: imake-* -> imake-1.0.9 ===> xtar-1.4p6 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> xtar-1.4p6 depends on: motif-* -> motif-2.3.8p1 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xt c m xcb Xm ===> found ICE.11.0 SM.9.0 X11.18.2 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xt.11.1 c.100.3 m.10.1 xcb.4.1 Xm.6.1 imake-1.0.9 imake-cf-1.0.7p0 motif-2.3.8p1 (Junk lock released for exopi-5 at 1735155869.22) distfiles size=87506 >>> Running build in misc/xtar at 1735155869.27 ===> misc/xtar ===> Checking files for xtar-1.4p6 `/exopi-cvs/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 LinuxBinUtilsMajorVersion 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 LinuxBinUtilsMajorVersion 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] 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 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strip_nl(date); ^ ./cdefs.h:35:26: note: expanded from macro 'strip_nl' #define strip_nl(string) strip_char(string, '\n') ^ ./cdefs.h:30:34: note: expanded from macro 'strip_char' #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' #define strip_nl(string) strip_char(string, '\n') ^ ./cdefs.h:30:34: note: expanded from macro 'strip_char' #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] 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] 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] 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] 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] 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] 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] 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] if((buffer = (char *) malloc(size+1)) == NULL) { ^ file.c:102:18: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] close(fp); ^ magic.c:69:17: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] if(mapping = mappings_alloc(ending, command)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mappings.c:104:20: note: place parentheses around the assignment to silence this warning if(mapping = mappings_alloc(ending, command)) ^ ( ) mappings.c:104:20: note: use '==' to turn this assignment into an equality comparison 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] close(outfd[1]); ^ pipe.c:94:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ pipe.c:111:29: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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 C2x [-Wdeprecated-non-prototype] r = (regexpr *)malloc(sizeof(regexpr) + (unsigned)regsize); ^ regexpr.c:259:32: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 'unsigned long (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] 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] unlink(free_tmpfile->name); ^ tmpfile.c:88:1: warning: '/*' within block comment [-Wcomment] /* 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] 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] 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] 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 *, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] XbrCursorAdd(w, (int)client_data); ^~~~~~~~~~~~~~~~ XbrCursor.c:311:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: warning: incompatible pointer types passing 'char *' to parameter of type 'char **' [-Wincompatible-pointer-types] 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] 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] 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] 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] free(raster); ^ 15 warnings generated. rm -f XbrLabel.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrLabel.c rm -f XbrList.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrList.c In file included from XbrList.c:30: ./XbrList.h:32:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern XbrListItemSelected(Widget, int *); ~~~~~~ ^ int XbrList.c:96:31: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((selection = (char **) malloc(sizeof(char *) * (count + 1))) == NULL) ^ XbrList.c:96:21: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] if((selection = (char **) malloc(sizeof(char *) * (count + 1))) == NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrList.c:107:28: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] if((selection[i] = (char *) malloc(strlen(item) + 1)) == NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrList.c:110:17: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(selection[j]); ^ XbrList.c:133:9: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(selections[i]); ^ XbrList.c:191:5: warning: call to undeclared function 'XmScrollBarGetValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmScrollBarGetValues(scrollbar, &value_return, &slider_size_return, ^ XbrList.c:193:5: warning: call to undeclared function 'XmScrollBarSetValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XmScrollBarSetValues(scrollbar, minimum, slider_size_return, ^ 8 warnings generated. rm -f XbrMenu.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrMenu.c XbrMenu.c:65:30: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((widgets = (Widget *) malloc(sizeof(Widget) * (n+extras))) == NULL) { ^ XbrMenu.c:65:19: warning: cast to 'Widget *' (aka 'struct _WidgetRec **') from smaller integer type 'int' [-Wint-to-pointer-cast] if((widgets = (Widget *) malloc(sizeof(Widget) * (n+extras))) == NULL) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XbrMenu.c:73:13: warning: call to undeclared library function 'sprintf' with type 'int (char *, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(name, "%sPopup", title); ^ XbrMenu.c:73:13: note: include the header or explicitly provide a declaration for 'sprintf' 3 warnings generated. rm -f XbrRes.o cc -c -O2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XbrRes.c rm -f libXbr.a ar clq libXbr.a XbrCB.o XbrCreate.o XbrCursor.o XbrDialog.o XbrFSB.o XbrGfx.o XbrLabel.o XbrList.o XbrMenu.o XbrRes.o ranlib libXbr.a cc -O2 -I./common -I./Xbr -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c about.c In file included from about.c:29: In file included from ./Xbr/Xbr.h:36: ./Xbr/XbrList.h:32:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern XbrListItemSelected(Widget, int *); ~~~~~~ ^ int 1 warning generated. cc -O2 -I./common -I./Xbr -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c help.c In file included from help.c:29: In file included from ./Xbr/Xbr.h:36: ./Xbr/XbrList.h:32:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern XbrListItemSelected(Widget, int *); ~~~~~~ ^ int 1 warning generated. cc -O2 -I./common -I./Xbr -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xtar.c In file included from xtar.c:50: In file included from ./Xbr/Xbr.h:36: ./Xbr/XbrList.h:32:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] extern XbrListItemSelected(Widget, int *); ~~~~~~ ^ int xtar.c:355:8: warning: comparison of array 'tarfile' equal to a null pointer is always false [-Wtautological-pointer-compare] if(tarfile == NULL || strlen(tarfile) == 0 || !xtar_read()) { ^~~~~~~ ~~~~ xtar.c:364:22: warning: call to undeclared function 'stat_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ascii_size(stat_size(tarfile))); ^ xtar.c:411:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(int argc, char *argv[]) ^ xtar.c:411:1: note: change return type to 'int' void main(int argc, char *argv[]) ^~~~ int xtar.c:438: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] exit(1); ^ xtar.c:438:9: note: include the header or explicitly provide a declaration for 'exit' xtar.c:790:33: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((tar_file = (TAR_FILE *) malloc(sizeof(TAR_FILE))) == NULL) ^ xtar.c:790:20: warning: cast to 'TAR_FILE *' (aka 'struct tar_file *') from smaller integer type 'int' [-Wint-to-pointer-cast] if((tar_file = (TAR_FILE *) malloc(sizeof(TAR_FILE))) == NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xtar.c:827:19: warning: call to undeclared function 'XmToggleButtonGetState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Boolean uid = XmToggleButtonGetState(tar_menu[TAR_ShowUID]); ^ xtar.c:963:9: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(free_file); ^ xtar.c:1006:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static TAR_FILE *xtar_link(linkf) ^ xtar.c:1032:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(tf = first_file; tf = tf->next; tf != NULL) { ~~~^~~~~~~~~~ xtar.c:1032:29: note: place parentheses around the assignment to silence this warning for(tf = first_file; tf = tf->next; tf != NULL) { ^ ( ) xtar.c:1032:29: note: use '==' to turn this assignment into an equality comparison for(tf = first_file; tf = tf->next; tf != NULL) { ^ == xtar.c:1032:44: warning: inequality comparison result unused [-Wunused-comparison] for(tf = first_file; tf = tf->next; tf != NULL) { ~~~^~~~~~~ xtar.c:1032:44: note: use '|=' to turn this inequality comparison into an or-assignment for(tf = first_file; tf = tf->next; tf != NULL) { ^~ |= xtar.c:1176:12: warning: call to undeclared function 'XmToggleButtonGetState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(XmToggleButtonGetState(atts_menu[ATTS_Permissions])) ^ xtar.c:1252:29: warning: call to undeclared function 'XmToggleButtonGetState'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int dochmod = doatts && XmToggleButtonGetState(atts_menu[ATTS_Permissions]); ^ xtar.c:1786:11: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(re); ^ xtar.c:1852:27: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int overwrite, mode = (int)client_data; ^~~~~~~~~~~~~~~~ xtar.c:1916:22: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] xtar_extractItem((int)client_data); ^~~~~~~~~~~~~~~~ 17 warnings generated. rm -f xtar cc -o xtar -O2 -L/exopi-obj/pobj/xtar-1.4/xtar-1.4/common -L/usr/X11R6/lib -L/usr/local/lib about.o help.o xtar.o -L/usr/local/lib -LXbr -lXbr -Lcommon -lcommon -L/usr/local/lib -lXm -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lm -Wl,-rpath,/usr/local/lib ld: warning: xtar.c(xtar.o:(xtar_view)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: xtar.c(xtar.o:(xtar_view)): warning: sprintf() is often misused, please use snprintf() ld: warning: XbrDialog.c(XbrDialog.o:(XbrDialogError) in archive Xbr/libXbr.a): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: mkdirhier.c(mkdirhier.o:(mkdirhier) in archive /exopi-obj/pobj/xtar-1.4/xtar-1.4/common/libcommon.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: nums.c(nums.o:(num_random) in archive /exopi-obj/pobj/xtar-1.4/xtar-1.4/common/libcommon.a): warning: rand() may return deterministic values, is that what you want? rm -f xtar._man if test -z "" ; then cd `dirname xtar` && ln -s `basename xtar.man` `basename xtar._man`; else /usr/libexec/cpp -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/X11R6 -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" < xtar.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/\@\@$/\\/' >xtar._man; fi >>> Running package in misc/xtar at 1735155879.36 ===> misc/xtar ===> Faking installation for xtar-1.4p6 install -c xtar /exopi-obj/pobj/xtar-1.4/fake-amd64/usr/local/bin/xtar + mkdir -p /exopi-obj/pobj/xtar-1.4/fake-amd64/usr/local/lib/X11/xtar install -c -m 0444 xtar.doc /exopi-obj/pobj/xtar-1.4/fake-amd64/usr/local/lib/X11/xtar + mkdir -p /exopi-obj/pobj/xtar-1.4/fake-amd64/etc/X11/app-defaults install -c -m 0444 XTar.ad /exopi-obj/pobj/xtar-1.4/fake-amd64/usr/local/lib/X11/app-defaults/XTar installing in ./common... install in common done installing in ./Xbr... install in Xbr done install -c -m 0444 xtar._man /exopi-obj/pobj/xtar-1.4/fake-amd64/usr/local/man/man1/xtar.1 installing man pages in ./common... install.man in common done installing man pages in ./Xbr... install.man in Xbr done ===> Building package for xtar-1.4p6 Create /exopi-cvs/ports/packages/amd64/all/xtar-1.4p6.tgz Creating package xtar-1.4p6 reading plist| checking dependencies| checking dependencies|x11/motif checksumming| checksumming| | 0% checksumming|** | 4% checksumming|***** | 8% checksumming|******* | 12% checksumming|********** | 16% checksumming|************ | 20% checksumming|*************** | 24% checksumming|***************** | 28% checksumming|******************** | 32% checksumming|********************** | 36% checksumming|************************ | 40% checksumming|*************************** | 44% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 56% checksumming|************************************* | 60% checksumming|*************************************** | 64% checksumming|***************************************** | 68% checksumming|******************************************** | 72% checksumming|********************************************** | 76% checksumming|************************************************* | 80% checksumming|*************************************************** | 84% checksumming|****************************************************** | 88% checksumming|******************************************************** | 92% checksumming|*********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xtar-1.4p6.tgz >>> Running clean in misc/xtar at 1735155882.71 ===> misc/xtar ===> Cleaning for xtar-1.4p6 >>> Ended at 1735155883.22 max_stuck=0.00/depends=3.37/show-prepare-results=1.34/build=10.09/package=3.35/clean=0.55