=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nap-1.4.4nb5 clang -DPACKAGE=\"nap\" -DVERSION=\"1.4.4\" -DHAVE_LIBDL=1 -DHAVE_LIBNCURSES=1 -DSTDC_HEADERS=1 -DHAVE_NCURSES_H=1 -I. -I. -I/opt/pkg/include/ncurses -pipe -Os -I/opt/pkg/include/ncurses -c alias.c In file included from alias.c:15: ./cmds.h:303:21: error: unknown type name 'u_short'; did you mean 'short'? static int in_cksum(u_short *, int); ^~~~~~~ short alias.c:55:3: warning: call to undeclared function 'wp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] wp(wchan, "|%s|\n", buf); ^ alias.c:56:3: warning: call to undeclared function 'drw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] drw(wchan); ^ alias.c:66:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = strdup(getval(nm, &tp)); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:66:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r = strdup(getval(nm, &tp)); ^ ~~~~~~~~~~~~~~~~~~~~~~~ alias.c:68:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strchr(nm, '(')) ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ alias.c:71:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(b, strchr(nm, '(')+1); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ alias.c:82:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = dovars(vtok[i]+1); ^~~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:86:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vtok[i] = t; ^ ~ alias.c:101:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = dovars(tok[j]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:105:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tok[j] = t; ^ ~ alias.c:169:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcasecmp(vars[i].nm, b)) ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:171:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = vars[i].func(vtok, vcnt); ^ alias.c:183:11: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(strdup("")); ^~~~~~~~~~~~ alias.c:237:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = strdup(al->args); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:385:7: warning: call to undeclared function 'msprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] msprintf(&atok[i], "%i", cnt-1); ^ alias.c:538:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cur->args = strdup(buf+i+1); ^ ~~~~~~~~~~~~~~~ alias.c:539:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cur->nm = (char *)malloc(i); ^ ~~~~~~~~~~~~~~~~~ alias.c:546:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(cur->nm, buf, i); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ alias.c:575:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nm = (unsigned char *)malloc(i+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:587:12: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addset(nm, buf+j, t); ^~ ./alias.h:36:28: note: passing argument to parameter here void addset(unsigned char *, unsigned char *, unsigned char); ^ alias.c:587:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] addset(nm, buf+j, t); ^~~~~ ./alias.h:36:45: note: passing argument to parameter here void addset(unsigned char *, unsigned char *, unsigned char); ^ alias.c:630:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cur->nm = strdup(nm); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:630:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cur->nm = strdup(nm); ^ ~~~~~~~~~~ alias.c:631:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cur->d = strdup(val); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ alias.c:631:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cur->d = strdup(val); ^ ~~~~~~~~~~~ alias.c:652:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strlen(d)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ alias.c:662:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:662:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:687:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:687:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next) ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ alias.c:716:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(atol(cur->d)); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:136:24: note: passing argument to parameter here long atol(const char *); ^ alias.c:778:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = dovars(tok[i]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:778:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = dovars(tok[i]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:823:25: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] s2 = (char *)malloc(abs(strchr(s1, r)-s1)); ^ alias.c:823:25: note: use function 'labs' instead s2 = (char *)malloc(abs(strchr(s1, r)-s1)); ^~~ labs alias.c:824:23: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] strncpy(s2, s1+1, abs(strchr(s1, r)-s1)-1); ^ alias.c:824:23: note: use function 'labs' instead strncpy(s2, s1+1, abs(strchr(s1, r)-s1)-1); ^~~ labs /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ alias.c:825:8: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] s2[abs(strchr(s1, r)-s1)-1] = '\0'; ^ alias.c:825:8: note: use function 'labs' instead s2[abs(strchr(s1, r)-s1)-1] = '\0'; ^~~ labs alias.c:826:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t = func(s2); ^ alias.c:836:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^ alias.c:836:21: note: use function 'labs' instead rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^~~ labs alias.c:836:33: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^ alias.c:836:33: note: use function 'labs' instead rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^~~ labs alias.c:836:47: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^ alias.c:836:47: note: use function 'labs' instead rt = ins(t2, t, abs(s1-t2), abs((s1-t2))+(abs((strchr(s1, r)-s1))+1)); ^~~ labs alias.c:892:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = dovars(tok[0]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:892:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = dovars(tok[0]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:901:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = dovars(tok[1]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:901:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = dovars(tok[1]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:910:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = dovars(tok[2]+1); ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here unsigned char *dovars(unsigned char *nm) ^ alias.c:910:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tm = dovars(tok[2]+1); ^ ~~~~~~~~~~~~~~~~ alias.c:922:7: warning: call to undeclared function 'msprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] msprintf(&tm, "\'%s\' %s \'%s\'", tok[0]?tok[0]:"", tok[1]?tok[1]:"", tok[2]?tok[2]:""); ^ alias.c:1106:3: warning: call to undeclared function 'msprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] msprintf(&rt, "%i", t); ^ 48 warnings and 1 error generated. *** [alias.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/nap/work/nap-1.4.4 1 error bmake: stopped in /Users/pbulk/build/net/nap/work/nap-1.4.4 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nap *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nap