+ 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 --- cd src && /usr/pkg/bin/bmake --- depend --- cd src && /usr/pkg/bin/bmake depend --- 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 --- --- 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 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 --- compile --- 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ --- depend --- 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 301): 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 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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] 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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] SHA1( buf, len, dg); ^~~ In file included from random.c:32: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:16: note: expected 'const unsigned char *' but argument is of type 'char *' 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] SHA1( buf, len, dg); ^~ In file included from random.c:32: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:16: note: expected 'unsigned char *' but argument is of type 'char *' 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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 In file included from /usr/include/errno.h:25, from stream.c:16: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-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 In file included from /usr/include/sys/types.h:25, from peer.c:17: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ --- segmenter.o --- --- peer.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] if (getsockopt( p->ios.fd, SOL_SOCKET, SO_ERROR, &error, &errlen)) { ^~~~~~~ In file included from /usr/include/netinet/in.h:23, from peer.c:18: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ --- segmenter.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include segmenter.c -o segmenter.o --- peer.o --- peer.c: In function 'peer_answer': peer.c:1136:48: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] getpeername( sock, (struct sockaddr*)&sin, &sin_len); ^~~~~~~~ In file included from /usr/include/netinet/in.h:23, from peer.c:18: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ --- segmenter.o --- In file included from /usr/include/errno.h:25, from ../include/util.h:3, from segmenter.c:16: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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] SHA1( buf, len, digest); ^~~ In file included from segmenter.c:18: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ segmenter.c: In function 'seg_readbuf': segmenter.c:366:51: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' {aka 'long int'} [-Wformat=] fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); ~^ ~~~ %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 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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] hexencode( ctx->myid, IDSIZE, hexbuf, sizeof(hexbuf)); ~~~^~~~~~ In file included from ../include/types.h:4, from ../include/context.h:11, from context.c:41: ../include/util.h:25:6: note: expected 'const unsigned char *' but argument is of type 'char *' 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] hexencode( ctx->mykey, KEYSIZE, hexbuf, sizeof(hexbuf)); ~~~^~~~~~~ In file included from ../include/types.h:4, from ../include/context.h:11, from context.c:41: ../include/util.h:25:6: note: expected 'const unsigned char *' but argument is of type 'char *' 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] if (parse_config_digest( rcfile, lineno, "myid:", ctx->myid, IDSIZE, hexbuf)==0) { ~~~^~~~~~ context.c:57:12: note: expected 'unsigned char *' but argument is of type 'char *' static int parse_config_digest( ^~~~~~~~~~~~~~~~~~~ context.c:119:67: warning: pointer targets in passing argument 4 of 'parse_config_digest' differ in signedness [-Wpointer-sign] if (parse_config_digest( rcfile, lineno, "mykey:", ctx->mykey, KEYSIZE, hexbuf)==0) { ~~~^~~~~~~ context.c:57:12: note: expected 'unsigned char *' but argument is of type 'char *' static int parse_config_digest( ^~~~~~~~~~~~~~~~~~~ context.c: In function 'btresponse': context.c:212:13: warning: variable 'p' set but not used [-Wunused-but-set-variable] btPeer *p; ^ context.c: In function 'ctx_register': context.c:493:18: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:493:29: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:493:40: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~^~~~~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c: In function 'ctx_shutdown': context.c:548:18: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:548:29: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:548:40: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~^~~~~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c: In function 'ctx_complete': context.c:585:18: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:585:29: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:585:40: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~^~~~~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c: In function 'ctx_reregister': context.c:614:18: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:614:29: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~~^~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:614:40: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url, ctx->myid, ctx->mykey, dl->infohash, ctx->listenport, ~~^~~~~~~~~~ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c: In function 'ctx_loadfile': context.c:676:17: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] SHA1( strbuf.buf, strbuf.len, dl->infohash); ~~~~~~^~~~ In file included from context.c:19: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:16: note: expected 'const unsigned char *' but argument is of type 'char *' 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] SHA1( strbuf.buf, strbuf.len, dl->infohash); ~~^~~~~~~~~~ In file included from context.c:19: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ context.c: In function 'btresponse': context.c:256:76: warning: 'target.sin_port' may be used uninitialized in this function [-Wmaybe-uninitialized] "Skipping old peer: %s:%d", inet_ntoa(target.sin_addr), ntohs(target.sin_port)); ~~~~~~^~~~~~~~~ --- 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 --- 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:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ --- btlist --- In file included from /usr/include/sys/types.h:25, from btlist.c:16: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ btlist.c: In function 'main': btlist.c:107:17: warning: pointer targets in passing argument 1 of 'SHA1' differ in signedness [-Wpointer-sign] SHA1( out.buf, out.len, digest); ~~~^~~~ In file included from btlist.c:17: /home/pbulk/build/net/btget/work/.buildlink/include/openssl/sha.h:55:16: note: expected 'const unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ --- btcheck --- /bin/ld: ./libbt.a(context.o): undefined reference to symbol 'SHA1@@OPENSSL_3.0.0' //usr/pkg/lib/libcrypto.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status --- btlist --- /bin/ld: /tmp/ccGxqq7x.o: undefined reference to symbol 'SHA1@@OPENSSL_3.0.0' //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 --- *** [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-el8-trunk-x86_64/net/btget *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/btget