=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nap", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nap-1.4.4nb5 --- alias.o --- --- cmds.o --- --- alias.o --- 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 --- cmds.o --- 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 cmds.c --- alias.o --- In file included from alias.c:15: ./cmds.h:303:21: error: unknown type name 'u_short'; did you mean 'short'? 303 | 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] 55 | 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] 56 | 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] 66 | r = strdup(getval(nm, &tp)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR 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] 66 | 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] 68 | if (strchr(nm, '(')) | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:88:37: note: passing argument to parameter '__s' here 88 | char *_LIBC_CSTR 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] 71 | strcpy(b, strchr(nm, '(')+1); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:88:37: note: passing argument to parameter '__s' here 88 | char *_LIBC_CSTR 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] 82 | t = dovars(vtok[i]+1); | ^~~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here 59 | 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] 86 | 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] 101 | t = dovars(tok[j]+1); | ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here 59 | 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] 105 | 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] 169 | if (!strcasecmp(vars[i].nm, b)) | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | 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 C23 [-Wdeprecated-non-prototype] 171 | 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] 183 | 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] 237 | t = strdup(al->args); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR 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] 385 | 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] 538 | 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] 539 | 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] 546 | strncpy(cur->nm, buf, i); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __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] 575 | 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] 587 | addset(nm, buf+j, t); | ^~ ./alias.h:36:28: note: passing argument to parameter here 36 | 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] 587 | addset(nm, buf+j, t); | ^~~~~ ./alias.h:36:45: note: passing argument to parameter here 36 | 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] 630 | cur->nm = strdup(nm); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR 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] 630 | 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] 631 | cur->d = strdup(val); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR 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] 631 | 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] 652 | if (!strlen(d)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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] 662 | for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | 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] 662 | for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | 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] 687 | for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | 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] 687 | for (cur=setl;cur&&strcasecmp(cur->nm, nm);cur=cur->next) | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | 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] 716 | return(atol(cur->d)); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:151:24: note: passing argument to parameter here 151 | 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] 778 | t = dovars(tok[i]+1); | ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here 59 | 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] 778 | 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] 823 | s2 = (char *)malloc(abs(strchr(s1, r)-s1)); | ^ alias.c:823:25: note: use function 'labs' instead 823 | 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] 824 | strncpy(s2, s1+1, abs(strchr(s1, r)-s1)-1); | ^ alias.c:824:23: note: use function 'labs' instead 824 | strncpy(s2, s1+1, abs(strchr(s1, r)-s1)-1); | ^~~ | labs /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __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] 825 | s2[abs(strchr(s1, r)-s1)-1] = '\0'; | ^ alias.c:825:8: note: use function 'labs' instead 825 | 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 C23 [-Wdeprecated-non-prototype] 826 | 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] 836 | 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 836 | 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] 836 | 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 836 | 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] 836 | 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 836 | 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] 892 | tm = dovars(tok[0]+1); | ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here 59 | 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] 892 | 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] 901 | tm = dovars(tok[1]+1); | ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here 59 | 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] 901 | 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] 910 | tm = dovars(tok[2]+1); | ^~~~~~~~ alias.c:59:38: note: passing argument to parameter 'nm' here 59 | 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] 910 | 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] 922 | 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] 1106 | msprintf(&rt, "%i", t); | ^ 48 warnings and 1 error generated. *** [alias.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/nap/work/nap-1.4.4 --- cmds.o --- In file included from cmds.c:25: ./getopt.h:136:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 136 | extern int getopt (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:513:6: note: conflicting prototype is here 513 | int getopt(int __argc, char *_LIBC_CSTR const [_LIBC_COUNT(__argc)], const char *) __DARWIN_ALIAS(getopt); | ^ In file included from cmds.c:33: ./nap.h:1:9: warning: '_NAP_NAP_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 1 | #ifndef _NAP_NAP_H | ^~~~~~~~~~ ./nap.h:2:9: note: '_NAP_HAP_H' is defined here; did you mean '_NAP_NAP_H'? 2 | #define _NAP_HAP_H | ^~~~~~~~~~ | _NAP_NAP_H cmds.c:323:61: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 323 | recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr *)&frm, &frmlen); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:720:27: note: passing argument to parameter here 720 | socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); | ^ cmds.c:492: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] 492 | b = dohandler(cur, tok, cnt); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:514:9: warning: call to undeclared function 'userhandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | r = userhandler(s, op, tok, cnt, buf, win); | ^ cmds.c:520:9: warning: call to undeclared function 'userhandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | r = userhandler(s, op, NULL, 0, NULL, win); | ^ cmds.c:703:26: 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] 703 | p = dovars(tok[i]+1); | ^~~~~~~~ ./alias.h:29:38: note: passing argument to parameter here 29 | unsigned char *dovars(unsigned char *); | ^ cmds.c:703:17: 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] 703 | p = dovars(tok[i]+1); | ^ ~~~~~~~~~~~~~~~~ cmds.c:762:31: 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] 762 | if (!strcasecmp(tok[0], cur->nm)) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:764:12: 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] 764 | st = doalias(cur, tok, cnt); | ^ ~~~~~~~~~~~~~~~~~~~~~~ cmds.c:833:18: warning: initializing 'unsigned char *' with an expression 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] 833 | unsigned char *t = buf, f=0; | ^ ~~~ cmds.c:835:19: 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] 835 | tok = form_toks(t, &cnt); | ^ cmds.c:336:24: note: passing argument to parameter 'buf' here 336 | char **form_toks(char *buf, int *cnt) | ^ cmds.c:844:7: warning: call to undeclared function 'usercmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 844 | r = usercmd(s, tok, cnt, t, win); | ^ cmds.c:857:29: 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] 857 | if (!checkouts(ircsock, t, tok, cnt, win)) | ^ ./irc.h:85:28: note: passing argument to parameter here 85 | int checkouts(int s, char *, char **, int, WINDOW *); | ^ cmds.c:887:26: 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] 887 | r = out[i].func(s, t, tok, cnt, win); | ^ cmds.c:1277:74: 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] 1277 | if (dwi && ((!strcasecmp(tok[0], "information") && !strcasecmp(tok[2], dwi)) || (!strcasecmp(tok[0], "user") && !strcasecmp(tok[1], dwi)))) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:1277:135: 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] 1277 | if (dwi && ((!strcasecmp(tok[0], "information") && !strcasecmp(tok[2], dwi)) || (!strcasecmp(tok[0], "user") && !strcasecmp(tok[1], dwi)))) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:1316:26: 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] 1316 | if (dwi && !strcasecmp(dwi, tok[0])) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:1384:26: 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] 1384 | if (dwi && !strcasecmp(dwi, tok[0])) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:1575:34: 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] 1575 | cur->timer = addtimer(90, s, nm, win); | ^~ ./timer.h:24:41: note: passing argument to parameter here 24 | void *addtimer(int, int, unsigned char *, WINDOW *); | ^ cmds.c:1713:32: 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] 1713 | cur->timer = addtimer(90, s, nm, win); | ^~ ./timer.h:24:41: note: passing argument to parameter here 24 | void *addtimer(int, int, unsigned char *, WINDOW *); | ^ cmds.c:1819:37: warning: passing 'char[15]' 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] 1819 | int min, sec, i, c, lp, dr = nvar("noresultscreen"); | ^~~~~~~~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:2029:29: warning: passing 'char[15]' 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] 2029 | int min, sec, i, r = nvar("noresultscreen"); | ^~~~~~~~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:2078:3: warning: call to undeclared function 'initfserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2078 | initfserv(atoi(tok[0])); | ^ cmds.c:3006:9: 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] 3006 | dwi = strdup(tok[1]); | ^ ~~~~~~~~~~~~~~ cmds.c:3007:26: 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] 3007 | sendpack(s, F_WHOIS, dwi); | ^~~ ./nap.h:95:41: note: passing argument to parameter here 95 | int sendpack(int, unsigned short, char *, ...); | ^ cmds.c:3275:3: warning: call to undeclared function 'libunload'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3275 | libunload(&hnd); | ^ cmds.c:3276:7: warning: call to undeclared function 'libload'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3276 | if (libload(USERLIB) == -1) | ^ cmds.c:3754:23: 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] 3754 | if (!strcasecmp(cur->nm, tok[1])) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:3766: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] 3766 | cur->nm = strdup(tok[1]); | ^ ~~~~~~~~~~~~~~ cmds.c:3767: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] 3767 | cur->args = strdup(cstr(str, 2)); | ^ ~~~~~~~~~~~~~~~~~~~~ cmds.c:3795: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] 3795 | if (!strcasecmp(cur->nm, tok[1])) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ cmds.c:3851: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] 3851 | cur->args = strdup(cspstr(tok, num, 2)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:4460:14: 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] 4460 | p = dovars(tok[1]); | ^~~~~~ ./alias.h:29:38: note: passing argument to parameter here 29 | unsigned char *dovars(unsigned char *); | ^ cmds.c:4480:11: 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] 4480 | chset(tok[1], cstr(str, 2)); | ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4480: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] 4480 | chset(tok[1], cstr(str, 2)); | ^~~~~~~~~~~~ ./alias.h:37:44: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4482:11: 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] 4482 | chset(tok[1], ""); | ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4482:19: warning: passing 'char[1]' 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] 4482 | chset(tok[1], ""); | ^~ ./alias.h:37:44: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4484:12: warning: passing 'char[9]' 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] 4484 | if (nvar("echosets") == 1) | ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:4504:15: 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] 4504 | if (!getval(tok[1], &t)) | ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here 39 | unsigned char *getval(unsigned char *, unsigned char *); | ^ cmds.c:4506:14: warning: passing 'char[9]' 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] 4506 | if (nvar("echosets") == 1) | ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:4514:10: 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] 4514 | delset(tok[1]); | ^~~~~~ ./alias.h:40:28: note: passing argument to parameter here 40 | void delset(unsigned char *); | ^ cmds.c:4516:12: warning: passing 'char[9]' 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] 4516 | if (nvar("echosets") == 1) | ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:4687: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] 4687 | addtimer(sec, s, cstr(str, 3), win); | ^~~~~~~~~~~~ ./timer.h:24:41: note: passing argument to parameter here 24 | void *addtimer(int, int, unsigned char *, WINDOW *); | ^ cmds.c:4894:14: 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] 4894 | p = getval(tok[1], &t); | ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here 39 | unsigned char *getval(unsigned char *, unsigned char *); | ^ cmds.c:4895: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] 4895 | if (t && strlen(p)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ cmds.c:4897:17: 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] 4897 | tp = strdup(p+1); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR strdup(const char *__s1); | ^ cmds.c:4898:11: 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] 4898 | chset(tok[1], tp); | ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4898: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] 4898 | chset(tok[1], tp); | ^~ ./alias.h:37:44: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4903:30: 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] 4903 | msprintf(&tp, "%i", atoi(p)+1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:150:23: note: passing argument to parameter here 150 | int atoi(const char *); | ^ cmds.c:4904:11: 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] 4904 | chset(tok[1], tp); | ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4904: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] 4904 | chset(tok[1], tp); | ^~ ./alias.h:37:44: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4908:14: 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] 4908 | p = getval(tok[1], &t); | ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here 39 | unsigned char *getval(unsigned char *, unsigned char *); | ^ cmds.c:4910:12: warning: passing 'char[9]' 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] 4910 | if (nvar("echosets") == 1) | ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:4931:14: 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] 4931 | p = getval(tok[1], &t); | ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here 39 | unsigned char *getval(unsigned char *, unsigned char *); | ^ cmds.c:4932: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] 4932 | if (t && strlen(p)) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ cmds.c:4934:17: 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] 4934 | tp = strdup(p); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR strdup(const char *__s1); | ^ cmds.c:4936:11: 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] 4936 | chset(tok[1], tp); | ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4936: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] 4936 | chset(tok[1], tp); | ^~ ./alias.h:37:44: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4941:30: 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] 4941 | msprintf(&tp, "%i", atoi(p)-1); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:150:23: note: passing argument to parameter here 150 | int atoi(const char *); | ^ cmds.c:4942:11: 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] 4942 | chset(tok[1], tp); | ^~~~~~ ./alias.h:37:27: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4942: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] 4942 | chset(tok[1], tp); | ^~ ./alias.h:37:44: note: passing argument to parameter here 37 | void chset(unsigned char *, unsigned char *); | ^ cmds.c:4946:14: 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] 4946 | p = getval(tok[1], &t); | ^~~~~~ ./alias.h:39:38: note: passing argument to parameter here 39 | unsigned char *getval(unsigned char *, unsigned char *); | ^ cmds.c:4948:12: warning: passing 'char[9]' 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] 4948 | if (nvar("echosets") == 1) | ^~~~~~~~~~ ./alias.h:41:26: note: passing argument to parameter here 41 | long nvar(unsigned char *); | ^ cmds.c:4986:16: warning: passing 'unsigned char[256]' 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] 4986 | if (strstr(cur->ln, tok[1]) && cur->d != 2) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:110:40: note: passing argument to parameter '__big' here 110 | char *_LIBC_CSTR strstr(const char *__big, const char *__little); | ^ cmds.c:5101:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 5101 | if (getpeername(s, (struct sockaddr *)&dst, &frmlen)) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 66 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/nap/work/nap-1.4.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nap *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nap