=>> Building net-p2p/ctorrent build started at Fri Apr 5 14:11:38 BST 2024 port directory: /usr/ports/net-p2p/ctorrent package name: ctorrent-3.3.2_5 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: dinoex@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 796 Feb 14 06:15 /usr/ports/net-p2p/ctorrent/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 5e8725d7d9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 19 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/19/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ctorrent-3.3.2_5: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dinoex@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work/.cache HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net-p2p/ctorrent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-p2p/ctorrent/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work/.cache HOME=/wrkdirs/usr/ports/net-p2p/ctorrent/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net-p2p/ctorrent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-p2p/ctorrent/work/.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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ctorrent" EXAMPLESDIR="share/examples/ctorrent" DATADIR="share/ctorrent" WWWDIR="www/ctorrent" ETCDIR="etc/ctorrent" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ctorrent DOCSDIR=/usr/local/share/doc/ctorrent EXAMPLESDIR=/usr/local/share/examples/ctorrent WWWDIR=/usr/local/www/ctorrent ETCDIR=/usr/local/etc/ctorrent --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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" 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) 89999 open files (-n) 8192 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-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ctorrent-3.3.2_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> ctorrent-3.3.2_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ctorrent-3.3.2_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ctorrent-3.3.2_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ctorrent-3.3.2_5 for building => SHA256 Checksum OK for ctorrent-dnh3.3.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ctorrent-3.3.2_5 for building ===> Extracting for ctorrent-3.3.2_5 => SHA256 Checksum OK for ctorrent-dnh3.3.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ctorrent-3.3.2_5 ===> Applying FreeBSD patches for ctorrent-3.3.2_5 from /usr/ports/net-p2p/ctorrent/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ctorrent-3.3.2_5 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> ctorrent-3.3.2_5 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of ctorrent-3.3.2_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ctorrent-3.3.2_5 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for C++ compiler default output file name... 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 c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for library containing clock_gettime... none required checking for library containing gethostbyname... none required checking for library containing socket... none required checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C++ preprocessor... c++ -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... 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 arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for memory.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sgtty.h usability... no checking sgtty.h presence... no checking for sgtty.h... no checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking for sys/ioctl.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether cc needs -traditional... no checking for size_t... (cached) yes checking for ssize_t... (cached) yes checking for int8_t... (cached) yes checking for int16_t... (cached) yes checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for uint8_t... (cached) yes checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for clockid_t... yes checking whether INADDR_NONE is declared... yes checking whether byte ordering is bigendian... no checking for working memcmp... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking whether stat accepts an empty string... no checking for working strtod... (cached) yes checking for clock_gettime... (cached) yes checking for ftruncate... yes checking for gethostbyname... (cached) yes checking for gettimeofday... (cached) yes checking for getwd... (cached) yes checking for inet_ntoa... (cached) yes checking for memchr... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for mkdir... yes checking for random... (cached) yes checking for select... (cached) yes checking for snprintf... (cached) yes checking for socket... yes checking for strerror... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for strtol... (cached) yes checking for strtoll... (cached) yes checking for strnstr... (cached) yes checking for system... yes checking for vsnprintf... (cached) yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) 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 _LARGEFILE_SOURCE value needed for large files... no checking POSIX termios... yes checking whether termios.h defines TIOCGWINSZ... yes checking for library containing SHA1_Init... -lcrypto checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking ssl/sha.h usability... no checking ssl/sha.h presence... no checking for ssl/sha.h... no checking sha.h usability... yes checking sha.h presence... yes checking for sha.h... yes checking for ctime_r... yes, and it takes 2 arguments configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ctorrent-3.3.2_5 /usr/bin/make all-am if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT bencode.o -MD -MP -MF ".deps/bencode.Tpo" -c -o bencode.o bencode.cpp; then mv -f ".deps/bencode.Tpo" ".deps/bencode.Po"; else rm -f ".deps/bencode.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT bitfield.o -MD -MP -MF ".deps/bitfield.Tpo" -c -o bitfield.o bitfield.cpp; then mv -f ".deps/bitfield.Tpo" ".deps/bitfield.Po"; else rm -f ".deps/bitfield.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT btconfig.o -MD -MP -MF ".deps/btconfig.Tpo" -c -o btconfig.o btconfig.cpp; then mv -f ".deps/btconfig.Tpo" ".deps/btconfig.Po"; else rm -f ".deps/btconfig.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT btcontent.o -MD -MP -MF ".deps/btcontent.Tpo" -c -o btcontent.o btcontent.cpp; then mv -f ".deps/btcontent.Tpo" ".deps/btcontent.Po"; else rm -f ".deps/btcontent.Tpo"; exit 1; fi btcontent.cpp:294:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( r = meta_pos("announce-list") ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:294:9: note: place parentheses around the assignment to silence this warning if( r = meta_pos("announce-list") ){ ^ ( ) btcontent.cpp:294:9: note: use '==' to turn this assignment into an equality comparison if( r = meta_pos("announce-list") ){ ^ == btcontent.cpp:297:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( q = decode_list(b+r, flen-r, (char *)0) ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:297:11: note: place parentheses around the assignment to silence this warning if( q = decode_list(b+r, flen-r, (char *)0) ){ ^ ( ) btcontent.cpp:297:11: note: use '==' to turn this assignment into an equality comparison if( q = decode_list(b+r, flen-r, (char *)0) ){ ^ == btcontent.cpp:321:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m_comment = new char[r + 1] ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp:321:19: note: place parentheses around the assignment to silence this warning if( m_comment = new char[r + 1] ){ ^ ( ) btcontent.cpp:321:19: note: use '==' to turn this assignment into an equality comparison if( m_comment = new char[r + 1] ){ ^ == btcontent.cpp:327:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m_created_by = new char[r + 1] ){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ btcontent.cpp:327:22: note: place parentheses around the assignment to silence this warning if( m_created_by = new char[r + 1] ){ ^ ( ) btcontent.cpp:327:22: note: use '==' to turn this assignment into an equality comparison if( m_created_by = new char[r + 1] ){ ^ == btcontent.cpp:690:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:690:19: note: place parentheses around the assignment to silence this warning if( slowest = WORLD.GetSlowestUp(slowest) ) ^ ( ) btcontent.cpp:690:19: note: use '==' to turn this assignment into an equality comparison if( slowest = WORLD.GetSlowestUp(slowest) ) ^ == btcontent.cpp:703:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:703:19: note: place parentheses around the assignment to silence this warning if( slowest = WORLD.GetSlowestUp(slowest) ) ^ ( ) btcontent.cpp:703:19: note: use '==' to turn this assignment into an equality comparison if( slowest = WORLD.GetSlowestUp(slowest) ) ^ == btcontent.cpp:714:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slowest = WORLD.GetSlowestUp(slowest) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btcontent.cpp:714:19: note: place parentheses around the assignment to silence this warning if( slowest = WORLD.GetSlowestUp(slowest) ){ ^ ( ) btcontent.cpp:714:19: note: use '==' to turn this assignment into an equality comparison if( slowest = WORLD.GetSlowestUp(slowest) ){ ^ == btcontent.cpp:765:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ btcontent.cpp:1310:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1310:13: note: place parentheses around the assignment to silence this warning while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ^ ( ) btcontent.cpp:1310:13: note: use '==' to turn this assignment into an equality comparison while( pt = strstr(pt, "&t") ){ nt++; pt+=2; } ^ == btcontent.cpp:1311:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1311:13: note: place parentheses around the assignment to silence this warning while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ^ ( ) btcontent.cpp:1311:13: note: use '==' to turn this assignment into an equality comparison while( pd = strstr(pd, "&d") ){ nd++; pd+=2; } ^ == btcontent.cpp:1312:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ~~~^~~~~~~~~~~~~~~~~~ btcontent.cpp:1312:13: note: place parentheses around the assignment to silence this warning while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ^ ( ) btcontent.cpp:1312:13: note: use '==' to turn this assignment into an equality comparison while( pw = strstr(pw, "&w") ){ nw++; pw+=2; } ^ == 11 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT btfiles.o -MD -MP -MF ".deps/btfiles.Tpo" -c -o btfiles.o btfiles.cpp; then mv -f ".deps/btfiles.Tpo" ".deps/btfiles.Po"; else rm -f ".deps/btfiles.Tpo"; exit 1; fi btfiles.cpp:492:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btfiles.cpp:492:18: note: place parentheses around the assignment to silence this warning if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ ( ) btfiles.cpp:492:18: note: use '==' to turn this assignment into an equality comparison if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ == btfiles.cpp:547:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ btfiles.cpp:547:18: note: place parentheses around the assignment to silence this warning if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ ( ) btfiles.cpp:547:18: note: use '==' to turn this assignment into an equality comparison if( f_conv = ConvertFilename(tmpfn, path, strlen(path)*2+5) ){ ^ == 2 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT btrequest.o -MD -MP -MF ".deps/btrequest.Tpo" -c -o btrequest.o btrequest.cpp; then mv -f ".deps/btrequest.Tpo" ".deps/btrequest.Po"; else rm -f ".deps/btrequest.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT btstream.o -MD -MP -MF ".deps/btstream.Tpo" -c -o btstream.o btstream.cpp; then mv -f ".deps/btstream.Tpo" ".deps/btstream.Po"; else rm -f ".deps/btstream.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT bufio.o -MD -MP -MF ".deps/bufio.Tpo" -c -o bufio.o bufio.cpp; then mv -f ".deps/bufio.Tpo" ".deps/bufio.Po"; else rm -f ".deps/bufio.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT compat.o -MD -MP -MF ".deps/compat.Tpo" -c -o compat.o compat.c; then mv -f ".deps/compat.Tpo" ".deps/compat.Po"; else rm -f ".deps/compat.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT connect_nonb.o -MD -MP -MF ".deps/connect_nonb.Tpo" -c -o connect_nonb.o connect_nonb.cpp; then mv -f ".deps/connect_nonb.Tpo" ".deps/connect_nonb.Po"; else rm -f ".deps/connect_nonb.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT console.o -MD -MP -MF ".deps/console.Tpo" -c -o console.o console.cpp; then mv -f ".deps/console.Tpo" ".deps/console.Po"; else rm -f ".deps/console.Tpo"; exit 1; fi console.cpp:85:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m_name = new char[strlen(name)+1] ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:85:14: note: place parentheses around the assignment to silence this warning if( m_name = new char[strlen(name)+1] ) ^ ( ) console.cpp:85:14: note: use '==' to turn this assignment into an equality comparison if( m_name = new char[strlen(name)+1] ) ^ == console.cpp:385:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( s = strchr(param, '\n') ) *s = '\0'; ~~^~~~~~~~~~~~~~~~~~~~~ console.cpp:385:15: note: place parentheses around the assignment to silence this warning if( s = strchr(param, '\n') ) *s = '\0'; ^ ( ) console.cpp:385:15: note: use '==' to turn this assignment into an equality comparison if( s = strchr(param, '\n') ) *s = '\0'; ^ == console.cpp:785:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dest = new ConStream ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:785:16: note: place parentheses around the assignment to silence this warning if( dest = new ConStream ){ ^ ( ) console.cpp:785:16: note: use '==' to turn this assignment into an equality comparison if( dest = new ConStream ){ ^ == console.cpp:790:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:790:20: note: place parentheses around the assignment to silence this warning if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ^ ( ) console.cpp:790:20: note: use '==' to turn this assignment into an equality comparison if( stream = fopen(param, (channel==O_INPUT) ? "r" : "a") ) ^ == console.cpp:927:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 100 * BTCONTENT.CheckedPieces() / BTCONTENT.GetNPieces() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:935:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(WORLD.GetPeersCount()) - WORLD.GetSeedsCount(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:982:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:982:14: note: place parentheses around the assignment to silence this warning if( rate = Self.RateDL() ){ ^ ( ) console.cpp:982:14: note: use '==' to turn this assignment into an equality comparison if( rate = Self.RateDL() ){ ^ == console.cpp:996:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 100 * BTCONTENT.CheckedPieces() / BTCONTENT.GetNPieces() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1004:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 100 * BTCONTENT.pBF->Count() / BTCONTENT.GetNPieces()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1023:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rate = Self.RateDL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:1023:14: note: place parentheses around the assignment to silence this warning if( rate = Self.RateDL() ){ ^ ( ) console.cpp:1023:14: note: use '==' to turn this assignment into an equality comparison if( rate = Self.RateDL() ){ ^ == console.cpp:1032:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( rate = Self.RateUL() ){ ~~~~~^~~~~~~~~~~~~~~ console.cpp:1032:19: note: place parentheses around the assignment to silence this warning else if( rate = Self.RateUL() ){ ^ ( ) console.cpp:1032:19: note: use '==' to turn this assignment into an equality comparison else if( rate = Self.RateUL() ){ ^ == console.cpp:1063:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(WORLD.GetPeersCount()) - WORLD.GetSeedsCount() - WORLD.GetConnCount(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.cpp:1064:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(Tracker.GetPeersCount()) - Tracker.GetSeedsCount() - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT ctcs.o -MD -MP -MF ".deps/ctcs.Tpo" -c -o ctcs.o ctcs.cpp; then mv -f ".deps/ctcs.Tpo" ".deps/ctcs.Po"; else rm -f ".deps/ctcs.Tpo"; exit 1; fi ctcs.cpp:280:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (int)(Tracker.GetPeersCount()) - Tracker.GetSeedsCount() - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:607:5: warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] BTCONTENT.GetTotalFilesLength(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:637:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pfilter = BTCONTENT.GetNextFilter(pfilter) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:637:24: note: place parentheses around the assignment to silence this warning while( pfilter = BTCONTENT.GetNextFilter(pfilter) ){ ^ ( ) ctcs.cpp:637:24: note: use '==' to turn this assignment into an equality comparison while( pfilter = BTCONTENT.GetNextFilter(pfilter) ){ ^ == ctcs.cpp:718:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( s = strchr(m_host, ':') ) *s='\0'; ~~^~~~~~~~~~~~~~~~~~~~~ ctcs.cpp:718:9: note: place parentheses around the assignment to silence this warning if( s = strchr(m_host, ':') ) *s='\0'; ^ ( ) ctcs.cpp:718:9: note: use '==' to turn this assignment into an equality comparison if( s = strchr(m_host, ':') ) *s='\0'; ^ == 4 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT ctorrent.o -MD -MP -MF ".deps/ctorrent.Tpo" -c -o ctorrent.o ctorrent.cpp; then mv -f ".deps/ctorrent.Tpo" ".deps/ctorrent.Po"; else rm -f ".deps/ctorrent.Tpo"; exit 1; fi ctorrent.cpp:75:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(s = strchr(cfg_user_agent, ' ')) *s = '-'; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctorrent.cpp:75:11: note: place parentheses around the assignment to silence this warning while(s = strchr(cfg_user_agent, ' ')) *s = '-'; ^ ( ) ctorrent.cpp:75:11: note: use '==' to turn this assignment into an equality comparison while(s = strchr(cfg_user_agent, ' ')) *s = '-'; ^ == 1 warning generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT downloader.o -MD -MP -MF ".deps/downloader.Tpo" -c -o downloader.o downloader.cpp; then mv -f ".deps/downloader.Tpo" ".deps/downloader.Po"; else rm -f ".deps/downloader.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT httpencode.o -MD -MP -MF ".deps/httpencode.Tpo" -c -o httpencode.o httpencode.cpp; then mv -f ".deps/httpencode.Tpo" ".deps/httpencode.Po"; else rm -f ".deps/httpencode.Tpo"; exit 1; fi httpencode.cpp:92:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p = strnstr(b,"\r\n\r\n",n) ) addtion = 4; ~~^~~~~~~~~~~~~~~~~~~~~~~~~ httpencode.cpp:92:11: note: place parentheses around the assignment to silence this warning if( p = strnstr(b,"\r\n\r\n",n) ) addtion = 4; ^ ( ) httpencode.cpp:92:11: note: use '==' to turn this assignment into an equality comparison if( p = strnstr(b,"\r\n\r\n",n) ) addtion = 4; ^ == httpencode.cpp:93:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( p = strnstr(b,"\n\n",n) ) addtion = 2; ~~^~~~~~~~~~~~~~~~~~~~~ httpencode.cpp:93:16: note: place parentheses around the assignment to silence this warning else if( p = strnstr(b,"\n\n",n) ) addtion = 2; ^ ( ) httpencode.cpp:93:16: note: use '==' to turn this assignment into an equality comparison else if( p = strnstr(b,"\n\n",n) ) addtion = 2; ^ == 2 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT iplist.o -MD -MP -MF ".deps/iplist.Tpo" -c -o iplist.o iplist.cpp; then mv -f ".deps/iplist.Tpo" ".deps/iplist.Po"; else rm -f ".deps/iplist.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT peer.o -MD -MP -MF ".deps/peer.Tpo" -c -o peer.o peer.cpp; then mv -f ".deps/peer.Tpo" ".deps/peer.Po"; else rm -f ".deps/peer.Tpo"; exit 1; fi peer.cpp:481:42: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] (len < DEFAULT_SLICE_SIZE) ? DEFAULT_SLICE_SIZE : len) < 0 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ peer.cpp:481:42: note: place parentheses around the '+' expression to silence this warning (len < DEFAULT_SLICE_SIZE) ? DEFAULT_SLICE_SIZE : len) < 0 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ peer.cpp:481:42: note: place parentheses around the '?:' expression to evaluate it first (len < DEFAULT_SLICE_SIZE) ? DEFAULT_SLICE_SIZE : len) < 0 ) ^ ( ) peer.cpp:1198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( r = stream.HaveMessage() ){ ~~^~~~~~~~~~~~~~~~~~~~~~ peer.cpp:1198:12: note: place parentheses around the assignment to silence this warning while( r = stream.HaveMessage() ){ ^ ( ) peer.cpp:1198:12: note: use '==' to turn this assignment into an equality comparison while( r = stream.HaveMessage() ){ ^ == 2 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT peerlist.o -MD -MP -MF ".deps/peerlist.Tpo" -c -o peerlist.o peerlist.cpp; then mv -f ".deps/peerlist.Tpo" ".deps/peerlist.Po"; else rm -f ".deps/peerlist.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT rate.o -MD -MP -MF ".deps/rate.Tpo" -c -o rate.o rate.cpp; then mv -f ".deps/rate.Tpo" ".deps/rate.Po"; else rm -f ".deps/rate.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT setnonblock.o -MD -MP -MF ".deps/setnonblock.Tpo" -c -o setnonblock.o setnonblock.cpp; then mv -f ".deps/setnonblock.Tpo" ".deps/setnonblock.Po"; else rm -f ".deps/setnonblock.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sigint.o -MD -MP -MF ".deps/sigint.Tpo" -c -o sigint.o sigint.cpp; then mv -f ".deps/sigint.Tpo" ".deps/sigint.Po"; else rm -f ".deps/sigint.Tpo"; exit 1; fi if c++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT tracker.o -MD -MP -MF ".deps/tracker.Tpo" -c -o tracker.o tracker.cpp; then mv -f ".deps/tracker.Tpo" ".deps/tracker.Po"; else rm -f ".deps/tracker.Tpo"; exit 1; fi tracker.cpp:353:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( h = gethostbyname(hostname) ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~ tracker.cpp:353:13: note: place parentheses around the assignment to silence this warning if( h = gethostbyname(hostname) ){ ^ ( ) tracker.cpp:353:13: note: use '==' to turn this assignment into an equality comparison if( h = gethostbyname(hostname) ){ ^ == tracker.cpp:466:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *event,*str_event[] = {"started","stopped","completed" }; ^ tracker.cpp:466:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *event,*str_event[] = {"started","stopped","completed" }; ^ tracker.cpp:466:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *event,*str_event[] = {"started","stopped","completed" }; ^ 4 warnings generated. if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT sha1.o -MD -MP -MF ".deps/sha1.Tpo" -c -o sha1.o sha1.c; then mv -f ".deps/sha1.Tpo" ".deps/sha1.Po"; else rm -f ".deps/sha1.Tpo"; exit 1; fi c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o ctorrent bencode.o bitfield.o btconfig.o btcontent.o btfiles.o btrequest.o btstream.o bufio.o compat.o connect_nonb.o console.o ctcs.o ctorrent.o downloader.o httpencode.o iplist.o peer.o peerlist.o rate.o setnonblock.o sigint.o tracker.o sha1.o -lcrypto =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ctorrent-3.3.2_5 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ctorrent-3.3.2_5 ===> Generating temporary packing list test -z "/usr/local/bin" || /bin/sh ./mkinstalldirs "/wrkdirs/usr/ports/net-p2p/ctorrent/work/stage/usr/local/bin" install -s -m 555 'ctorrent' '/wrkdirs/usr/ports/net-p2p/ctorrent/work/stage/usr/local/bin/ctorrent' install -m 444 /usr/ports/net-p2p/ctorrent/files/ctorrent.1 /wrkdirs/usr/ports/net-p2p/ctorrent/work/stage/usr/local/share/man/man1/ /bin/mkdir -p /wrkdirs/usr/ports/net-p2p/ctorrent/work/stage/usr/local/share/doc/ctorrent install -m 0644 /wrkdirs/usr/ports/net-p2p/ctorrent/work/ctorrent-dnh3.3.2/README-DNH.TXT /wrkdirs/usr/ports/net-p2p/ctorrent/work/stage/usr/local/share/doc/ctorrent/ install -m 0644 /wrkdirs/usr/ports/net-p2p/ctorrent/work/ctorrent-dnh3.3.2/UserGuide /wrkdirs/usr/ports/net-p2p/ctorrent/work/stage/usr/local/share/doc/ctorrent/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-05T13:11:38+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=5e8725d7d9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ctorrent-3.3.2_5 ===> Building ctorrent-3.3.2_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ctorrent-3.3.2_5 build of net-p2p/ctorrent | ctorrent-3.3.2_5 ended at Fri Apr 5 14:12:37 BST 2024 build time: 00:01:03