=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- parse.o --- yacc parse.y --- progressmeter.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- scheduler.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- torrent.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- util.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- sha1.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- main.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- strtonum.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- unworkable.cat1 --- nroff -Tascii -mandoc unworkable.1 > unworkable.cat1 --- parse.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- xmalloc.o --- gcc -O2 -D_FORTIFY_SOURCE=2 -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 --- sha1.o --- sha1.c: In function 'SHA1Update': sha1.c:134:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SHA1Transform(context->state, (u_int8_t *)&data[i]); ^ --- announce.o --- announce.c: In function 'handle_announce_error': announce.c:292:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(c, HTTP_1_0, strlen(HTTP_1_0)) != 0 && strncmp(c, HTTP_1_1, strlen(HTTP_1_1))) { ^ In file included from announce.c:42:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ announce.c:292:61: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(c, HTTP_1_0, strlen(HTTP_1_0)) != 0 && strncmp(c, HTTP_1_1, strlen(HTTP_1_1))) { ^ In file included from announce.c:42:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ announce.c:297:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(c, HTTP_OK, strlen(HTTP_OK)) != 0) { ^ In file included from announce.c:42:0: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ announce.c:302:13: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] c = strstr(c, HTTP_END); ^ In file included from announce.c:42:0: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ announce.c:302:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] c = strstr(c, HTTP_END); ^ --- parse.o --- parse.y: In function 'yyparse': parse.y:113:11: warning: implicit declaration of function 'strtonum'; did you mean 'strtou'? [-Wimplicit-function-declaration] lval = strtonum($1, LLONG_MIN, LLONG_MAX, &errstr); ^~~~~~~~ strtou --- torrent.o --- torrent.c: In function 'torrent_parse_infohash': torrent.c:77:19: warning: pointer targets in passing argument 2 of 'SHA1Update' differ in signedness [-Wpointer-sign] SHA1Update(&sha, p, (infoend - (p - buf))); ^ In file included from torrent.c:27:0: openbsd-compat/sha1.h:25:6: note: expected 'const u_int8_t * {aka const unsigned char *}' but argument is of type 'char *' void SHA1Update(SHA1_CTX *, const u_int8_t *, size_t); ^~~~~~~~~~ torrent.c: In function 'torrent_piece_checkhash': torrent.c:767:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = tp->body.multifile.pieces ^ torrent.c:770:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = tp->body.singlefile.pieces ^ --- network.o --- network.c: In function 'network_peer_process_message': network.c:631:47: warning: right-hand operand of comma expression has no effect [-Wunused-value] trace("REQUEST offset out of bounds (%u)"), off; ^ network.c: In function 'network_crypto_dh': network.c:1288:10: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}' if ((dhp->p = BN_bin2bn(mse_P, CRYPTO_INT_LEN, NULL)) == NULL) ^~ *** [network.o] Error code 1 make: stopped in /tmp/pkgbuild/net/unworkable/work.x86_64/unworkable --- parse.o --- rm -f y.tab.c 1 error make: stopped in /tmp/pkgbuild/net/unworkable/work.x86_64/unworkable *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/unworkable *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/unworkable