------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/openssl-1.1.1g,1.txz Installing /packages/All/libnghttp2-1.40.0.txz Installing /packages/All/ca_root_nss-3.52.txz ===== Message from ca_root_nss-3.52: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/curl-7.70.0.txz Installing /packages/All/e2fsprogs-libuuid-1.45.6.txz SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libbt-1.06 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libbt-1.06 for building => SHA256 Checksum OK for libbt-1.06.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by libbt-1.06 for building ===> Extracting for libbt-1.06 => SHA256 Checksum OK for libbt-1.06.tar.gz. Extracted Memory Use: 0.95M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for libbt-1.06 ===> Applying ports patches for libbt-1.06 ===> Cleanly applied ports patch(es) patch-include__util.h patch-src__peer.c patch-src__udpproto.c patch-src_btlist.c SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> libbt-1.06 depends on package: gmake>=4.3 - found ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> libbt-1.06 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> libbt-1.06 depends on shared library: libuuid.so - found (/usr/local/lib/libuuid.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> libbt-1.06 depends on package: gmake>=4.3 - found ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> libbt-1.06 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> libbt-1.06 depends on shared library: libuuid.so - found (/usr/local/lib/libuuid.so) ===> Configuring for libbt-1.06 configure: loading site script /xports/Templates/config.site checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for ar... ar checking whether gmake sets $(MAKE)... yes checking for ranlib... ranlib checking for makedepend... no checking for curl_easy_init in -lcurl... yes checking for SHA1_Init in -lcrypto... yes checking for uuid_generate in -luuid... yes checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for siginfo_t.si_fd... no checking return type of signal handlers... void checking for res_mkquery... yes checking for gethostname... (cached) yes checking for mkdir... yes checking for select... (cached) yes checking for socket... yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strtoll... (cached) yes checking for uuid_generate... yes checking for on_exit... no checking if malloc debugging is wanted... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for libbt-1.06 gmake[1]: Entering directory '/construction/net-p2p/libbt/libbt-1.06' cd src && gmake gmake[2]: Entering directory '/construction/net-p2p/libbt/libbt-1.06/src' cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include benc.c -o benc.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include bts.c -o bts.o In file included from ../include/types.h:4, from ../include/benc.h:3, from benc.c:18: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include types.c -o types.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include random.c -o random.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include strbuf.c -o strbuf.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include stream.c -o stream.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include peer.c -o peer.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include segmenter.c -o segmenter.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include util.c -o util.o cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include bitset.c -o bitset.o In file included from bts.c:25: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* 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; ^ In file included from strbuf.c:15: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* 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: /usr/local/include/openssl/sha.h:44: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: /usr/local/include/openssl/sha.h:44:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ In file included from stream.c:35: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* In file included from segmenter.c:16: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* In file included from types.c:16: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* In file included from util.c:39: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* util.c: In function 'htonll': util.c:59:24: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] unsigned char *x = (char *)&dst; ^ util.c: In function 'ntohll': util.c:73:24: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] unsigned char *x = (char *)&src; ^ In file included from ../include/types.h:4, from types.c:23: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* types.c: In function 'btInteger_dump': types.c:38:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '_int64' {aka 'long int'} [-Wformat=] printf("%p(INTEGER)=%lld\n", i, i->ival); ~~~^ ~~~~~~~ %ld In file included from ../include/types.h:4, from segmenter.c:35: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* 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: /usr/local/include/openssl/sha.h:44: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:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '_int64' {aka 'long int'} [-Wformat=] fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); ~~~^ ~~~ %ld segmenter.c:366:45: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type '_int64' {aka 'long int'} [-Wformat=] fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); ~~~^ ~~~~ %ld 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 cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include context.c -o context.o In file included from bitset.c:22: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include bterror.c -o bterror.o In file included from ../include/segmenter.h:4, from ../include/peer.h:5, from peer.c:46: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* peer.c: In function 'peer_connect_complete': cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include udpproto.c -o udpproto.o In file included from ../include/udpproto.h:6, from context.c:17: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* cc -c -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -isystem /usr/local/include peerexchange.c -o peerexchange.o peer.c:95: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 peer.c:21: /usr/include/sys/socket.h:494:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^~~~~~~~~~ peer.c: In function 'peer_answer': peer.c:1259: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 peer.c:21: /usr/include/sys/socket.h:492:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ In file included from ../include/udpproto.h:6, from udpproto.c:10: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* In file included from context.c:51: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* context.c: In function 'genconfig': context.c:117:19: 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/udpproto.h:6, from context.c:17: ../include/util.h:50: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:119:19: 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/udpproto.h:6, from context.c:17: ../include/util.h:50: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: In function 'btContext_create': context.c:162:56: 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:86:12: note: expected 'unsigned char *' but argument is of type 'char *' static int parse_config_digest( ^~~~~~~~~~~~~~~~~~~ context.c:165:57: 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:86:12: note: expected 'unsigned char *' but argument is of type 'char *' static int parse_config_digest( ^~~~~~~~~~~~~~~~~~~ context.c: In function 'btresponse': context.c:302:26: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '_int64' {aka 'long int'} [-Wformat=] printf("Interval %lld\n", interval->ival); ~~~^ ~~~~~~~~~~~~~~ %ld In file included from ../include/types.h:4, from ../include/peerexchange.h:13, from peerexchange.c:14: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* context.c:258:13: warning: variable 'p' set but not used [-Wunused-but-set-variable] btPeer *p; ^ context.c: In function 'btrequest': context.c:437:87: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type '_int64' {aka 'long int'} [-Wformat=] snprintf( url, sizeof(url)-1, "%s?info_hash=%s&peer_id=%s&key=%s&port=%d&uploaded=%lld&downloaded=%lld&left=%lld&event=%s&compact=1", ~~~^ %ld context.c:443:3: uploaded, ~~~~~~~~ context.c:437:103: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type '_int64' {aka 'long int'} [-Wformat=] snprintf( url, sizeof(url)-1, "%s?info_hash=%s&peer_id=%s&key=%s&port=%d&uploaded=%lld&downloaded=%lld&left=%lld&event=%s&compact=1", ~~~^ %ld context.c:444:3: downloaded, ~~~~~~~~~~ context.c:437:113: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type '_int64' {aka 'long int'} [-Wformat=] snprintf( url, sizeof(url)-1, "%s?info_hash=%s&peer_id=%s&key=%s&port=%d&uploaded=%lld&downloaded=%lld&left=%lld&event=%s&compact=1", ~~~^ %ld context.c:445:3: left, ~~~~ context.c:449:87: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type '_int64' {aka 'long int'} [-Wformat=] snprintf( url, sizeof(url)-1, "%s?info_hash=%s&peer_id=%s&key=%s&port=%d&uploaded=%lld&downloaded=%lld&left=%lld&compact=1", ~~~^ %ld context.c:455:3: uploaded, ~~~~~~~~ context.c:449:103: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type '_int64' {aka 'long int'} [-Wformat=] snprintf( url, sizeof(url)-1, "%s?info_hash=%s&peer_id=%s&key=%s&port=%d&uploaded=%lld&downloaded=%lld&left=%lld&compact=1", ~~~^ %ld context.c:456:3: downloaded, ~~~~~~~~~~ context.c:449:113: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type '_int64' {aka 'long int'} [-Wformat=] snprintf( url, sizeof(url)-1, "%s?info_hash=%s&peer_id=%s&key=%s&port=%d&uploaded=%lld&downloaded=%lld&left=%lld&compact=1", ~~~^ %ld context.c:457:3: left ~~~~ In file included from udpproto.c:12: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* udpproto.c: In function 'udp_recv': udpproto.c:131:81: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] *msglen = recvfrom( udpsocket, msgbuf, bufsize, 0, (struct sockaddr *)&src, &srclen); ^~~~~~~ In file included from udpproto.c:1: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ udpproto.c: In function 'udp_ready': udpproto.c:260:9: warning: pointer targets in passing argument 4 of 'udp_request' differ in signedness [-Wpointer-sign] dl->infohash, ctx->myid, ~~^~~~~~~~~~ udpproto.c:153:12: note: expected 'unsigned char *' but argument is of type 'char *' static int udp_request( int udpsocket, ^~~~~~~~~~~ udpproto.c:260:24: warning: pointer targets in passing argument 5 of 'udp_request' differ in signedness [-Wpointer-sign] dl->infohash, ctx->myid, ~~~^~~~~~ udpproto.c:153:12: note: expected 'unsigned char *' but argument is of type 'char *' static int udp_request( int udpsocket, ^~~~~~~~~~~ udpproto.c:227:9: warning: variable 'seeders' set but not used [-Wunused-but-set-variable] int seeders; ^~~~~~~ udpproto.c:226:9: warning: variable 'leechers' set but not used [-Wunused-but-set-variable] int leechers; ^~~~~~~~ udpproto.c: In function 'udp_announce': udpproto.c:363:8: warning: pointer targets in passing argument 4 of 'udp_request' differ in signedness [-Wpointer-sign] dl->infohash, ~~^~~~~~~~~~ udpproto.c:153:12: note: expected 'unsigned char *' but argument is of type 'char *' static int udp_request( int udpsocket, ^~~~~~~~~~~ udpproto.c:364:9: warning: pointer targets in passing argument 5 of 'udp_request' differ in signedness [-Wpointer-sign] ctx->myid, ~~~^~~~~~ udpproto.c:153:12: note: expected 'unsigned char *' but argument is of type 'char *' static int udp_request( int udpsocket, ^~~~~~~~~~~ context.c: In function 'btannounce': context.c:517:28: warning: pointer targets in passing argument 2 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url[dl->tracker], ctx->myid, ctx->mykey, dl->infohash, ~~~^~~~~~ peerexchange.c:26: warning: ignoring #pragma mark Extended [-Wunknown-pragmas] #pragma mark Extended Message context.c:392:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:517:39: warning: pointer targets in passing argument 3 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url[dl->tracker], ctx->myid, ctx->mykey, dl->infohash, ~~~^~~~~~~ context.c:392:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:517:50: warning: pointer targets in passing argument 4 of 'btrequest' differ in signedness [-Wpointer-sign] dl->url[dl->tracker], ctx->myid, ctx->mykey, dl->infohash, ~~^~~~~~~~~~ context.c:392:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ peerexchange.c:223: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - peerexchange.c:224: warning: ignoring #pragma mark Peer [-Wunknown-pragmas] #pragma mark Peer Exchange Cache context.c: In function 'ctx_loadfile': context.c:866: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 ../include/udpproto.h:3, from context.c:17: /usr/local/include/openssl/sha.h:44: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:866: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 ../include/udpproto.h:3, from context.c:17: /usr/local/include/openssl/sha.h:44: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: At top level: context.c:999: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - context.c:1000: warning: ignoring #pragma mark Fastresume [-Wunknown-pragmas] #pragma mark Fastresume context.c:1110:2: warning: #warning remove in favour of util routine [-Wcpp] #warning remove in favour of util routine ^~~~~~~ context.c:1120: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - context.c:1121: warning: ignoring #pragma mark Hash [-Wunknown-pragmas] #pragma mark Hash checking context.c: In function 'ctx_writehashtodownload': context.c:1197:35: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '_int64' {aka 'long int'} [-Wformat=] printf("Total archive size %lld\n", dl->fileset.tsize); ~~~^ ~~~~~~~~~~~~~~~~~ %ld context.c: At top level: context.c:1202: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - context.c:1203: warning: ignoring #pragma mark Utilities [-Wunknown-pragmas] #pragma mark Utilities context.c: In function 'btresponse': context.c:334: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)); ^ context.c:283:2: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("Error from tracker: %s\n", err->buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ context.c: In function 'ctx_writefastresume': context.c:1092:40: warning: 'sprintf' writing a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(tempchar, "%02x", ^ context.c:1092:17: note: 'sprintf' output 3 bytes into a destination of size 2 sprintf(tempchar, "%02x", ^~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned char)dl->fileset.completed.bits[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 udpproto.o peerexchange.o ranlib libbt.a cc -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -DVERSION=1.06 -g -L. -Wl,-rpath,/usr/local/lib -o btlist btlist.c -lbt -luuid -lcrypto -lcurl -L/usr/local/lib `curl-config --libs` -lm cc -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -DVERSION=1.06 -g -L. -Wl,-rpath,/usr/local/lib -o btget btget.c -lbt -luuid -lcrypto -lcurl -L/usr/local/lib `curl-config --libs` -lm cc -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -DVERSION=1.06 -g -L. -Wl,-rpath,/usr/local/lib -o btcheck btcheck.c -lbt -luuid -lcrypto -lcurl -L/usr/local/lib `curl-config --libs` -lm In file included from ../include/types.h:4, from btlist.c:22: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* btlist.c: In function 'scrape': btlist.c:78:26: warning: pointer targets in passing argument 2 of 'btString_setbuf' differ in signedness [-Wpointer-sign] btString_setbuf(k, digest, SHA_DIGEST_LENGTH); ^~~~~~ In file included from btlist.c:22: ../include/types.h:68:6: note: expected 'char *' but argument is of type 'unsigned char *' void btString_setbuf( btString *s, char *buf, int len) ; ^~~~~~~~~~~~~~~ In file included from ../include/types.h:4, from btcheck.c:39: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* btlist.c: In function 'main': btlist.c:194: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: /usr/local/include/openssl/sha.h:44: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); ^~~~ btlist.c:212:32: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '_int64' {aka 'long int'} [-Wformat=] printf("file size.....: %lld (%lld * %lld + %lld)\n", i->ival, i->ival/pl->ival, pl->ival, i->ival % pl->ival); ~~~^ In file included from btcheck.c:41: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ~~~~~~~ %ld ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* btlist.c:212:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '_int64' {aka 'long int'} [-Wformat=] printf("file size.....: %lld (%lld * %lld + %lld)\n", i->ival, i->ival/pl->ival, pl->ival, i->ival % pl->ival); ~~~^ ~~~~~~~~~~~~~~~~ %ld btlist.c:212:45: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type '_int64' {aka 'long int'} [-Wformat=] printf("file size.....: %lld (%lld * %lld + %lld)\n", i->ival, i->ival/pl->ival, pl->ival, i->ival % pl->ival); ~~~^ ~~~~~~~~ %ld btlist.c:212:52: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '_int64' {aka 'long int'} [-Wformat=] printf("file size.....: %lld (%lld * %lld + %lld)\n", i->ival, i->ival/pl->ival, pl->ival, i->ival % pl->ival); ~~~^ ~~~~~~~~~~~~~~~~~~ %ld btlist.c:233:22: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '_int64' {aka 'long int'} [-Wformat=] printf(" (%lld)\n", filesize->ival); ~~~^ ~~~~~~~~~~~~~~ %ld btlist.c:239:32: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '_int64' {aka 'long int'} [-Wformat=] printf("archive size..: %lld (%lld * %lld + %lld)\n", ~~~^ %ld tsize, tsize/i->ival, i->ival, tsize%i->ival); ~~~~~ btlist.c:239:38: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type '_int64' {aka 'long int'} [-Wformat=] printf("archive size..: %lld (%lld * %lld + %lld)\n", ~~~^ %ld tsize, tsize/i->ival, i->ival, tsize%i->ival); ~~~~~~~~~~~~~ btlist.c:239:45: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type '_int64' {aka 'long int'} [-Wformat=] printf("archive size..: %lld (%lld * %lld + %lld)\n", ~~~^ %ld tsize, tsize/i->ival, i->ival, tsize%i->ival); ~~~~~~~ btlist.c:239:52: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type '_int64' {aka 'long int'} [-Wformat=] printf("archive size..: %lld (%lld * %lld + %lld)\n", ~~~^ %ld tsize, tsize/i->ival, i->ival, tsize%i->ival); ~~~~~~~~~~~~~ In file included from btget.c:17: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* In file included from ../include/types.h:4, from ../include/benc.h:3, from btget.c:56: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* btget.c: In function 'main': btget.c:480:36: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] cs = accept( ctx->ss, &csin, &sa_len); ^~~~~~~ In file included from /usr/local/include/curl/system.h:436, from /usr/local/include/curl/curl.h:38, from btget.c:18: /usr/include/sys/socket.h:486:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ btget.c:274:9: warning: variable 'optquiettmo' set but not used [-Wunused-but-set-variable] int optquiettmo = 0; ^~~~~~~~~~~ btget.c: In function 'client_finit': btget.c:158:12: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] int i, j, dl; ^ gmake[2]: Leaving directory '/construction/net-p2p/libbt/libbt-1.06/src' gmake[1]: Leaving directory '/construction/net-p2p/libbt/libbt-1.06' SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for libbt-1.06 ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Generating temporary packing list install -m 0644 /construction/net-p2p/libbt/libbt-1.06/src/libbt.a /construction/net-p2p/libbt/stage/usr/local/lib cd /construction/net-p2p/libbt/libbt-1.06/src && install -s -m 555 btcheck btget btlist /construction/net-p2p/libbt/stage/usr/local/bin cd /construction/net-p2p/libbt/libbt-1.06/include && install -m 0644 *.h /construction/net-p2p/libbt/stage/usr/local/include/libbt cd /construction/net-p2p/libbt/libbt-1.06 && install -m 0644 docs/protocol.txt docs/protocol-ext.txt CHANGELOG CREDITS README /construction/net-p2p/libbt/stage/usr/local/share/doc/libbt ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for libbt-1.06 file sizes/checksums [25]: 0% file sizes/checksums [25]: 100% packing files [25]: 0% packing files [25]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:02 TOTAL TIME 00:00:13