=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for unworkable-0.53nb2 --- announce.o --- --- bencode.o --- --- buf.o --- --- ctl_server.o --- --- network.o --- --- parse.o --- --- progressmeter.o --- --- scheduler.o --- --- torrent.o --- --- trace.o --- --- util.o --- --- xmalloc.o --- --- sha1.o --- --- strtonum.o --- --- main.o --- --- unworkable.cat1 --- --- announce.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c announce.c --- bencode.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c bencode.c --- buf.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c buf.c --- ctl_server.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c ctl_server.c --- network.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c network.c --- unworkable.cat1 --- nroff -Tascii -mandoc unworkable.1 > unworkable.cat1 --- xmalloc.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c xmalloc.c --- strtonum.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c strtonum.c --- torrent.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c torrent.c --- parse.o --- yacc parse.y --- util.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c util.c --- trace.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c trace.c --- scheduler.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c scheduler.c --- sha1.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c sha1.c --- progressmeter.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c progressmeter.c --- parse.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c -o parse.o y.tab.c --- main.o --- clang -O2 -I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -g -ggdb -Iopenbsd-compat -I/usr/include -c main.c --- sha1.o --- sha1.c:134:46: warning: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] SHA1Transform(context->state, (u_int8_t *)&data[i]); ^ --- network.o --- network.c:631:49: warning: expression result unused [-Wunused-value] trace("REQUEST offset out of bounds (%u)"), off; ^~~ network.c:1288:10: error: incomplete definition of type 'struct dh_st' if ((dhp->p = BN_bin2bn(mse_P, CRYPTO_INT_LEN, NULL)) == NULL) ~~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ network.c:1290:10: error: incomplete definition of type 'struct dh_st' if ((dhp->g = BN_bin2bn(mse_G, CRYPTO_INT_LEN, NULL)) == NULL) ~~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ 1 warning and 2 errors generated. *** [network.o] Error code 1 make: stopped in /data/scratch/net/unworkable/work/unworkable --- parse.o --- parse.y:113:11: warning: implicit declaration of function 'strtonum' is invalid in C99 [-Wimplicit-function-declaration] lval = strtonum(yystack.l_mark[0].string, LLONG_MIN, LLONG_MAX, &errstr); ^ parse.y:113:11: warning: this function declaration is not a prototype [-Wstrict-prototypes] --- announce.o --- announce.c:292:14: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(c, HTTP_1_0, strlen(HTTP_1_0)) != 0 && strncmp(c, HTTP_1_1, strlen(HTTP_1_1))) { ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ announce.c:292:61: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(c, HTTP_1_0, strlen(HTTP_1_0)) != 0 && strncmp(c, HTTP_1_1, strlen(HTTP_1_1))) { ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ announce.c:297:14: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(c, HTTP_OK, strlen(HTTP_OK)) != 0) { ^ /usr/include/string.h:63:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t); ^ announce.c:302:13: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = strstr(c, HTTP_END); ^ /usr/include/string.h:68:26: note: passing argument to parameter here char *strstr(const char *, const char *); ^ announce.c:302:4: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = strstr(c, HTTP_END); ^ ~~~~~~~~~~~~~~~~~~~ --- torrent.o --- torrent.c:77:19: warning: passing 'char *' to parameter of type 'const u_int8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&sha, p, (infoend - (p - buf))); ^ openbsd-compat/sha1.h:25:45: note: passing argument to parameter here void SHA1Update(SHA1_CTX *, const u_int8_t *, size_t); ^ torrent.c:767:5: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] s = tp->body.multifile.pieces ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ torrent.c:770:5: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] s = tp->body.singlefile.pieces ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ --- announce.o --- 5 warnings generated. --- parse.o --- 2 warnings generated. rm -f y.tab.c --- sha1.o --- 1 warning generated. --- torrent.o --- 3 warnings generated. 1 error make: stopped in /data/scratch/net/unworkable/work/unworkable *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/unworkable *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/unworkable