=> Building net-p2p/libbt Started : Friday, 8 MAR 2019 at 04:58:29 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for libbt-1.06: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net-p2p/libbt XDG_CONFIG_HOME=/construction/net-p2p/libbt HOME=/construction/net-p2p/libbt TMPDIR="/tmp" PATH=/construction/net-p2p/libbt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net-p2p/libbt XDG_CONFIG_HOME=/construction/net-p2p/libbt HOME=/construction/net-p2p/libbt TMPDIR="/tmp" PATH=/construction/net-p2p/libbt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net-p2p/libbt/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libbt" EXAMPLESDIR="share/examples/libbt" DATADIR="share/libbt" WWWDIR="www/libbt" ETCDIR="etc/libbt" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libbt DOCSDIR=/usr/local/share/doc/libbt EXAMPLESDIR=/usr/local/share/examples/libbt WWWDIR=/usr/local/www/libbt ETCDIR=/usr/local/etc/libbt -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 LGPL21 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> libbt-1.06 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libbt-1.06 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 LGPL21 accepted by the user ===> Fetching all distfiles required by libbt-1.06 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 LGPL21 accepted by the user ===> Fetching all distfiles required by libbt-1.06 for building => SHA256 Checksum OK for libbt-1.06.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 LGPL21 accepted by the user ===> Fetching all distfiles required by libbt-1.06 for building ===> Extracting for libbt-1.06 => SHA256 Checksum OK for libbt-1.06.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for libbt-1.06 ===> Applying ports patches for libbt-1.06 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> libbt-1.06 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> libbt-1.06 depends on executable: gmake - found ===> Returning to build of libbt-1.06 ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.44 - not found ===> Installing existing package /packages/All/libressl-2.8.3.txz Installing libressl-2.8.3... Extracting libressl-2.8.3: .......... done ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.44 - found ===> Returning to build of libbt-1.06 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> libbt-1.06 depends on shared library: libcurl.so - not found ===> Installing existing package /packages/All/curl-7.64.0_1.txz Installing curl-7.64.0_1... `-- Installing ca_root_nss-3.42.1... `-- Extracting ca_root_nss-3.42.1: ........ done `-- Installing krb5-1.17_1... | `-- Installing readline-7.0.5... | | `-- Installing ncurses-6.1.20190112... | | `-- Extracting ncurses-6.1.20190112: .......... done | `-- Extracting readline-7.0.5: .......... done `-- Extracting krb5-1.17_1: .......... done `-- Installing libnghttp2-1.36.0... `-- Extracting libnghttp2-1.36.0: .......... done Extracting curl-7.64.0_1: .......... done Message from ca_root_nss-3.42.1: ********************************* WARNING ********************************* 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. *********************************** NOTE ********************************** 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 *************************************************************************** ===> libbt-1.06 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> Returning to build of libbt-1.06 ===> libbt-1.06 depends on shared library: libuuid.so - not found ===> Installing existing package /packages/All/e2fsprogs-libuuid-1.44.5_1.txz Installing e2fsprogs-libuuid-1.44.5_1... Extracting e2fsprogs-libuuid-1.44.5_1: .......... done ===> libbt-1.06 depends on shared library: libuuid.so - found (/usr/local/lib/libuuid.so) ===> Returning to build of libbt-1.06 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- 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 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 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 ../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] /* 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 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:105: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:105: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 strbuf.c:15: ../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 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 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 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 ../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': 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:493: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); ^~~~~~~~~~ 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] /* 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:491: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/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:105: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) ^~~~ 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 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 bitset.c -o bitset.o 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 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 context.c -o context.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 bterror.c -o bterror.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 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] /* 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 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:496: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, ^~~~~~~~ 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)); ~~~^~~~~~ udpproto.c: In function 'udp_ready': 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); ^~~~~~~~~ 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, ~~~^~~~~~ 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)); ~~~^~~~~~~ udpproto.c:153:12: note: expected 'unsigned char *' but argument is of type 'char *' static int udp_request( int udpsocket, ^~~~~~~~~~~ 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( ^~~~~~~~~~~~~~~~~~~ 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 '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 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 ~~~~ 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, ~~~^~~~~~ 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( ^~~~~~~~~ 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:105: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:105: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 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 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]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] /* peerexchange.c:26: warning: ignoring #pragma mark Extended [-Wunknown-pragmas] #pragma mark Extended Message 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 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 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 btlist.c:22: ../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 btcheck.c:39: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* In file included from btcheck.c:41: ../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] /* 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) ; ^~~~~~~~~~~~~~~ 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:105: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); ~~~^ ~~~~~~~ %ld 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); ~~~~~~~~~~~~~ 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:425, from /usr/local/include/curl/curl.h:38, from btget.c:18: /usr/include/sys/socket.h:485: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' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> libbt-1.06 depends on file: /usr/local/lib/libcrypto.so.44 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for libbt-1.06 ===> 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) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for libbt-1.06 file sizes/checksums [29]: . done packing files [29]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 04:58:50 UTC Duration: 00:00:20