------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for libbt-1.06: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net-p2p/libbt XDG_CONFIG_HOME=/construction/net-p2p/libbt XDG_CACHE_HOME=/construction/net-p2p/libbt/.cache 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 PKG_CONFIG_LIBDIR=/construction/net-p2p/libbt/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 XDG_CACHE_HOME=/construction/net-p2p/libbt/.cache 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 PKG_CONFIG_LIBDIR=/construction/net-p2p/libbt/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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" SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/net-p2p/libbt/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/libnghttp2-1.53.0.pkg Installing /packages/All/libssh2-1.11.0,3.pkg Installing /packages/All/libunistring-1.1.pkg Installing /packages/All/libidn2-2.3.4.pkg Installing /packages/All/libpsl-0.21.2_3.pkg Installing /packages/All/ca_root_nss-3.89.1.pkg ===== Message from ca_root_nss-3.89.1: -- 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-8.1.2.pkg Installing /packages/All/libelf-0.8.13_3.pkg Installing /packages/All/e2fsprogs-libuuid-1.47.0.pkg 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:01 ------------------------------------------------------------------------------- -- 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:00 ------------------------------------------------------------------------------- -- 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 from /xports/net-p2p/libbt/files ===> Applying dragonfly patches for libbt-1.06 from /xports/net-p2p/libbt/dragonfly 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 ===> libbt-1.06 depends on file: /usr/local/bin/ccache - 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 file: /usr/local/bin/ccache - 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:02 ------------------------------------------------------------------------------- -- 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 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 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 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 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:552: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, ^~~~~~~~~~~ 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 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 ../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 bitset.c:22: ../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 ../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 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 stream.c:35: ../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 strbuf.c:15: ../include/util.h:60:1: warning: "/*" within comment [-Wcomment] /* ../include/util.h:62:1: warning: "/*" within comment [-Wcomment] /* 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 ../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:549: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:547: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 ../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 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 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:304: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:439: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:445:3: uploaded, ~~~~~~~~ context.c:439: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:446:3: downloaded, ~~~~~~~~~~ context.c:439: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:447:3: left, ~~~~ context.c:451: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:457:3: uploaded, ~~~~~~~~ context.c:451: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:458:3: downloaded, ~~~~~~~~~~ context.c:451: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:459:3: left ~~~~ context.c: In function 'btannounce': context.c:519: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:394:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:519: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:394:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c:519: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:394:18: note: expected 'unsigned char *' but argument is of type 'char *' static btObject* btrequest( ^~~~~~~~~ context.c: In function 'ctx_loadfile': context.c:868: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:868: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:1001: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - context.c:1002: warning: ignoring #pragma mark Fastresume [-Wunknown-pragmas] #pragma mark Fastresume context.c:1112:2: warning: #warning remove in favour of util routine [-Wcpp] #warning remove in favour of util routine ^~~~~~~ context.c:1122: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - context.c:1123: warning: ignoring #pragma mark Hash [-Wunknown-pragmas] #pragma mark Hash checking context.c: In function 'ctx_writehashtodownload': context.c:1199: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:1204: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - context.c:1205: warning: ignoring #pragma mark Utilities [-Wunknown-pragmas] #pragma mark Utilities context.c: In function 'btresponse': context.c:285: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:1094:40: warning: 'sprintf' writing a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(tempchar, "%02x", ^ context.c:1094: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 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] /* 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 btlist.c:22: ../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:440, from /usr/local/include/curl/curl.h:54, from btget.c:18: /usr/include/sys/socket.h:544: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; ^~~~~~~~~~~ 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: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); ~~~^ ~~~~~~~ %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 '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:01 ------------------------------------------------------------------------------- -- 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: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for libbt-1.06 file sizes/checksums [25]: 0% file sizes/checksums [25]: 100% Service unavailablepacking files [25]: 0% packing files [25]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:10