+ 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.05nb34/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/btget-1.05nb34/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for btget-1.05nb34 --- depend --- --- compile --- --- depend --- cd src && /usr/pkg/bin/bmake depend --- compile --- cd src && /usr/pkg/bin/bmake --- benc.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include benc.c -o benc.o In file included from /usr/include/stdlib.h:24:0, from benc.c:16: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-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 32): 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 146): 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/_G_config.h, line 15): 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/wchar.h, line 51): 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/libio.h, line 50): 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 32): 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/sys/socket.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: stream.c (reading /usr/include/bits/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/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 ../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 350): 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 --- --- types.o --- --- bts.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include bts.c -o bts.o --- 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:28:0, from ../include/util.h:3, from types.c:16: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- bts.o --- In file included from /usr/include/stdlib.h:24:0, from bts.c:16: /usr/include/features.h:330: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 differ in signedness [-Wpointer-sign] buf.buf = bss->buf; ^ --- random.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include random.c -o random.o --- strbuf.o --- --- random.o --- In file included from /usr/include/sys/types.h:25:0, from /home/pbulk/build/net/btget/work/.buildlink/include/uuid/uuid.h:38, from random.c:21: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- strbuf.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include strbuf.c -o strbuf.o --- random.o --- random.c: In function 'seed_rnd': random.c:39:5: 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:0: /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:5: 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:0: /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); ^ --- stream.o --- --- strbuf.o --- In file included from /usr/include/errno.h:28:0, from ../include/util.h:3, from strbuf.c:15: /usr/include/features.h:330: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:28:0, from stream.c:16: /usr/include/features.h:330: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:0, from peer.c:17: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- 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_connect_complete': peer.c:87:5: 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:24:0, from peer.c:18: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ peer.c: In function 'peer_answer': peer.c:1136:32: 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:24:0, from peer.c:18: /usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __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:28:0, from ../include/util.h:3, from segmenter.c:16: /usr/include/features.h:330: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:5: 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:0: /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:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t' [-Wformat=] fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); ^ --- 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/stdio.h:27:0, from util.c:16: /usr/include/features.h:330: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 --- context.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include context.c -o context.o --- bitset.o --- In file included from /usr/include/stdlib.h:24:0, from bitset.c:17: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- context.o --- In file included from /usr/include/sys/types.h:25:0, 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:54, from context.c:17: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- bterror.o --- --- context.o --- context.c: In function 'btContext_create': context.c:105:9: 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:0, 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:9: 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:0, 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 *' --- bterror.o --- cc -c -g -Wall -I../include -I../include -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include bterror.c -o bterror.o --- context.o --- void hexencode (const unsigned char *digest, int len, char *buf, int buflen); ^ context.c:116:13: 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:13: 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:495:2: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:495:2: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:495:2: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ 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:551:2: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:551:2: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:551:2: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ 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:587:2: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:587:2: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:587:2: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ 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:616:2: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:616:2: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ context.c:311:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^ context.c:616:2: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] ); ^ 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:5: 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:0: /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:5: 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:0: /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); ^ --- 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:0, from btlist.c:16: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- btcheck --- In file included from /usr/include/sys/types.h:25:0, 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:54, from btcheck.c:18: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ --- btlist --- btlist.c: In function 'main': btlist.c:107:8: 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:0: /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); ^ /bin/ld: /tmp/ccYSOvmq.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 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' /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 in /home/pbulk/build/net/btget/work/libbt-1.05/src 2 errors bmake[1]: stopped in /home/pbulk/build/net/btget/work/libbt-1.05/src *** [compile] Error code 2 bmake: stopped in /home/pbulk/build/net/btget/work/libbt-1.05 1 error bmake: stopped in /home/pbulk/build/net/btget/work/libbt-1.05 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/btget *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/btget