=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for netcat-openbsd-20131208 --- all --- clang -o nc -Wl,-R/usr/pkg/lib -lresolv netcat.c atomicio.c socks.c strtonum.c readpassphrase.c netcat.c:301:40: warning: comparison between pointer and integer ('int' and 'void *') if (mkstemp(unix_dg_tmp_socket_buf) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 1 warning generated. socks.c:275:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = snprintf(buf, sizeof(buf), ^~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ socks.c:279:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = snprintf(buf, sizeof(buf), ^~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ socks.c:285:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = strlen(buf); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ socks.c:295:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = snprintf(buf, sizeof(buf), "%s:%s", ^~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ socks.c:298:29: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] b64_ntop(buf, strlen(buf), resp, ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ socks.c:301:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = snprintf(buf, sizeof(buf), "Proxy-Authorization: " ^~~ /usr/include/stdio.h:297:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ socks.c:305:15: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = strlen(buf); ^~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ socks.c:315:28: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] proxy_read_line(proxyfd, buf, sizeof(buf)); ^~~ socks.c:91:31: note: passing argument to parameter 'buf' here proxy_read_line(int fd, char *buf, size_t bufsz) ^ socks.c:317:15: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncmp(buf, "HTTP/1.0 407 ", 12) == 0) { ^~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ socks.c:324:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (strncmp(buf, "HTTP/1.0 200 ", 12) != 0 && ^~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ socks.c:325:15: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncmp(buf, "HTTP/1.1 200 ", 12) != 0) ^~~ /usr/include/string.h:100:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ socks.c:330:29: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] proxy_read_line(proxyfd, buf, sizeof(buf)); ^~~ socks.c:91:31: note: passing argument to parameter 'buf' here proxy_read_line(int fd, char *buf, size_t bufsz) ^ 12 warnings generated. readpassphrase.c:35:36: error: use of undeclared identifier '_NSIG' static volatile sig_atomic_t signo[_NSIG]; ^ readpassphrase.c:56:18: error: use of undeclared identifier '_NSIG' for (i = 0; i < _NSIG; i++) ^ readpassphrase.c:156:18: error: use of undeclared identifier '_NSIG' for (i = 0; i < _NSIG; i++) { ^ 3 errors generated. *** [all] Error code 1 bmake: stopped in /var/pkgsrc/work/net/netcat-openbsd/work/netcat-openbsd-126d9bbdca6afb45d9c2d38e4313d2a1a59e35e9 1 error bmake: stopped in /var/pkgsrc/work/net/netcat-openbsd/work/netcat-openbsd-126d9bbdca6afb45d9c2d38e4313d2a1a59e35e9 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/netcat-openbsd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/netcat-openbsd