=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gopher-3.0.17 Making Objects (cd object; /opt/pkg/bin/gmake -j8 --jobserver-auth=6,7 all) gmake[1]: warning: -jN forced in submake: disabling jobserver mode. gmake[1]: Entering directory '/opt/work/net/gopher/work/gopher-release-3.0.17/object' clang -O2 -O2 -I.. -I. -I.. -c STRstring.c clang -O2 -O2 -I.. -I. -I.. -c GDgopherdir.c clang -O2 -O2 -I.. -I. -I.. -c GSgopherobj.c clang -O2 -O2 -I.. -I. -I.. -c DAarray.c clang -O2 -O2 -I.. -I. -I.. -c VIews.c touch shared clang -O2 -O2 -I.. -I. -I.. -c BLblock.c clang -O2 -O2 -I.. -I. -I.. -c Sockets.c clang -O2 -O2 -I.. -I. -I.. -c util.c In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:120: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from STRstring.c:61: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GDgopherdir.c:157: In file included from ./GDgopherdir.h:50: In file included from ./GSgopherobj.h:120: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:124: In file included from ./BLblock.h:52: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GDgopherdir.c:157: In file included from ./GDgopherdir.h:50: In file included from ./GSgopherobj.h:124: In file included from ./BLblock.h:52: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from Sockets.c:99: In file included from ./compatible.h:358: ./string.h:92:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from GSgopherobj.c:352: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]In file included from GDgopherdir.c:157: In file included from ./GDgopherdir.h:50: In file included from ./GSgopherobj.h:130: In file included from In file included from VIews.c:72: In file included from ./VIews.h:49: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./fileio.h#include ^~~~~~~~~~ :80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ # include ^~~~~~~~~~ In file included from STRstring.c:63: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ In file included from Sockets.c:101: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from STRstring.c:63: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ STRstring.c:74:24: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (String *) malloc(sizeof(String)); ^ STRstring.c:74:24: note: include the header or explicitly provide a declaration for 'malloc' In file included from GDgopherdir.c:158: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ GDgopherdir.c:177:29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (GopherDirObj*) malloc(sizeof(GopherDirObj)); ^ GDgopherdir.c:177:29: note: include the header or explicitly provide a declaration for 'malloc' STRstring.c:90:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(st->data); ^ STRstring.c:143:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(str)+1; /** Don't forget the '\0' **/ ^ STRstring.c:143:10: note: include the header or explicitly provide a declaration for 'strlen' GDgopherdir.cSTRstring.cIn file included from :157:20: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] :198:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] util.c:137: ./util.h:64:10: temp = (char *) realloc(st->data, sizeof(char) * len); ^ free(gd); ^ ./stdlib.h:74: 10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] STRstring.c#include ^~~~~~~~~~ :157:20: note: include the header or explicitly provide a declaration for 'realloc' warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] STRstring.c#include ^~~~~~~~~~ :166:6: warningIn file included from BLblock.c:79: In file included from ./BLblock.h:49: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : #include ^~~~~~~~~~ #include ^~~~~~~~~~ implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(st->data, str); ^ STRstring.c:166:6: note: include the header or explicitly provide a declaration for 'strcpy' GDgopherdir.c:276:11: warning: implicit declaration of function 'strcoll' is invalid in C99 [-Wimplicit-function-declaration] In file included from DAarray.c:51: In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: ./string.h:92:10: return(strcoll(GSgetTitle(*gs1), GSgetTitle(*gs2))); In file included from util.c:140: In file included from ./fileio.h:78: ./STRstring.h:76:10: warning: warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]In file included from BLblock.c:79: In file included from : #include ./BLblock.hSTRstring.cnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]In file included from GSgopherobj.c: 191: ^ ^~~~~~~~~~ :360: ./regex.h:144:10: warning#include : :52: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./util.h:64:610: warning: :implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] ^~~~~~~~~~ ./STRstring.h:80:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include #include strcat(temp, cp); ^ ^~~~~~~~~~ ^~~~~~~~~ warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] STRstring.c#include ^~~~~~~~~~ :191:6: note: include the header or explicitly provide a declaration for 'strcat'In file included from VIews.c:72: In file included from ./VIews.h:97: In file included from ./BLblock.h:52: ./util.h:64:10GDgopherdir.c:: warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./regex.h378::#include ^~~~~~~~~~ STRstring.c : 195:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] 171:2: warning: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] In file included from Sockets.c:108#warning REGEX_POSIX defined but REG_EXTENDED not found. ^ : In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: 10: free(temp);warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from ^DAarray.c :51: In file included from ./Malloc.h: # include ^~~~~~~~~~ 73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]STRstring.c:In file included from 214GSgopherobj.c:364 if (strcmp(inputline, "INFO")!=0) {./stdlib.h : ^74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]:# include 11 ^~~~~~~~~~ : ./Malloc.h: In file included from GDgopherdir.c::378 :10#include ^~~~~~~~~~: util.c:79:note: 10warning include the header or explicitly provide a declaration for 'strcmp' 140: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] return(strcmp(cp1, cp2)); ^ In file included from ./fileio.h:78: In file included from STRstring.c:214:11: note: include the header or explicitly provide a declaration for 'strcmp' GDgopherdir.c:456:15: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] #include ^~~~~~~~~~ ((cp2 = strchr(cp1, '\n')) != NULL)) { ^ ./STRstring.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from Sockets.c:108In file included from BLblock.c:79: In file included from ./BLblock.h:64In file included from VIews.c:72# include ./stdlib.h:74:GDgopherdir.c: 10: warning : ./Malloc.h: ^~~~~~~~~~non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: In file included from :456: In file included from ./VIews.h./GSgopherobj.h#include : :15: ^~~~~~~~~~ note97: :79:./stdlib.h130: In file included from :7910:: include the header or explicitly provide a declaration for 'strchr': 10warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./BLblock.h#include ^~~~~~~~~~ :64: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: GSgopherobj.c:384:27Sockets.cGDgopherdir.c# include :: :562125warning: : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]warning: : 16: ^~~~~~~~~~ #include non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include :51 warning ^~~~~~~~~~: ^~~~~~~~~~implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]: if ((int) strlen(text) <= 1)In file included from DAarray.c./stdlib.h ^warning:51: : ./Malloc.h implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]GDgopherdir.c :: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]79 temp = (GopherObj *) malloc(sizeof(GopherObj));74:10: ^ : perror("server: can't turn off linger sockopt"),exit(-1);562 ^ :GSgopherobj.c :384:10:1627warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: Sockets.c:125:#include ^~~~~~~~~~ note:: 51: include the header or explicitly provide a declaration for 'strlen': warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ./stdlib.hnote: include the header or explicitly provide a declaration for 'exit' :79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] note#include #include ^~~~~~~~~~ ^~~~~~~~~~ : include the header or explicitly provide a declaration for 'malloc' DAarray.c:74:25: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (DynArray*) malloc(sizeof(DynArray));./stdlib.h./stdlib.h:74:74:10:Sockets.c:201: : ^ 10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 23#include ^~~~~~~~~~ : warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] if ( hp!=NULL && strlen(hp->h_name) > strlen(DNSname) ) ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^ DAarray.c#include GSgopherobj.c#include ^~~~~~~~~~ ^~~~~~~~~~util.c:Sockets.c: :179201 :438:6: warning::3023:: note: : implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]include the header or explicitly provide a declaration for 'strlen' 74 warning: :25:implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] free(gs); ^ Sockets.cnote:: 202:4:include the header or explicitly provide a declaration for 'malloc' warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] perror("signal died:\n"), exit(-1); ^ util.c:179:30: note: include the header or explicitly provide a declaration for 'exit' ./stdlib.h:79:10:In file included from BLblock.c:80: ./Malloc.h:79:10 : strncpy( DNSname, hp->h_name, MAXHOSTNAMELEN ); ^ warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] DAarray.cSockets.cGSgopherobj.c::455:#include warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 202 ^~~~~~~~~~ 4::103 :6:warning#include ^~~~~~~~~~ :BLblock.c:92:4 : 26: warningutil.c:338implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]:15:: warning: : implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] free(gs->gplus); ^ implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] length = strlen(stringptr); ^ note: include the header or explicitly provide a declaration for 'strncpy' util.c:338: temp = (Blockobj *) malloc(sizeof(Blockobj)); ^ 15BLblock.c:92:26: note: include the header or explicitly provide a declaration for 'malloc' : note: include the header or explicitly provide a declaration for 'strlen' free(da->objects); ^In file included from VIews.c:73: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ GSgopherobj.c:589:27: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if ((cp != NULL) && (strncmp(cp, "gopher://", 9) == 0)) { ^ GSgopherobj.c:589:27: note: include the header or explicitly provide a declaration for 'strncmp' VIews.cGSgopherobj.c::59292:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] :13: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] "Franais (Belgium)", ^~~~ if (!(strncasecmp(VIgetType(GSgetView(gs,views)),VIews.c: 93BLblock.cDAarray.c::129:23: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] :158:6: warningSockets.c:468: ^ temp = (char **) realloc(da->objects, size*sizeof(char*)); ^ 411: warning: GSgopherobj.c:592: :illegal character encoding in string literal [-Winvalid-source-encoding] warning: :util.c: 480DAarray.c13:implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]:implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] "Franais (Canada)", free(bl); : ^~~~129: 2923: strcpy(ipnum, inet_ntoa(sa.sin_addr));: note : include the header or explicitly provide a declaration for 'strncasecmp'warning: note ^ ^implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]13 warning : include the header or explicitly provide a declaration for 'realloc' Sockets.cs generated. :468:VIews.c:944:11GSgopherobj.c:: DAarray.c595warning: acceptable = (boolean*) malloc(sizeof(boolean) * 256); note ^ : :132:34: util.cwarning:: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] : perror("Out of memory!!!\n"), exit(-1);: include the header or explicitly provide a declaration for 'strcpy' 480:29: note: include the header or explicitly provide a declaration for 'malloc' ^ illegal character encoding in string literal [-Winvalid-source-encoding] 10: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] "Franais (Suisse)", ^~~~ DAarray.cVIews.c:132:34: note: include the header or explicitly provide a declaration for 'exit' :95:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cp = strdup(cp); ^ "Franais", ^~~~ GSgopherobj.c:595:10: note: include the header or explicitly provide a declaration for 'strdup' VIews.c:104:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] GSgopherobj.c "Espaol", ^~~~ :598:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] cp2 = strchr(cp+10, '/'); ^ GSgopherobj.cBLblock.c:449:8: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] : if (strcmp(BLgetName(BLAgetEntry(bla,i)), bname)==0)598:11: note: include the header or explicitly provide a declaration for 'strchr' ^ BLblock.c:449:8: note: include the header or explicitly provide a declaration for 'strcmp' VIews.c:123:8: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] GSgopherobj.c:604:14: if (strcasecmp(ANSILangs[i], cp) == 0) ^ warningVIews.c:123:8: note: include the header or explicitly provide a declaration for 'strcasecmp' : implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] cp2 = strstr(cp2, "%20"); ^ GSgopherobj.c:604:14: note: include the header or explicitly provide a declaration for 'strstr' VIews.c:136:25: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (VIewobj *) malloc(sizeof(VIewobj)); ^ VIews.c:136:25: note: include the header or explicitly provide a declaration for 'malloc' GSgopherobj.c:655:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(url, path); ^ GSgopherobj.c:655:4: noteVIews.c:: include the header or explicitly provide a declaration for 'strcpy' 169:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(vi); ^ GSgopherobj.c:672:9: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(url, ftppath); ^ GSgopherobj.c:672:9: note: include the header or explicitly provide a declaration for 'strcat' VIews.c:195:6: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(tmpstr, VIgetType(vi)); ^ VIews.c:195:6: note: include the header or explicitly provide a declaration for 'strcat' GSgopherobj.c:745:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo[i++]); ^ GSgopherobj.c:747VIews.c:230:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] :4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if (strlen(line) >= 200) free(Askmoo); ^ ^ VIews.c:230:10: note: include the header or explicitly provide a declaration for 'strlen' VIews.c:260:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] cp = strchr(line,'<'); ^ VIews.c:260:11: note: include the header or explicitly provide a declaration for 'strchr' clang -O2 -O2 -I.. -I. -I.. -c compatible.c VIews.c:283:6: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(line, VIgetType(vi)); ^ VIews.c:283:6: note: include the header or explicitly provide a declaration for 'strcpy' GSgopherobj.c:930:13: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcasecmp(BLgetName(bl), "ONLYHTML")==0) ^ GSgopherobj.c:930:13: note: include the header or explicitly provide a declaration for 'strcasecmp' GSgopherobj.c:959:13: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(BLgetName(bl), "NOHTML") == 0) ^ GSgopherobj.c:959:13: note: include the header or explicitly provide a declaration for 'strcmp' GSgopherobj.c:1183:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetTTL(gs, atoi(cp+5)); ^ GSgopherobj.c:1292:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] cp = foo + strlen(foo+1); ^ GSgopherobj.c:1292:15: note: include the header or explicitly provide a declaration for 'strlen' GSgopherobj.c:1341:20: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetPort(gs, atoi(foo)); ^ GSgopherobj.c:1625:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] return(- (atoi(headerline+2))); ^ GSgopherobj.c:1631:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] errno = atoi(headerline+1); ^ GSgopherobj.c:1802:21: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetPort(gs, atoi(buf+5)); ^ GSgopherobj.c:1808:22: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] GSsetNum(gs, atoi(buf+5)); ^ 9 warnings generated. 10 warnings generated. 9 warnings generated. 9 warnings generated. clang -O2 -O2 -I.. -I. -I.. -c url.c clang -O2 -O2 -I.. -I. -I.. -c Debug.c 12 warnings generated. clang -O2 -O2 -I.. -I. -I.. -c Regex.c clang -O2 -O2 -I.. -I. -I.. -c fileio.c clang -O2 -O2 -I.. -I. -I.. -DLOCALEDIR=\"/opt/pkg/etc/gopher/gophernls\" -c ./Locale.c In file included from compatible.c:102: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from compatible.c:102: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ compatible.c:477:26: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] p = (struct passwd *) malloc(sizeof(struct passwd)); ^ compatible.c:477:26: note: include the header or explicitly provide a declaration for 'malloc' compatible.c:484:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] cp = strchr(input, ':'); ^ compatible.c:484:11: note: include the header or explicitly provide a declaration for 'strchr' compatible.c:501:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] p->pw_uid = atoi(cp2); ^ 18 warnings generated. 7 warnings generated. In file included from url.c:84: In file included from ./url.h:41: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from url.c:84: In file included from ./url.h:42: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ clang -O2 -O2 -I.. -I. -I.. -c RBTree.c In file included from fileio.c:160: In file included from ./fileio.h:78: ./STRstring.h:76:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from Regex.c:54: ./regex.h:144:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~ ./regex.h:171:2: warning: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] #warning REGEX_POSIX defined but REG_EXTENDED not found. ^ In file included from fileio.c:160: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ In file included from Regex.c:55: In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: ./string.h:92:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] Regex.cIn file included from :#include url.c55 ^~~~~~~~~~ :: 84 : In file included from ./url.h:77: In file included from ./GSgopherobj.h:130: In file included from ./fileio.h:80: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from # include ^~~~~~~~~~./Malloc.h :73In file included from : fileio.c./stdlib.h::60:14:160: In file included from ./fileio.h:81: ./util.h:64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^~~~~~~~~~ # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from Regex.c:55: ./Malloc.h:79:10: warning: In file included from fileio.c:161: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]#include #include ^~~~~~~~~~ ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ Regex.c:62:1: error: unknown type name 'regex_t' regex_t preg; ^ Regex.c:67:5: warning: implicit declaration of function 'regfree' is invalid in C99 [-Wimplicit-function-declaration]In file included from url.c regfree(&preg);: 86 ^: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ Regex.c:71:10: url.cwarning:: 95implicit declaration of function 'regcomp' is invalid in C99 [-Wimplicit-function-declaration]: 21 return regcomp(&preg, regex, REG_NOSUB) ? "regcomp error" : NULL; ^ : warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (Url *) malloc(sizeof(Url)); ^ url.cfileio.c::95234:21: note: include the header or explicitly provide a declaration for 'malloc' Regex.c:71:32: error: :use of undeclared identifier 'REG_NOSUB'22: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (FileIO *) malloc(sizeof(FileIO)); return regcomp(&preg, regex, REG_NOSUB) ? "regcomp error" : NULL; ^ fileio.c ^: 234:22:url.c:118: 6: warningRegex.c:75:note: include the header or explicitly provide a declaration for 'malloc' : implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] 12 free(url);: warning: implicit declaration of function 'regexec' is invalid in C99 [-Wimplicit-function-declaration] fileio.c:264:4: warning return ! regexec(&preg, string, 0, NULL, 0); ^ : implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fio); ^ url.c:141:9: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(u,"telnet://"); ^ url.c:141:9: note: include the header or explicitly provide a declaration for 'strcpy' url.c:146:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] cp = u + strlen(u); ^ url.c:146:18: note: include the header or explicitly provide a declaration for 'strlen' url.c:156:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncmp(path, "GET /", 5) == 0) { ^ url.c:156:8: note: include the header or explicitly provide a declaration for 'strncmp' ^ url.c:171:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(u, path + 4); ^ url.c:171:7: note: include the header or explicitly provide a declaration for 'strcat' 10 warnings and 2 errors generated. url.c:172:16: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] atsign = strchr(u, '@'); ^ url.c:172:16: note: include the header or explicitly provide a declaration for 'strchr' url.c:247:8: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (strncasecmp("ftp:", urlcp, 4)==0) ^ url.c:247:8: note: include the header or explicitly provide a declaration for 'strncasecmp' url.c:279:14: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] urlcp = strdup(urlcp); /* This lets us scribble on the string */ ^ url.c:279:14: note: include the header or explicitly provide a declaration for 'strdup' url.c:281:11: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] fileio.cgmake[1]: *** [Makefile:33: Regex.o] Error 1 cp = strstr(urlcp, "://"); /* skip over servicetype + "://" */ ^ url.cgmake[1]: *** Waiting for unfinished jobs.... :281:11: note: include the header or explicitly provide a declaration for 'strstr' :495:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] length = strlen(str); ^ fileio.c:495:15: note: include the header or explicitly provide a declaration for 'strlen' url.c:345:20: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] URLsetPort(url, atoi(cp2)); ^ fileio.c:548:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(newbuf, fio->buf+FIOgetBufIndex(fio), newbuflen); ^ fileio.c:548:4: note: include the header or explicitly provide a declaration for 'memcpy' fileio.c:829:22: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] argv[argc++] = strdup(buf); ^ fileio.c:829:22: note: include the header or explicitly provide a declaration for 'strdup' fileio.c:896:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(argv[i]); ^ In file included from RBTree.c:36: In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: ./string.h:92:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from RBTree.c:36: In file included from ./Malloc.h:73: ./stdlib.h:60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~ ./stdlib.h:74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ./stdlib.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ In file included from RBTree.c:36: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ RBTree.c:75:28: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (RBTree_node*) malloc(sizeof(RBTree_node)); ^ RBTree.c:75:28: note: include the header or explicitly provide a declaration for 'malloc' RBTree.c:96:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(rbt_node); ^ RBTree.c:401:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(rbt); ^ 17 warnings generated. 8 warnings generated. 12 warnings generated. 29 warnings generated. gmake[1]: Leaving directory '/opt/work/net/gopher/work/gopher-release-3.0.17/object' gmake: *** [Makefile:162: object/libgopher.a] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/gopher *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/gopher