=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for netcat-openbsd-1 cc -o nc -Wl,-R/usr/pkg/lib -lresolv netcat.c atomicio.c socks.c strtonum.c readpassphrase.c netcat.c:170:12: warning: implicit declaration of function 'strtonum' is invalid in C99 [-Wimplicit-function-declaration] iflag = strtonum(optarg, 0, UINT_MAX, &errstr); ^ netcat.c:301:40: warning: comparison between pointer and integer ('int' and 'void *') if (mkstemp(unix_dg_tmp_socket_buf) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 2 warnings 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:346: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:346: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:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 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:346: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:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 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:346: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:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 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:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ 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:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ 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:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ 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. /usr/bin/ld: cannot find -lresolv clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/netcat-openbsd/work/msporleder-netcat-openbsd-126d9bb *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/netcat-openbsd *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/netcat-openbsd