+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/btget-1.05nb37/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/btget-1.05nb37/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for btget-1.05nb37 --- depend --- --- compile --- --- depend --- cd src && /usr/pkg/bin/bmake depend --- compile --- cd src && /usr/pkg/bin/bmake --- depend --- --- depend --- makedepend -- -g -Wall -I../include -I../include - benc.c bts.c types.c random.c strbuf.c stream.c peer.c segmenter.c util.c bitset.c context.c bterror.c makedepend: warning: benc.c (reading /usr/include/stdlib.h, line 31): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h --- compile --- --- benc.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include benc.c -o benc.o --- depend --- makedepend: warning: benc.c (reading /usr/include/sys/types.h, line 144): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: benc.c (reading /usr/include/alloca.h, line 24): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: benc.c (reading /usr/include/stdio.h, line 33): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: benc.c (reading /usr/include/stdio.h, line 36): cannot find include file "stdarg.h" not in ../include/stdarg.h not in ../include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: bts.c (reading /usr/include/string.h, line 33): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: bts.c (reading /usr/include/strings.h, line 23): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: bts.c, line 22: cannot find include file "stdarg.h" not in ../include/stdarg.h not in ../include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: random.c, line 21: cannot find include file "uuid/uuid.h" not in ../include/uuid/uuid.h not in ../include/uuid/uuid.h not in /usr/include/uuid/uuid.h makedepend: warning: random.c, line 32: cannot find include file "openssl/sha.h" not in ../include/openssl/sha.h not in ../include/openssl/sha.h not in /usr/include/openssl/sha.h makedepend: warning: strbuf.c (reading ../include/strbuf.h, line 6): cannot find include file "stdarg.h" not in ../include/stdarg.h not in ../include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: stream.c, line 18: cannot find include file "stdarg.h" not in ../include/stdarg.h not in ../include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: stream.c (reading /usr/include/bits/types/struct_iovec.h, line 23): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: stream.c (reading /usr/include/sys/socket.h, line 28): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: stream.c (reading /usr/include/bits/socket.h, line 27): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: stream.c (reading /usr/include/unistd.h, line 226): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: peer.c (reading /usr/include/rpc/netdb.h, line 42): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: peer.c (reading /usr/include/limits.h, line 124): cannot find include file "limits.h" makedepend: warning: peer.c (reading /usr/include/time.h, line 29): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: peer.c (reading ../include/segmenter.h, line 3): cannot find include file "openssl/sha.h" not in ../include/openssl/sha.h not in ../include/openssl/sha.h not in /usr/include/openssl/sha.h makedepend: warning: peer.c (reading ../include/context.h, line 3): cannot find include file "openssl/sha.h" not in ../include/openssl/sha.h not in ../include/openssl/sha.h not in /usr/include/openssl/sha.h makedepend: warning: segmenter.c, line 18: cannot find include file "openssl/sha.h" not in ../include/openssl/sha.h not in ../include/openssl/sha.h not in /usr/include/openssl/sha.h makedepend: warning: util.c (reading /usr/include/sys/param.h, line 23): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: util.c (reading /usr/include/signal.h, line 311): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: util.c (reading /usr/include/bits/types/stack_t.h, line 23): cannot find include file "stddef.h" not in ../include/stddef.h not in ../include/stddef.h not in /usr/include/stddef.h makedepend: warning: context.c, line 17: cannot find include file "curl/curl.h" not in ../include/curl/curl.h not in ../include/curl/curl.h not in /usr/include/curl/curl.h makedepend: warning: context.c, line 18: cannot find include file "curl/easy.h" not in ../include/curl/easy.h not in ../include/curl/easy.h not in /usr/include/curl/easy.h makedepend: warning: context.c, line 19: cannot find include file "openssl/sha.h" not in ../include/openssl/sha.h not in ../include/openssl/sha.h not in /usr/include/openssl/sha.h --- compile --- --- bts.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include bts.c -o bts.o --- benc.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from benc.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- bts.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from bts.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ bts.c: In function 'bts_get_buf': bts.c:230:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 230 | buf.buf = bss->buf; | ^ --- types.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include types.c -o types.o In file included from /usr/include/errno.h:25, from ../include/util.h:3, from types.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- random.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include random.c -o random.o In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/net/btget/work/.buildlink/include/uuid/uuid.h:38, from random.c:21: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ random.c: In function 'seed_rnd': random.c:39:11: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] 39 | SHA1( buf, len, dg); | ^~~ | | | char * In file included from random.c:32: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:42: note: expected 'const unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ random.c:39:21: warning: pointer targets in passing argument 3 of 'SHA1' differ in signedness [-Wpointer-sign] 39 | SHA1( buf, len, dg); | ^~ | | | char * In file included from random.c:32: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:70: note: expected 'unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ --- strbuf.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include strbuf.c -o strbuf.o In file included from /usr/include/errno.h:25, from ../include/util.h:3, from strbuf.c:15: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- stream.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include stream.c -o stream.o --- peer.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include peer.c -o peer.o --- stream.o --- In file included from /usr/include/errno.h:25, from stream.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- peer.o --- In file included from /usr/include/sys/types.h:25, from peer.c:17: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ peer.c: In function 'peer_connect_complete': peer.c:87:62: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 87 | if (getsockopt( p->ios.fd, SOL_SOCKET, SO_ERROR, &error, &errlen)) { | ^~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from peer.c:18: /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ peer.c: In function 'peer_answer': peer.c:1136:48: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 1136 | getpeername( sock, (struct sockaddr*)&sin, &sin_len); | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from peer.c:18: /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ --- segmenter.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include segmenter.c -o segmenter.o In file included from /usr/include/errno.h:25, from ../include/util.h:3, from segmenter.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ segmenter.c: In function '_checkhash': segmenter.c:150:11: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] 150 | SHA1( buf, len, digest); | ^~~ | | | char * In file included from segmenter.c:18: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:42: note: expected 'const unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ segmenter.c: In function 'seg_readbuf': segmenter.c:366:65: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] 366 | fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); | ~^ ~~~ | | | | int ssize_t {aka long int} | %ld --- util.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include util.c -o util.o --- bitset.o --- --- util.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from util.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- bitset.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include bitset.c -o bitset.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from bitset.c:17: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- context.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include context.c -o context.o In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/net/btget/work/.buildlink/include/curl/system.h:422, from /home/pbulk/build/net/btget/work/.buildlink/include/curl/curl.h:63, from context.c:17: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ context.c: In function 'btContext_create': context.c:105:23: warning: pointer targets in passing argument 1 of 'hexencode' differ in signedness [-Wpointer-sign] 105 | hexencode( ctx->myid, IDSIZE, hexbuf, sizeof(hexbuf)); | ~~~^~~~~~ | | | char * In file included from ../include/types.h:4, from ../include/context.h:11, from context.c:41: ../include/util.h:25:38: note: expected 'const unsigned char *' but argument is of type 'char *' 25 | void hexencode (const unsigned char *digest, int len, char *buf, int buflen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ context.c:107:23: warning: pointer targets in passing argument 1 of 'hexencode' differ in signedness [-Wpointer-sign] 107 | hexencode( ctx->mykey, KEYSIZE, hexbuf, sizeof(hexbuf)); | ~~~^~~~~~~ | | | char * In file included from ../include/types.h:4, from ../include/context.h:11, from context.c:41: ../include/util.h:25:38: note: expected 'const unsigned char *' but argument is of type 'char *' 25 | void hexencode (const unsigned char *digest, int len, char *buf, int buflen); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ context.c:116:66: warning: pointer targets in passing argument 4 of 'parse_config_digest' differ in signedness [-Wpointer-sign] 116 | if (parse_config_digest( rcfile, lineno, "myid:", ctx->myid, IDSIZE, hexbuf)==0) { | ~~~^~~~~~ | | | char * context.c:59:24: note: expected 'unsigned char *' but argument is of type 'char *' 59 | unsigned char *digest, int len, | ~~~~~~~~~~~~~~~^~~~~~ context.c:119:67: warning: pointer targets in passing argument 4 of 'parse_config_digest' differ in signedness [-Wpointer-sign] 119 | if (parse_config_digest( rcfile, lineno, "mykey:", ctx->mykey, KEYSIZE, hexbuf)==0) { | ~~~^~~~~~~ | | | char * context.c:59:24: note: expected 'unsigned char *' but argument is of type 'char *' 59 | unsigned char *digest, int len, | ~~~~~~~~~~~~~~~^~~~~~ context.c: In function 'btresponse': context.c:212:13: warning: variable 'p' set but not used [-Wunused-but-set-variable] 212 | btPeer *p; | ^ context.c: In function 'ctx_register': context.c:493:25: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] 493 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~ | | | char * context.c:313:23: note: expected 'unsigned char *' but argument is of type 'char *' 313 | unsigned char myid[IDSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~ context.c:493:36: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] 493 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~~ | | | char * context.c:314:23: note: expected 'unsigned char *' but argument is of type 'char *' 314 | unsigned char mykey[KEYSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ context.c:493:47: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] 493 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~^~~~~~~~~~ | | | char * context.c:315:23: note: expected 'unsigned char *' but argument is of type 'char *' 315 | unsigned char digest[SHA_DIGEST_LENGTH], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ context.c: In function 'ctx_shutdown': context.c:548:25: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] 548 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~ | | | char * context.c:313:23: note: expected 'unsigned char *' but argument is of type 'char *' 313 | unsigned char myid[IDSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~ context.c:548:36: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] 548 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~~ | | | char * context.c:314:23: note: expected 'unsigned char *' but argument is of type 'char *' 314 | unsigned char mykey[KEYSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ context.c:548:47: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] 548 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~^~~~~~~~~~ | | | char * context.c:315:23: note: expected 'unsigned char *' but argument is of type 'char *' 315 | unsigned char digest[SHA_DIGEST_LENGTH], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ context.c: In function 'ctx_complete': context.c:585:25: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] 585 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~ | | | char * context.c:313:23: note: expected 'unsigned char *' but argument is of type 'char *' 313 | unsigned char myid[IDSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~ context.c:585:36: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] 585 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~~ | | | char * context.c:314:23: note: expected 'unsigned char *' but argument is of type 'char *' 314 | unsigned char mykey[KEYSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ context.c:585:47: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] 585 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~^~~~~~~~~~ | | | char * context.c:315:23: note: expected 'unsigned char *' but argument is of type 'char *' 315 | unsigned char digest[SHA_DIGEST_LENGTH], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ context.c: In function 'ctx_reregister': context.c:614:25: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] 614 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~ | | | char * context.c:313:23: note: expected 'unsigned char *' but argument is of type 'char *' 313 | unsigned char myid[IDSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~ context.c:614:36: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] 614 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~~^~~~~~~ | | | char * context.c:314:23: note: expected 'unsigned char *' but argument is of type 'char *' 314 | unsigned char mykey[KEYSIZE], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ context.c:614:47: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] 614 | dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, | ~~^~~~~~~~~~ | | | char * context.c:315:23: note: expected 'unsigned char *' but argument is of type 'char *' 315 | unsigned char digest[SHA_DIGEST_LENGTH], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ context.c: In function 'ctx_loadfile': context.c:676:17: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] 676 | SHA1( strbuf.buf, strbuf.len, dl->infohash); | ~~~~~~^~~~ | | | char * In file included from context.c:19: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:42: note: expected 'const unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ context.c:676:37: warning: pointer targets in passing argument 3 of 'SHA1' differ in signedness [-Wpointer-sign] 676 | SHA1( strbuf.buf, strbuf.len, dl->infohash); | ~~^~~~~~~~~~ | | | char * In file included from context.c:19: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:70: note: expected 'unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~^~ context.c: In function 'btresponse': context.c:256:104: warning: 'target.sin_port' may be used uninitialized [-Wmaybe-uninitialized] 256 | "Skipping old peer: %s:%d", inet_ntoa(target.sin_addr), ntohs(target.sin_port)); | ~~~~~~^~~~~~~~~ context.c:214:24: note: 'target' declared here 214 | struct sockaddr_in target; | ^~~~~~ --- bterror.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include bterror.c -o bterror.o --- libbt.a --- ar rc libbt.a benc.o bts.o types.o random.o strbuf.o stream.o peer.o segmenter.o util.o bitset.o context.o bterror.o ranlib libbt.a --- btcheck --- --- btlist --- --- btcheck --- cc -g -Wall -I../include -I../include -DVERSION=1.05 -g -L. -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o btcheck btcheck.c -lbt -luuid -lcurl `curl-config --libs` -lm --- btlist --- cc -g -Wall -I../include -I../include -DVERSION=1.05 -g -L. -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -o btlist btlist.c -lbt -luuid -lcurl `curl-config --libs` -lm In file included from /usr/include/sys/types.h:25, from btlist.c:16: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- btcheck --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/net/btget/work/.buildlink/include/curl/system.h:422, from /home/pbulk/build/net/btget/work/.buildlink/include/curl/curl.h:63, from btcheck.c:18: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- btlist --- btlist.c: In function 'main': btlist.c:107:17: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] 107 | SHA1( out.buf, out.len, digest); | ~~~^~~~ | | | char * In file included from btlist.c:17: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:42: note: expected 'const unsigned char *' but argument is of type 'char *' 55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | ~~~~~~~~~~~~~~~~~~~~~^ /bin/ld: /tmp/cc2VkuFm.o: undefined reference to symbol 'SHA1@@OPENSSL_3.0.0' /bin/ld: /usr/pkg/lib/libcrypto.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status *** [btlist] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/btget/work/libbt-1.05/src --- btcheck --- /bin/ld: ./libbt.a(context.o): undefined reference to symbol 'SHA1@@OPENSSL_3.0.0' /bin/ld: /usr/pkg/lib/libcrypto.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status *** [btcheck] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/btget/work/libbt-1.05/src bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/build/net/btget/work/libbt-1.05/src *** [compile] Error code 2 bmake: stopped making "all" in /home/pbulk/build/net/btget/work/libbt-1.05 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/btget/work/libbt-1.05 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/btget *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/btget