=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for unworkable-0.53nb4 --- announce.o --- --- bencode.o --- --- buf.o --- --- announce.o --- gcc -O2 -mieee -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 -mieee -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 -mieee -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 -mieee -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 -mieee -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 --- 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); ^ --- 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; ^ --- parse.o --- yacc parse.y gcc -O2 -mieee -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 --- progressmeter.o --- gcc -O2 -mieee -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 --- 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 --- scheduler.o --- --- parse.o --- rm -f y.tab.c --- scheduler.o --- gcc -O2 -mieee -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 -mieee -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 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 ^ --- trace.o --- gcc -O2 -mieee -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 --- util.o --- gcc -O2 -mieee -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 --- xmalloc.o --- gcc -O2 -mieee -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 --- gcc -O2 -mieee -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 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]); ^ --- strtonum.o --- gcc -O2 -mieee -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 --- main.o --- gcc -O2 -mieee -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 --- unworkable.cat1 --- nroff -Tascii -mandoc unworkable.1 > unworkable.cat1 --- libunworkable.a --- ar rcs libunworkable.a 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 --- unworkable --- gcc -o unworkable -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L. -levent -lcrypto main.o -lunworkable