WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nstx-1.1beta6nb1 clang -pipe -Os -c nstxd.c nstxd.c:143:21: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations] if (daemonize && daemon(0, 0)) { ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:294:6: note: 'daemon' has been explicitly marked deprecated here int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED; ^ nstxd.c:175: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] buf = dns_constructpacket (pkt, &len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nstxd.c:191:23: warning: passing 'char [2000]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pkt = dns_extractpkt(msg->data, msg->len); ^~~~~~~~~ ./nstxdns.h:37:53: note: passing argument to parameter here struct dnspkt *dns_extractpkt (const unsigned char *, int); ^ nstxd.c:201:28: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (buf = nstx_decode(data, &len))) ^~~~ ./nstxfun.h:51:46: note: passing argument to parameter here const char *nstx_decode(const unsigned char *, int*); ^ nstxd.c:223:11: warning: assigning to 'const 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] buf = dns_constructpacket(pkt, &len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. clang -pipe -Os -c nstx_encode.c nstx_encode.c:37:27: warning: passing 'unsigned char [65]' 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 (i = 0; i < strlen(map); i++) ^~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ nstx_encode.c:73:17: warning: passing 'const 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] len = strlen(data)-1; ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 2 warnings generated. clang -pipe -Os -c nstx_pstack.c clang -pipe -Os -c nstx_dns.c nstx_dns.c:146:17: warning: passing 'const 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] len = strlen(data); ^~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ nstx_dns.c:321:19: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = data2lbl(data); ^~~~ nstx_dns.c:142:32: note: passing argument to parameter 'data' here data2lbl (const unsigned char *data) ^ nstx_dns.c:321:8: warning: assigning to 'const char *' from 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = data2lbl(data); ^ ~~~~~~~~~~~~~~ nstx_dns.c:340:24: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf = strdup(lbl2data(fqdn, off - fqdn)); ^~~~ nstx_dns.c:184:32: note: passing argument to parameter 'data' here lbl2data (const unsigned char *data, size_t len) ^ nstx_dns.c:340:15: warning: passing 'const 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] buf = strdup(lbl2data(fqdn, off - fqdn)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ nstx_dns.c:367:19: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = data2txt(data, &len); ^~~~ nstx_dns.c:151:32: note: passing argument to parameter 'data' here data2txt (const unsigned char *data, int *len) ^ nstx_dns.c:367:8: warning: assigning to 'const char *' from 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptr = data2txt(data, &len); ^ ~~~~~~~~~~~~~~~~~~~~ nstx_dns.c:480:31: warning: passing 'const 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] rrp->data = decompress_label(buf, len, ptr); ^~~ nstx_dns.c:61:30: note: passing argument to parameter 'msg' here decompress_label(const char *msg, int msglen, const char *lbl) ^ nstx_dns.c:480:41: warning: passing 'const 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] rrp->data = decompress_label(buf, len, ptr); ^~~ nstx_dns.c:61:59: note: passing argument to parameter 'lbl' here decompress_label(const char *msg, int msglen, const char *lbl) ^ 9 warnings generated. clang -pipe -Os -c nstx_tuntap.c nstx_tuntap.c:27:11: fatal error: 'net/if_tun.h' file not found # include <net/if_tun.h> ^~~~~~~~~~~~~~ 1 error generated. *** [nstx_tuntap.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/net/nstx/work/nstx-1.1-beta6 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/net/nstx/work/nstx-1.1-beta6 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nstx *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nstx