=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg.bulk/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg.bulk/sbin/pkg_admin -K /opt/pkg.bulk/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gopher-3.0.17 Making Objects (cd object; /opt/pkg.bulk/bin/gmake -j8 --jobserver-auth=6,7 all) gmake[1]: warning: -jN forced in submake: disabling jobserver mode. gmake[1]: Entering directory '/opt/pkg.bulk/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 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] #include ^~~~~~~~~~ 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 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 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 VIews.c:72: In file included from ./VIews.h:97: 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: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 ^~~~~~~~~~ In file included from VIews.c:72: In file included from ./VIews.h:97: In file included from ./BLblock.h: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] # include ^~~~~~~~~~ In file included from Sockets.c:108: 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 Sockets.c:108: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ Sockets.c:125:51: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] perror("server: can't turn off linger sockopt"),exit(-1); ^ Sockets.c:125:51: note: include the header or explicitly provide a declaration for 'exit' ./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 DAarray.c:51: In file included from ./Malloc.h:73: In file included from ./Stdlib.h:55: In file included from ./compatible.h:358: In file included from ./string.hSockets.c:201:23: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] :92:10 if ( hp!=NULL && strlen(hp->h_name) > strlen(DNSname) ) : 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] In file included from #include ^~~~~~~~~~ GSgopherobj.c:352: In file included from STRstring.c:63 : In file included from In file included from ./GSgopherobj.h:BLblock.cVIews.c::13092:11: warning79: 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:201:: #include 23 In file included from In file included from ./fileio.h:: ./Malloc.h: ^~~~~~~~~~./BLblock.h80illegal character encoding in string literal [-Winvalid-source-encoding]:note49In file included from : 73: ./stdlib.h : ./STRstring.h::7660GDgopherdir.c: "Franais (Belgium)",: ./stdlib.h: 14:157include 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] ^~~~ Sockets.c :202:4: VIews.c::# include In file included from 1093:: warning: : ^~~~~~~~~~ implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration]60 :14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]11 strncpy( DNSname, hp->h_name, MAXHOSTNAMELEN );./GDgopherdir.h : ^warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include #include ^~~~~~~~~~ ^~~~~~~~~~ warning: illegal character encoding in string literal [-Winvalid-source-encoding] :50 "Franais (Canada)", ^~~~ : 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] VIews.c:94:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding]In file included from DAarray.c:51: In file included from ./Malloc.h "Franais (Suisse)", ^~~~ :Sockets.c73:: ./stdlib.h:VIews.c60In file included from BLblock.c:79: 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]:14202: #include :warning: ^~~~~~~~~~ 495#include :./stdlib.h ::7411::10 : notewarning: In file included from : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] include the header or explicitly provide a declaration for 'strncpy' ^~~~~~~~~~#include warning: illegal character encoding in string literal [-Winvalid-source-encoding] : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]util.cIn file included from ./stdlib.h: GDgopherdir.c137 ^~~~~~~~~~ # include : ^~~~~~~~~~: : "Franais",./util.h74:10: 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] 64:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ ^~~~ #include VIews.c:104:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ^~~~~~~~~~ 157: In file included from ./GDgopherdir.h:#include ^~~~~~~~~~ 50 "Espaol", Sockets.c:468:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] ./stdlib.h:79:10: ^~~~ In file included from STRstring.c:warning: : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] In file included from ./stdlib.h strcpy(ipnum, inet_ntoa(sa.sin_addr));63: util.cIn file included from VIews.c74./GSgopherobj.h::123:140:124#include 10: ./Malloc.h ^~~~~~~~~~:: : : : In file included from In file included from ./BLblock.h./fileio.h ^:7978:: 10./STRstring.h8: 76warning:: 10: : :non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]warning52: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] : #include warning./util.h :64: if (strcasecmp(ANSILangs[i], cp) == 0)Sockets.c In file included from GSgopherobj.c:10:360 ^~~~~~~~~~ ^warning: : ./regex.hnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : In file included from :BLblock.c :VIews.c:#include :468 ^~~~~~~~~~warning: : 144./stdlib.hnon-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]123 #include :79::: 1010 79: In file included from :./BLblock.h: ^~~~~~~~~~ : 4:8#include ^~~~~~~~~~ :warning:note./STRstring.h64 STRstring.c:74warning:24: note: : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]In file included from :: include the header or explicitly provide a declaration for 'strcasecmp'./GSgopherobj.h: include the header or explicitly provide a declaration for 'strcpy': #include 13080:10: : warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] : warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]In file included from ./fileio.h: :VIews.c80:: #include implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] 136 : ^~~~~~~~~~25 #include temp = (String *) malloc(sizeof(String)); ^./stdlib.h:: ^~~~~~~~~ warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] 60:14: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] temp = (VIewobj *) malloc(sizeof(VIewobj)); ^ ^~~~~~~~~~ ./regex.h:171:# include In file included from DAarray.c:51: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 2: warning: REGEX_POSIX defined but REG_EXTENDED not found. [-W#warnings] ^~~~~~~~~~ VIews.c:136:25: note: include the header or explicitly provide a declaration for 'malloc' #warning REGEX_POSIX defined but REG_EXTENDED not found. ^ STRstring.c:74:24: note: include the header or explicitly provide a declaration for 'malloc' In file included from GSgopherobj.c:364: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~~~~ VIews.c:#include STRstring.c:90:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] ^~~~~~~~~~169 In file included from util.c:140: In file included from ./fileio.h:78: In file included from ./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 GDgopherdir.c# include ^~~~~~~~~~ :157: In file included from ./GDgopherdir.h:50: 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] DAarray.c:74:25: ./stdlib.h:74:: free(st->data); ^ warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] # include ^~~~~~~~~~ 6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] 10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] free(vi);#include ^~~~~~~~~~ ^ GSgopherobj.c:384:27: temp = (DynArray*) malloc(sizeof(DynArray));warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]STRstring.c:143:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] VIews.c ^ len = strlen(str)+1; /** Don't forget the '\0' **/ DAarray.c:74./stdlib.h./stdlib.h::: ^195 :STRstring.c74:143:79: temp = (GopherObj *) malloc(sizeof(GopherObj));6 : ^ warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]: 10: warning: 10 strcat(tmpstr, VIgetType(vi)); ^:25: GSgopherobj.c:non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]note : include the header or explicitly provide a declaration for 'malloc' 384:27: note: include the header or explicitly provide a declaration for 'malloc' : note: include the header or explicitly provide a declaration for 'strlen' ./stdlib.h:74:VIews.c10: #include warning: 19510DAarray.cSTRstring.c: ^~~~~~~~~~ : 6 :103non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]:./stdlib.h:79 : warning:GSgopherobj.c157::#include :106: 438:20note:: ^~~~~~~~~~ : : warning: include the header or explicitly provide a declaration for 'strcat'6warningnon-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path]: : warning: : implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] free(da->objects);#include ^ ./stdlib.h : ^~~~~~~~~~ VIews.c:230:implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]#include 79:10: DAarray.c10 : temp = (char *) realloc(st->data, sizeof(char) * len); ^ STRstring.c free(gs);:157:warning : ^~~~~~~~~~: 129 warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] 20: note: include the header or explicitly provide a declaration for 'realloc' :23: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] STRstring.c:166#include :6: temp = (char **) realloc(da->objects, size*sizeof(char*));warning implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] ^~~~~~~~~~ ^ In file included from BLblock.c :80: ./Malloc.h:79:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^util.c#include : if (strlen(line) >= 200)179 :: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]DAarray.c:12930 : warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] ^~~~~~~~~~ : 23 perror("signal died:\n"), exit(-1); strcpy(st->data, str);: GSgopherobj.c ^In file included from GDgopherdir.c VIews.c ^ ^util.c STRstring.c:455::4:note166BLblock.c: :::17992: warning230::include the header or explicitly provide a declaration for 'realloc': implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] 30158:DAarray.c free(gs->gplus);:132: note6: : include the header or explicitly provide a declaration for 'exit':./Malloc.h : :10:7926:: 34:: notewarning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] ^ note10warning:: : perror("Out of memory!!!\n"), exit(-1); : include the header or explicitly provide a declaration for 'strcpy' warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] ^ include the header or explicitly provide a declaration for 'strlen' temp = (Blockobj *) malloc(sizeof(Blockobj)); ^ DAarray.c:132:34: note: include the header or explicitly provide a declaration for 'exit' BLblock.cutil.c:338:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] #include length = strlen(stringptr); ^ ^~~~~~~~~~ :GSgopherobj.c:589:util.c27: warning: VIews.c92:26: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration]GDgopherdir.cSTRstring.c:note:260: :include the header or explicitly provide a declaration for 'malloc'11: :338warning:: if ((cp != NULL) && (strncmp(cp, "gopher://", 9) == 0)) {: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] ^ 191 :6:15177 warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] cp = strchr(line,'<');: note: include the header or explicitly provide a declaration for 'strlen' :29: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] ^ temp = (GopherDirObj*) malloc(sizeof(GopherDirObj)); ^ GSgopherobj.cGDgopherdir.cVIews.c:260:11: note: include the header or explicitly provide a declaration for 'strchr' strcat(temp, cp); ^ :177:29: note: include the header or explicitly provide a declaration for 'malloc' :589:27: util.cnote10 warnings generated: . STRstring.c:191:6::480:29:VIews.c :BLblock.cGDgopherdir.c:198283include the header or explicitly provide a declaration for 'strncmp' :6: warningwarning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]GSgopherobj.c : acceptable = (boolean*) malloc(sizeof(boolean) * 256); strcpy(line, VIgetType(vi));592::6: warning:: 158implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]13 ^ ^ : warning: util.cimplicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] free(gd); :480 if (!(strncasecmp(VIgetType(GSgetView(gs,views)), note: VIews.c:29:6include the header or explicitly provide a declaration for 'strcat': : STRstring.c: 195 ^:6: warning ^ : note: include the header or explicitly provide a declaration for 'malloc' implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] GSgopherobj.c:592:13: note: warning: free(temp);283:6: note: include the header or explicitly provide a declaration for 'strcpy' include the header or explicitly provide a declaration for 'strncasecmp' GDgopherdir.c:276:GSgopherobj.c11 :595:10: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Wimplicit-function-declaration] : :implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] ^ warning cp = strdup(cp);: implicit declaration of function 'strcoll' is invalid in C99 [-Wimplicit-function-declaration] free(bl); ^ ^ GSgopherobj.c:595:10: note: include the header or explicitly provide a declaration for 'strdup' GSgopherobj.c:598:11: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] STRstring.c return(strcoll(GSgetTitle(*gs1), GSgetTitle(*gs2))); ^ cp2 = strchr(cp+10, '/'); ^ GSgopherobj.c:598:11: note: include the header or explicitly provide a declaration for 'strchr' GSgopherobj.c:604:14: warning: 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' :214:11: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] return(strcmp(cp1, cp2)); ^ STRstring.c:214:11: note: include the header or explicitly provide a declaration for 'strcmp' clang -O2 -O2 -I.. -I. -I.. -c compatible.c BLblock.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) ^ BLblock.c:449:8: note: include the header or explicitly provide a declaration for 'strcmp' GDgopherdir.c:378:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] GSgopherobj.c:655:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(inputline, "INFO")!=0) { strcpy(url, path); ^ ^ GSgopherobj.c:655:GDgopherdir.c:378:10: note: include the header or explicitly provide a declaration for 'strcmp' 4: note: include the header or explicitly provide a declaration for 'strcpy' 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' GDgopherdir.c:456:15: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] ((cp2 = strchr(cp1, '\n')) != NULL)) { ^ GDgopherdir.c:456:15: note: include the header or explicitly provide a declaration for 'strchr' GSgopherobj.c:745:9: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo[i++]); ^ GSgopherobj.c:747:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(Askmoo); ^ GDgopherdir.c:562:16: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if ((int) strlen(text) <= 1) ^ GDgopherdir.c:562:16: note: include the header or explicitly provide a declaration for 'strlen' 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)); ^ 13 warnings generated. 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)); ^ clang -O2 -O2 -I.. -I. -I.. -c url.c 9 warnings generated. 9 warnings generated. 18 warnings generated. clang -O2 -O2 -I.. -I. -I.. -c Debug.c clang -O2 -O2 -I.. -I. -I.. -c Regex.c clang -O2 -O2 -I.. -I. -I.. -c fileio.c 9 warnings generated. 12 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 ^~~~~~~~~~ clang -O2 -O2 -I.. -I. -I.. -DLOCALEDIR=\"/opt/pkg.bulk/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); ^ 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 ^~~~~~~~~~ 7 warnings generated. 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 ^~~~~~~~~ In file included from url.c: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] # 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. ^ ./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 url.c: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 ^~~~~~~~~~ url.c:95:21: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (Url *) malloc(sizeof(Url)); ^ url.c:95:21: note: include the header or explicitly provide a declaration for 'malloc' url.c:118:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(url); ^ 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 ^~~~~~~~~~ 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' 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] In file included from Regex.c:55: In file included from ./Malloc.h:73: ./stdlib.h:60:14: urlcp = strdup(urlcp); /* This lets us scribble on the string */warning : non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] ^ # include ^~~~~~~~~~ url.c:279:14: note: include the header or explicitly provide a declaration for 'strdup' ./stdlib.h:url.c:281:11: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)' [-Wimplicit-function-declaration] 74:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] cp = strstr(urlcp, "://"); /* skip over servicetype + "://" */#include ^~~~~~~~~~ ^ url.c:281:11: note: include the header or explicitly provide a declaration for 'strstr' ./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: 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; ^ url.cRegex.c:67::5: warning: implicit declaration of function 'regfree' is invalid in C99 [-Wimplicit-function-declaration] regfree(&preg); ^ Regex.c:71:10: 345:20: warning: warningimplicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] : implicit declaration of function 'regcomp' is invalid in C99 [-Wimplicit-function-declaration] URLsetPort(url, atoi(cp2)); ^ return regcomp(&preg, regex, REG_NOSUB) ? "regcomp error" : NULL; ^ Regex.c:71:32: error: use of undeclared identifier 'REG_NOSUB' return regcomp(&preg, regex, REG_NOSUB) ? "regcomp error" : NULL; ^ Regex.c:75:12: warning: implicit declaration of function 'regexec' is invalid in C99 [-Wimplicit-function-declaration] return ! regexec(&preg, string, 0, NULL, 0); ^ 10 warnings and 2 errors generated. 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 ^~~~~~~~~~ gmake[1]: *** [Makefile:33: Regex.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... ./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 fileio.c: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 ^~~~~~~~~~ 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] #include ^~~~~~~~~~ fileio.c:234:22: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] temp = (FileIO *) malloc(sizeof(FileIO)); ^ fileio.c:234:22: note: include the header or explicitly provide a declaration for 'malloc' fileio.c:264:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(fio); ^ fileio.c: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' 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/pkg.bulk/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