FreeBSD Bugzilla – Attachment 196770 Details for
Bug 231033
[PATCH] net-p2p/libbt: update to 1.0.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[LOG/11] net-p2p/libbt: update to 1.0.6, reviewed
11amd64-svn.log (text/plain), 41.34 KB, created by
VinÃcius Zavam
on 2018-09-01 17:06:50 UTC
(
hide
)
Description:
[LOG/11] net-p2p/libbt: update to 1.0.6, reviewed
Filename:
MIME Type:
Creator:
VinÃcius Zavam
Created:
2018-09-01 17:06:50 UTC
Size:
41.34 KB
patch
obsolete
>=>> Building net-p2p/libbt >build started at Sat Sep 1 19:03:26 CEST 2018 >port directory: /usr/ports/net-p2p/libbt >package name: libbt-1.06 >building for: FreeBSD 11amd64-svn-job-01 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 amd64 >maintained by: egypcio@googlemail.com >Makefile ident: $FreeBSD: head/net-p2p/libbt/Makefile 463723 2018-03-06 12:32:00Z tobik $ >Poudriere version: 3.2.99.20180601 >Host OSVERSION: 1200072 >Jail OSVERSION: 1102000 >Job Id: 01 > >---Begin Environment--- >SHELL=/bin/csh >OSVERSION=1102000 >UNAME_v=FreeBSD 11.2-RELEASE-p1 >UNAME_r=11.2-RELEASE-p1 >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >HOME=/root >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin >LOCALBASE=/usr/local >USER=root >LIBEXECPREFIX=/usr/local/libexec/poudriere >POUDRIERE_VERSION=3.2.99.20180601 >MASTERMNT=/zim/poudriere/data/.m/11amd64-svn/ref >POUDRIERE_BUILD_TYPE=bulk >PACKAGE_BUILDING=yes >SAVED_TERM=screen >PWD=/zim/poudriere/data/.m/11amd64-svn/ref/.p/pool >P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS >MASTERNAME=11amd64-svn >SCRIPTPREFIX=/usr/local/share/poudriere >OLDPWD=/zim/poudriere/data/.m/11amd64-svn/ref/.p >SCRIPTPATH=/usr/local/share/poudriere/bulk.sh >POUDRIEREPATH=/usr/local/bin/poudriere >---End Environment--- > >---Begin Poudriere Port Flags/Env--- >PORT_FLAGS= >PKGENV= >FLAVOR= >DEPENDS_ARGS= >MAKE_ARGS= >---End Poudriere Port Flags/Env--- > >---Begin OPTIONS List--- >===> The following configuration options are available for libbt-1.06: > DOCS=on: Build and/or install documentation >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--MAINTAINER-- >egypcio@googlemail.com >--End MAINTAINER-- > >--CONFIGURE_ARGS-- >--prefix=/usr/local ${_LATE_CONFIGURE_ARGS} >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/libbt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/libbt/work HOME=/wrkdirs/usr/ports/net-p2p/libbt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-p2p/libbt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/libbt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/libbt/work HOME=/wrkdirs/usr/ports/net-p2p/libbt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-p2p/libbt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector" LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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" >--End MAKE_ENV-- > >--PLIST_SUB-- >PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libbt" EXAMPLESDIR="share/examples/libbt" DATADIR="share/libbt" WWWDIR="www/libbt" ETCDIR="etc/libbt" >--End PLIST_SUB-- > >--SUB_LIST-- > DOCS="" NO_DOCS="@comment " 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 >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >FORCE_PACKAGE=yes >PACKAGE_BUILDING=yes >PACKAGE_BUILDING_FLAVORS=yes >#### /usr/ports/Mk/Scripts/ports_env.sh #### >_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin >_ALTCCVERSION_921dbbb2=none >_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" >CC_OUTPUT_921dbbb2_58173849=yes >CC_OUTPUT_921dbbb2_9bdba57c=yes >CC_OUTPUT_921dbbb2_6a4fe7f5=yes >CC_OUTPUT_921dbbb2_6bcac02b=yes >CC_OUTPUT_921dbbb2_67d20829=yes >CC_OUTPUT_921dbbb2_bfa62e83=yes >CC_OUTPUT_921dbbb2_f0b4d593=yes >CC_OUTPUT_921dbbb2_308abb44=yes >CC_OUTPUT_921dbbb2_f00456e5=yes >CC_OUTPUT_921dbbb2_65ad290d=yes >CC_OUTPUT_921dbbb2_f2776b26=yes >CC_OUTPUT_921dbbb2_b2657cc3=yes >CC_OUTPUT_921dbbb2_380987f7=yes >CC_OUTPUT_921dbbb2_160933ec=yes >CC_OUTPUT_921dbbb2_fb62803b=yes >_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin >_OBJC_ALTCCVERSION_921dbbb2=none >ARCH=amd64 >OPSYS=FreeBSD >_OSRELEASE=11.2-RELEASE-p1 >OSREL=11.2 >OSVERSION=1102000 >PYTHONBASE=/usr/local >HAVE_COMPAT_IA32_KERN=YES >_SMP_CPUS=4 >CONFIGURE_MAX_CMD_LEN=262144 >HAVE_PORTS_ENV=1 >#### Misc Poudriere #### >GID=0 >UID=0 >DISABLE_MAKE_JOBS=poudriere >---End make.conf--- >--Resource limits-- >cpu time (seconds, -t) unlimited >file size (512-blocks, -f) unlimited >data seg size (kbytes, -d) 33554432 >stack size (kbytes, -s) 524288 >core file size (512-blocks, -c) unlimited >max memory size (kbytes, -m) unlimited >locked memory (kbytes, -l) unlimited >max user processes (-u) 19458 >open files (-n) 1024 >virtual mem size (kbytes, -v) unlimited >swap limit (kbytes, -w) unlimited >socket buffer size (bytes, -b) unlimited >pseudo-terminals (-p) unlimited >kqueues (-k) unlimited >umtx shared locks (-o) unlimited >--End resource limits-- >=======================<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_2.txz >[11amd64-svn-job-01] Installing pkg-1.10.5_2... >[11amd64-svn-job-01] Extracting pkg-1.10.5_2: .......... 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 FreeBSD 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_2.txz >[11amd64-svn-job-01] Installing gmake-4.2.1_2... >[11amd64-svn-job-01] `-- Installing gettext-runtime-0.19.8.1_1... >[11amd64-svn-job-01] | `-- Installing indexinfo-0.3.1... >[11amd64-svn-job-01] | `-- Extracting indexinfo-0.3.1: .... done >[11amd64-svn-job-01] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done >[11amd64-svn-job-01] Extracting gmake-4.2.1_2: .......... done >===> libbt-1.06 depends on executable: gmake - 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.61.0_1.txz >[11amd64-svn-job-01] Installing curl-7.61.0_1... >[11amd64-svn-job-01] `-- Installing ca_root_nss-3.39... >[11amd64-svn-job-01] `-- Extracting ca_root_nss-3.39: ........ done >[11amd64-svn-job-01] `-- Installing libnghttp2-1.32.1... >[11amd64-svn-job-01] `-- Extracting libnghttp2-1.32.1: .......... done >[11amd64-svn-job-01] Extracting curl-7.61.0_1: .......... done >Message from ca_root_nss-3.39: > >********************************* 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.4.txz >[11amd64-svn-job-01] Installing e2fsprogs-libuuid-1.44.4... >[11amd64-svn-job-01] Extracting e2fsprogs-libuuid-1.44.4: .......... 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 /usr/ports/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 '/wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06' >cd src && gmake >gmake[2]: Entering directory '/wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06/src' >cc -c -O2 -pipe -fstack-protector -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 >In file included from benc.c:18: >In file included from ../include/benc.h:3: >In file included from ../include/types.h:4: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >2 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 bts.c:25: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >bts.c:230:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > buf.buf = bss->buf; > ^ ~~~~~~~~ >3 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 >In file included from types.c:16: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >types.c:38:37: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > printf("%p(INTEGER)=%lld\n", i, i->ival); > ~~~~ ^~~~~~~ > %ld >3 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 >random.c:39:11: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > SHA1( buf, len, dg); > ^~~ >/usr/include/openssl/sha.h:124:42: note: passing argument to parameter 'd' here >unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); > ^ >random.c:39:21: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > SHA1( buf, len, dg); > ^~ >/usr/include/openssl/sha.h:124:70: note: passing argument to parameter 'md' here >unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); > ^ >2 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 strbuf.c:15: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >2 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 >In file included from stream.c:35: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >2 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 >In file included from peer.c:46: >In file included from ../include/peer.h:5: >In file included from ../include/segmenter.h:4: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >peer.c:95:62: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > if (getsockopt( p->ios.fd, SOL_SOCKET, SO_ERROR, &error, &errlen)) { > ^~~~~~~ >/usr/include/sys/socket.h:625:72: note: passing argument to parameter here >int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); > ^ >peer.c:203:76: warning: size argument in 'memcmp' call is a comparison [-Wmemsize-comparison] > memcmp( &p->sa.sin_addr, &target->sin_addr, sizeof(target->sin_addr) == 0) > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ >peer.c:203:7: note: did you mean to compare the result of 'memcmp' instead? > memcmp( &p->sa.sin_addr, &target->sin_addr, sizeof(target->sin_addr) == 0) > ^ ~ > ) >peer.c:203:51: note: explicitly cast the argument to size_t to silence this warning > memcmp( &p->sa.sin_addr, &target->sin_addr, sizeof(target->sin_addr) == 0) > ^ > (size_t)( ) >peer.c:1259:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > getpeername( sock, (struct sockaddr*)&sin, &sin_len); > ^~~~~~~~ >/usr/include/sys/socket.h:623:74: note: passing argument to parameter here >int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >5 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 segmenter.c:16: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >segmenter.c:150:11: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > SHA1( buf, len, digest); > ^~~ >/usr/include/openssl/sha.h:124:42: note: passing argument to parameter 'd' here >unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); > ^ >segmenter.c:366:57: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); > ~~~~ ^~~ > %ld >segmenter.c:366:62: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); > ~~~~ ^~~~ > %ld >segmenter.c:366:68: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat] > fprintf(stderr, "read( ..., buf[%lld], %lld) = %d\n", beg, rlen, res); > ~~ ^~~ > %zd >6 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 >In file included from util.c:39: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >util.c:59:20: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > unsigned char *x = (char *)&dst; > ^ ~~~~~~~~~~~~ >util.c:73:20: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > unsigned char *x = (char *)&src; > ^ ~~~~~~~~~~~~ >4 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 bitset.c:22: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >2 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 context.c:17: >In file included from ../include/udpproto.h:6: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >context.c:117:16: warning: passing 'char [20]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > hexencode( ctx->myid, IDSIZE, hexbuf, sizeof(hexbuf)); > ^~~~~~~~~ >../include/util.h:50:38: note: passing argument to parameter 'digest' here >void hexencode (const unsigned char *digest, int len, char *buf, int buflen); > ^ >context.c:119:16: warning: passing 'char [4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > hexencode( ctx->mykey, KEYSIZE, hexbuf, sizeof(hexbuf)); > ^~~~~~~~~~ >../include/util.h:50:38: note: passing argument to parameter 'digest' here >void hexencode (const unsigned char *digest, int len, char *buf, int buflen); > ^ >context.c:162:53: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (parse_config_digest( rcfile, lineno, "myid:", ctx->myid, IDSIZE, hexbuf)==0) { > ^~~~~~~~~ >context.c:88:17: note: passing argument to parameter 'digest' here > unsigned char *digest, int len, > ^ >context.c:165:54: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (parse_config_digest( rcfile, lineno, "mykey:", ctx->mykey, KEYSIZE, hexbuf)==0) { > ^~~~~~~~~~ >context.c:88:17: note: passing argument to parameter 'digest' here > unsigned char *digest, int len, > ^ >context.c:302:32: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > printf("Interval %lld\n", interval->ival); > ~~~~ ^~~~~~~~~~~~~~ > %ld >context.c:275:9: warning: variable 'err' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] > if (!resp) > ^~~~~ >context.c:282:9: note: uninitialized use occurs here > if (err) { > ^~~ >context.c:275:5: note: remove the 'if' if its condition is always false > if (!resp) > ^~~~~~~~~~ >context.c:257:18: note: initialize the variable 'err' to silence this warning > btString *err; > ^ > = NULL >context.c:443:3: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > uploaded, > ^~~~~~~~ >context.c:444:3: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > downloaded, > ^~~~~~~~~~ >context.c:445:3: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > left, > ^~~~ >context.c:455:3: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > uploaded, > ^~~~~~~~ >context.c:456:3: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > downloaded, > ^~~~~~~~~~ >context.c:457:3: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > left > ^~~~ >context.c:517:25: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > dl->url[dl->tracker], ctx->myid, ctx->mykey, dl->infohash, > ^~~~~~~~~ >context.c:394:16: note: passing argument to parameter 'myid' here > unsigned char myid[IDSIZE], > ^ >context.c:517:36: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > dl->url[dl->tracker], ctx->myid, ctx->mykey, dl->infohash, > ^~~~~~~~~~ >context.c:395:16: note: passing argument to parameter 'mykey' here > unsigned char mykey[KEYSIZE], > ^ >context.c:517:48: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > dl->url[dl->tracker], ctx->myid, ctx->mykey, dl->infohash, > ^~~~~~~~~~~~ >context.c:396:16: note: passing argument to parameter 'digest' here > unsigned char digest[SHA_DIGEST_LENGTH], > ^ >context.c:866:11: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > SHA1( strbuf.buf, strbuf.len, dl->infohash); > ^~~~~~~~~~ >/usr/include/openssl/sha.h:124:42: note: passing argument to parameter 'd' here >unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); > ^ >context.c:866:35: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > SHA1( strbuf.buf, strbuf.len, dl->infohash); > ^~~~~~~~~~~~ >/usr/include/openssl/sha.h:124:70: note: passing argument to parameter 'md' here >unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); > ^ >context.c:1110:2: warning: remove in favour of util routine [-W#warnings] >#warning remove in favour of util routine > ^ >context.c:1197:41: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > printf("Total archive size %lld\n", dl->fileset.tsize); > ~~~~ ^~~~~~~~~~~~~~~~~ > %ld >21 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 -O2 -pipe -fstack-protector -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 udpproto.c:10: >In file included from ../include/udpproto.h:6: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >udpproto.c:131:81: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > *msglen = recvfrom( udpsocket, msgbuf, bufsize, 0, (struct sockaddr *)&src, &srclen); > ^~~~~~~ >/usr/include/sys/socket.h:628:96: note: passing argument to parameter here >ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >udpproto.c:260:7: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > dl->infohash, ctx->myid, > ^~~~~~~~~~~~ >udpproto.c:156:23: note: passing argument to parameter 'digest' here > unsigned char digest[SHA_DIGEST_LENGTH], > ^ >udpproto.c:260:21: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > dl->infohash, ctx->myid, > ^~~~~~~~~ >udpproto.c:157:16: note: passing argument to parameter 'myid' here > unsigned char myid[SHA_DIGEST_LENGTH], > ^ >udpproto.c:363:6: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > dl->infohash, > ^~~~~~~~~~~~ >udpproto.c:156:23: note: passing argument to parameter 'digest' here > unsigned char digest[SHA_DIGEST_LENGTH], > ^ >udpproto.c:364:6: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > ctx->myid, > ^~~~~~~~~ >udpproto.c:157:16: note: passing argument to parameter 'myid' here > unsigned char myid[SHA_DIGEST_LENGTH], > ^ >7 warnings generated. >cc -c -O2 -pipe -fstack-protector -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 peerexchange.c:14: >In file included from ../include/peerexchange.h:13: >In file included from ../include/types.h:4: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >2 warnings generated. >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 -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -DVERSION=1.06 -g -L. -fstack-protector -o btlist btlist.c -lbt -luuid -lcrypto -lcurl -L/usr/local/lib `curl-config --libs` -lm >In file included from btlist.c:22: >In file included from ../include/types.h:4: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >btlist.c:78:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > btString_setbuf(k, digest, SHA_DIGEST_LENGTH); > ^~~~~~ >../include/types.h:68:42: note: passing argument to parameter 'buf' here >void btString_setbuf( btString *s, char *buf, int len) ; > ^ >btlist.c:194:14: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > SHA1( out.buf, out.len, digest); > ^~~~~~~ >/usr/include/openssl/sha.h:124:42: note: passing argument to parameter 'd' here >unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); > ^ >btlist.c:212:59: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-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:68: warning: format specifies type 'long long' but the argument has type 'long' [-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:86: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-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:96: warning: format specifies type 'long long' but the argument has type 'long' [-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:29: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > printf(" (%lld)\n", filesize->ival); > ~~~~ ^~~~~~~~~~~~~~ > %ld >btlist.c:240:9: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > tsize, tsize/i->ival, i->ival, tsize%i->ival); > ^~~~~ >btlist.c:240:16: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] > tsize, tsize/i->ival, i->ival, tsize%i->ival); > ^~~~~~~~~~~~~ >btlist.c:240:31: warning: format specifies type 'long long' but the argument has type '_int64' (aka 'long') [-Wformat] > tsize, tsize/i->ival, i->ival, tsize%i->ival); > ^~~~~~~ >btlist.c:240:40: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] > tsize, tsize/i->ival, i->ival, tsize%i->ival); > ^~~~~~~~~~~~~ >13 warnings generated. >cc -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -DVERSION=1.06 -g -L. -fstack-protector -o btget btget.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 block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >btget.c:168:12: warning: variable 'j' is used uninitialized whenever 'for' loop exits because its condition is false [-Wsometimes-uninitialized] > for (i=0; i < pset->len; i++) { > ^~~~~~~~~~~~~ >btget.c:176:9: note: uninitialized use occurs here > for (i=j; i < pset->len-1; i++) { > ^ >btget.c:168:12: note: remove the condition if it is always true > for (i=0; i < pset->len; i++) { > ^~~~~~~~~~~~~ >btget.c:158:13: note: initialize the variable 'j' to silence this warning > int i, j, dl; > ^ > = 0 >btget.c:480:36: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] > cs = accept( ctx->ss, &csin, &sa_len); > ^~~~~~~ >/usr/include/sys/socket.h:615:69: note: passing argument to parameter here >int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); > ^ >4 warnings generated. >cc -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -g -Wall -I../include -I../include -DVERSION=1.06 -g -L. -fstack-protector -o btcheck btcheck.c -lbt -luuid -lcrypto -lcurl -L/usr/local/lib `curl-config --libs` -lm >In file included from btcheck.c:39: >In file included from ../include/types.h:4: >../include/util.h:60:1: warning: '/*' within block comment [-Wcomment] >/* >^ >../include/util.h:62:1: warning: '/*' within block comment [-Wcomment] >/* >^ >2 warnings generated. >gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06/src' >gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06' >=========================================================================== >=======================<phase: run-depends >============================ >=========================================================================== >=======================<phase: stage >============================ >===> Staging for libbt-1.06 >===> Generating temporary packing list >/bin/mkdir -p /wrkdirs/usr/ports/net-p2p/libbt/work/stage/usr/local/include/libbt >install -m 0644 /wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06/src/libbt.a /wrkdirs/usr/ports/net-p2p/libbt/work/stage/usr/local/lib >(cd /wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06/src && install -s -m 555 btcheck btget btlist /wrkdirs/usr/ports/net-p2p/libbt/work/stage/usr/local/bin) >(cd /wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06/include && install -m 0644 *.h /wrkdirs/usr/ports/net-p2p/libbt/work/stage/usr/local/include/libbt) >/bin/mkdir -p /wrkdirs/usr/ports/net-p2p/libbt/work/stage/usr/local/share/doc/libbt >install -l rs /wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06/docs/*.txt /wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06 >(cd /wrkdirs/usr/ports/net-p2p/libbt/work/libbt-1.06 && install -m 444 protocol.txt protocol-ext.txt CHANGELOG CREDITS README /wrkdirs/usr/ports/net-p2p/libbt/work/stage/usr/local/share/doc/libbt) >====> Compressing man pages (compress-man) >=========================================================================== >=======================<phase: package >============================ >===> Building package for libbt-1.06 >pkg-static: duplicate file listing: /usr/local/share/doc/libbt/protocol.txt, ignoring >pkg-static: duplicate file listing: /usr/local/share/doc/libbt/protocol-ext.txt, ignoring >pkg-static: duplicate file listing: /usr/local/share/doc/libbt/CHANGELOG, ignoring >pkg-static: duplicate file listing: /usr/local/share/doc/libbt/CREDITS, ignoring >pkg-static: duplicate file listing: /usr/local/share/doc/libbt/README, ignoring >=========================================================================== >=>> Cleaning up wrkdir >===> Cleaning for libbt-1.06 >build of net-p2p/libbt | libbt-1.06 ended at Sat Sep 1 19:03:31 CEST 2018 >build time: 00:00:05
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 231033
:
196717
|
196728
|
196766
|
196768
|
196769
| 196770