=> Building net-p2p/bnbt Started : Friday, 8 MAR 2019 at 04:45:40 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for bnbt-8.5_3: DOCS=on: Build and/or install documentation MYSQL=off: MySQL database support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net-p2p/bnbt XDG_CONFIG_HOME=/construction/net-p2p/bnbt HOME=/construction/net-p2p/bnbt TMPDIR="/tmp" PATH=/construction/net-p2p/bnbt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net-p2p/bnbt XDG_CONFIG_HOME=/construction/net-p2p/bnbt HOME=/construction/net-p2p/bnbt TMPDIR="/tmp" PATH=/construction/net-p2p/bnbt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net-p2p/bnbt/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/bnbt" EXAMPLESDIR="share/examples/bnbt" DATADIR="share/bnbt" WWWDIR="www/bnbt" ETCDIR="etc/bnbt" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bnbt DOCSDIR=/usr/local/share/doc/bnbt EXAMPLESDIR=/usr/local/share/examples/bnbt WWWDIR=/usr/local/www/bnbt ETCDIR=/usr/local/etc/bnbt -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The bnbt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> bnbt-8.5_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> bnbt-8.5_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bnbt-8.5_3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The bnbt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by bnbt-8.5_3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The bnbt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by bnbt-8.5_3 for building => SHA256 Checksum OK for 20060727-bnbt85-src.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The bnbt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by bnbt-8.5_3 for building ===> Extracting for bnbt-8.5_3 => SHA256 Checksum OK for 20060727-bnbt85-src.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for bnbt-8.5_3 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for bnbt-8.5_3 ===> Applying dragonfly patches for bnbt-8.5_3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> bnbt-8.5_3 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> bnbt-8.5_3 depends on executable: gmake - found ===> Returning to build of bnbt-8.5_3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for bnbt-8.5_3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for bnbt-8.5_3 gmake[1]: Entering directory '/construction/net-p2p/bnbt/20060727-bnbt85-src' c++ -o atom.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c atom.cpp c++ -o base64.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c base64.cpp c++ -o bencode.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c bencode.cpp c++ -o client.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c client.cpp c++ -o config.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c config.cpp base64.cpp: In function 'char* b64decode(const char*)': base64.cpp:116:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] int l = strlen(s); // Get length of Base64 string. ~~~~~~^~~ base64.cpp:155:26: warning: conversion from 'int' to 'char' may change value [-Wconversion] b[y] = c << 2; ~~^~~~ base64.cpp:158:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] b[y] |= c >> 4; ~~~~~~~^~~~~~~~~~ base64.cpp:163:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] b[y] = (c & 0x0f) << 4; ~~~~~~~~~~~^~~~ base64.cpp:166:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] b[y] |= c >> 2; ~~~~~~~^~~~~~~~~~ base64.cpp:171:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] b[y] = (c & 0x03) << 6; ~~~~~~~~~~~^~~~ base64.cpp:174:20: warning: conversion from 'int' to 'char' may change value [-Wconversion] b[y] |= c; ~~~~~~~^~~~~ base64.cpp: In function 'char* b64buffer(const char*, bool)': base64.cpp:247:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] int l = strlen(s); // String size to encode or decode. ~~~~~~^~~ c++ -o md5.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c md5.cpp c++ -o server.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c server.cpp config.cpp: In function 'void CFG_SetDefaults()': config.cpp:474:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( CFG_GetInt( "bnbt_block_private_ip", -1 ) < 0 ) ^ c++ -o sha1.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c sha1.cpp client.cpp: In member function 'bool CClient::Update()': client.cpp:102:16: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] int c = recv( m_sckClient, gpBuf, GPBUF_SIZE, 0 ); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha1.cpp: In member function 'void CSHA1::Final()': sha1.cpp:126:22: warning: variable 'j' set but not used [-Wunused-but-set-variable] unsigned int i = 0, j = 0; ^ client.cpp:380:16: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] int c = recv( m_sckClient, gpBuf, GPBUF_SIZE, 0 ); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client.cpp:447:60: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] unsigned int iSize = (unsigned int)( rsp.strContent.size( ) * 1.001 + 18 ); ~~~~~~~~~~~~~~~~~~~^~~ client.cpp:454:63: warning: cast from type 'const char*' to type 'unsigned char*' casts away qualifiers [-Wcast-qual] zCompress.next_in = (unsigned char *)rsp.strContent.c_str( ); ^ client.cpp:499:22: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wformat=] UTIL_LogPrint( "client warning - (zlib) deflate error (%d) on \"%s\", in = %u, sending raw\n", iResult, rqst.strURL.c_str( ), rsp.strContent.size( ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ client.cpp:585:16: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] int s = send( m_sckClient, m_strSendBuf.c_str( ), (int)m_strSendBuf.size( ), MSG_NOSIGNAL ); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atom.cpp: In member function 'virtual int CAtomString::EncodedLength()': atom.cpp:174:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] return iSize + strlen( pBuf ) + 1; ~~~~~~~~~~~~~~~~~~~~~~~^~~ atom.cpp: In member function 'std::vector* CAtomList::getValuePtr() const': atom.cpp:286:29: warning: cast from type 'const std::vector*' to type 'std::vector*' casts away qualifiers [-Wcast-qual] return (vector *)&m_vecList; ^~~~~~~~~ atom.cpp: In member function 'std::map, CAtom*>* CAtomDicti::getValuePtr() const': atom.cpp:392:34: warning: cast from type 'const std::map, CAtom*>*' to type 'std::map, CAtom*>*' casts away qualifiers [-Wcast-qual] return (map *)&m_mapDicti; ^~~~~~~~~~ sha1.cpp: In member function 'void CSHA1::ReportHash(char*, unsigned char)': sha1.cpp:179:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(szTemp, " %u", m_digest[i]); ^~~~~ sha1.cpp:179:11: note: 'sprintf' output between 3 and 5 bytes into a destination of size 4 sprintf(szTemp, " %u", m_digest[i]); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o sort.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c sort.cpp c++ -o tracker_admin.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_admin.cpp c++ -o tracker_comments.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_comments.cpp sort.cpp: In function 'int asortpByConnected(const void*, const void*)': sort.cpp:264:54: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] return ( (const struct peer_t *)elem1 )->iConnected - ( (const struct peer_t *)elem2 )->iConnected; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sort.cpp: In function 'int dsortpByConnected(const void*, const void*)': sort.cpp:334:54: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] return ( (const struct peer_t *)elem2 )->iConnected - ( (const struct peer_t *)elem1 )->iConnected; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o tracker_file.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_file.cpp c++ -o tracker_index.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_index.cpp tracker_index.cpp: In member function 'void CTracker::serverResponseIndex(request_t*, response_t*)': tracker_index.cpp:414:141: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] pTorrents[torrent_iter].iAverageLeftPercent = (unsigned int)( ( (float)pTorrents[torrent_iter].iAverageLeft / pTorrents[torrent_iter].iSize ) * 100 ); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ tracker_index.cpp:1146:56: warning: declaration of 'j' shadows a previous local [-Wshadow] for( vector< pair > :: iterator j = m_vecTags.begin( ); j != m_vecTags.end( ); j++ ) ^ tracker_index.cpp:593:49: note: shadowed declaration is here vector< pair< string, string > > :: iterator j = m_vecTagsMouse.begin( ); /* =X= */ ^ tracker_index.cpp:1293:83: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] iPercent = 100 - (int)( ( (float)pTorrents[i].iMaxiLeft / pTorrents[i].iSize ) * 100 ); ~~~~~~~~~~~~~^~~~~ tracker_index.cpp:1295:76: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] iPercent = (int)( ( (float)pTorrents[i].iMinLeft / pTorrents[i].iSize ) * 100 ); ~~~~~~~~~~~~~^~~~~ tracker_index.cpp:1361:82: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] iPercent = 100 - (int)( ( (float)pTorrents[i].iMinLeft / pTorrents[i].iSize ) * 100 ); ~~~~~~~~~~~~~^~~~~ tracker_index.cpp:1363:77: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] iPercent = (int)( ( (float)pTorrents[i].iMaxiLeft / pTorrents[i].iSize ) * 100 ); ~~~~~~~~~~~~~^~~~~ tracker_index.cpp:1442:76: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pResponse->strContent += "strContent += CAtomInt( ( i / m_iPerPage ) + 1 ).toString( ); ~~~~~~~~~~~~~~~~~~~^~~ tracker_comments.cpp: In member function 'void CTracker::serverResponseComments(request_t*, response_t*)': tracker_comments.cpp:287:14: warning: declaration of 'tNow' shadows a previous local [-Wshadow] time_t tNow = time( NULL ); ^~~~ tracker_comments.cpp:38:9: note: shadowed declaration is here time_t tNow = time( NULL ) + m_iRefreshFastCacheInterval; ^~~~ tracker_comments.cpp:288:13: warning: declaration of 'szTime' shadows a previous local [-Wshadow] char *szTime = asctime( localtime( &tNow ) ); ^~~~~~ tracker_comments.cpp:39:8: note: shadowed declaration is here char *szTime = asctime( gmtime( &tNow ) ); ^~~~~~ tracker_comments.cpp:374:114: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pResponse->strContent += "Comment " + CAtomInt( i + 1 ).toString( ) + " posted by "; ~~^~~ tracker_comments.cpp:387:114: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pResponse->strContent += " [Delete]"; ~~^~~ c++ -o tracker_info.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_info.cpp c++ -o tracker_login.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_login.cpp tracker_info.cpp: In member function 'void CTracker::serverResponseInfo(request_t*, response_t*)': tracker_info.cpp:109:10: warning: declaration of 'tNow' shadows a previous local [-Wshadow] time_t tNow = time( NULL ); ^~~~ tracker_info.cpp:33:9: note: shadowed declaration is here time_t tNow = time( NULL ) + m_iRefreshFastCacheInterval; ^~~~ tracker_info.cpp:110:9: warning: declaration of 'szTime' shadows a previous local [-Wshadow] char *szTime = asctime( localtime( &tNow ) ); ^~~~~~ tracker_info.cpp:34:8: note: shadowed declaration is here char *szTime = asctime( gmtime( &tNow ) ); ^~~~~~ tracker_info.cpp: In member function 'void CTracker::serverResponseBencodeInfo(request_t*, response_t*)': tracker_info.cpp:158:63: warning: unused parameter 'pRequest' [-Wunused-parameter] void CTracker :: serverResponseBencodeInfo( struct request_t *pRequest, struct response_t *pResponse ) ~~~~~~~~~~~~~~~~~~^~~~~~~~ c++ -o tracker_signup.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_signup.cpp c++ -o tracker_stats.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_stats.cpp c++ -o tracker_torrent.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_torrent.cpp c++ -o tracker_upload.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_upload.cpp tracker_stats.cpp: In member function 'void CTracker::serverResponseStats(request_t*, response_t*)': tracker_stats.cpp:628:49: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if( pPeersT[peer_iter].flShareRatio == -1.0 ) ^~~ tracker_stats.cpp:639:49: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if( pPeersT[peer_iter].flShareRatio == -1.0 ) ^~~ tracker_stats.cpp:831:74: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] iPercent = 100 - (int)( ( (float)pPeersT[leecher_iter].iLeft / iSize ) * 100 ); ^~~~~ tracker_stats.cpp:833:68: warning: conversion from 'int64' {aka 'long long int'} to 'float' may change value [-Wconversion] iPercent = (int)( ( (float)pPeersT[leecher_iter].iLeft / iSize ) * 100 ); ^~~~~ tracker_stats.cpp:856:52: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if( pPeersT[leecher_iter].flShareRatio == -1.0 ) ^~~ tracker_stats.cpp:867:52: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if( pPeersT[leecher_iter].flShareRatio == -1.0 ) ^~~ c++ -o tracker_users.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_users.cpp c++ -o util.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c util.cpp tracker_users.cpp: In member function 'void CTracker::serverResponseUsers(request_t*, response_t*)': tracker_users.cpp:723:76: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pResponse->strContent += "strContent += CAtomInt( ( i / m_iUsersPerPage ) + 1 ).toString( ); ~~~~~~~~~~~~~~~~~~~~~~~~^~~ util.cpp: In function 'void UTIL_AccessLogPrint(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, int, int)': util.cpp:142:67: warning: conversion from 'long int' to 'int' may change value [-Wconversion] fprintf( gpAccessLog, "[%s -%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~~~ util.cpp:142:96: warning: conversion from 'long int' to 'int' may change value [-Wconversion] fprintf( gpAccessLog, "[%s -%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~ util.cpp:144:67: warning: conversion from 'long int' to 'int' may change value [-Wconversion] fprintf( gpAccessLog, "[%s +%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~~~ util.cpp:144:96: warning: conversion from 'long int' to 'int' may change value [-Wconversion] fprintf( gpAccessLog, "[%s +%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~ util.cpp: In function 'std::__cxx11::string UTIL_AddedToDate(std::__cxx11::string)': util.cpp:197:59: warning: conversion from 'long int' to 'int' may change value [-Wconversion] strDate = (string)pTime + " -" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~~~ util.cpp:197:100: warning: conversion from 'long int' to 'int' may change value [-Wconversion] strDate = (string)pTime + " -" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~ util.cpp:199:59: warning: conversion from 'long int' to 'int' may change value [-Wconversion] strDate = (string)pTime + " +" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~~~ util.cpp:199:100: warning: conversion from 'long int' to 'int' may change value [-Wconversion] strDate = (string)pTime + " +" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ~~~~~~~~~^~~~ util.cpp: In function 'std::__cxx11::string UTIL_ElapsedTimeStr(bnbttv, bnbttv)': util.cpp:289:43: warning: conversion from 'long int' to 'double' may change value [-Wconversion] sprintf( szGen, "%0.3f", UTIL_ElapsedTime( btvStart, btvEnd ) / 1000.0 ); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ util.cpp: In function 'std::__cxx11::string UTIL_EscapedToString(const string&)': util.cpp:317:18: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] strString += c; ^ util.cpp: In function 'std::__cxx11::string UTIL_SecondsToString(long unsigned int)': util.cpp:463:20: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] int iM = iSeconds % 60; ~~~~~~~~~^~~~ util.cpp:465:20: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] int iH = iSeconds % 24; ~~~~~~~~~^~~~ util.cpp:467:11: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] int iD = iSeconds; ^~~~~~~~ util.cpp: In function 'std::__cxx11::string UTIL_StringToHash(const string&)': util.cpp:607:14: warning: conversion from 'unsigned int' to 'char' may change value [-Wconversion] strHash += c; ^ util.cpp: In function 'std::__cxx11::string UTIL_ToLower(std::__cxx11::string)': util.cpp:777:24: warning: conversion from 'int' to '__gnu_cxx::__alloc_traits, char>::value_type' {aka 'char'} may change value [-Wconversion] strUpper[i] = tolower( strUpper[i] ); ~~~~~~~^~~~~~~~~~~~~~~ c++ -o bnbt.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c bnbt.cpp bnbt.cpp: In function 'int main(int, char**)': bnbt.cpp:109:15: warning: unused parameter 'argc' [-Wunused-parameter] int main( int argc, char *argv[] ) ~~~~^~~~ bnbt.cpp:109:27: warning: unused parameter 'argv' [-Wunused-parameter] int main( int argc, char *argv[] ) ~~~~~~^~~~~~ c++ -o tracker.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker.cpp c++ -o tracker_announce.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_announce.cpp c++ -o tracker_scrape.o -pipe -O2 -fno-strict-aliasing -I/usr/local/include -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-noreturn -Wmissing-format-attribute -Wpacked -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Woverloaded-virtual -Wsign-promo -Wsynth -I. -c tracker_scrape.cpp tracker_announce.cpp: In member function 'void CTracker::serverResponseAnnounce(request_t*, response_t*)': tracker_announce.cpp:314:16: warning: declaration of 'i' shadows a previous local [-Wshadow] for( int i = 0; i < 3; i++ ) ^ tracker_announce.cpp:291:37: note: shadowed declaration is here for( vector :: iterator i = pvecList->begin( ); i != pvecList->end( ); ) ^ tracker_announce.cpp:316:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( pSplit = strstr( szCur, "." ) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ tracker.cpp: In member function 'void CTracker::saveXML()': tracker.cpp:687:33: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] fwrite( (void *)strData.c_str( ), sizeof( char ), strData.size( ), pFile ); ^ tracker.cpp: In member function 'void CTracker::saveRSS(std::__cxx11::string)': tracker.cpp:752:20: warning: conversion from 'long int' to 'int' may change value [-Wconversion] if( abs( timezone / 3600 ) % 60 < 10 ) ~~~~~~~~~^~~~~~ tracker.cpp:755:37: warning: conversion from 'long int' to 'int' may change value [-Wconversion] strDate += CAtomInt( abs( timezone / 3600 ) % 60 ).toString( ); ~~~~~~~~~^~~~~~ tracker.cpp:757:20: warning: conversion from 'long int' to 'int' may change value [-Wconversion] if( abs( timezone / 60 ) % 60 < 10 ) ~~~~~~~~~^~~~ tracker.cpp:760:37: warning: conversion from 'long int' to 'int' may change value [-Wconversion] strDate += CAtomInt( abs( timezone / 60 ) % 60 ).toString( ); ~~~~~~~~~^~~~ tracker.cpp:882:34: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] int iFileSize = UTIL_SizeFile( string( m_strAllowedDir + pTorrents[i].strFileName ).c_str( ) ); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker.cpp: In member function 'void CTracker::expireDownloaders()': tracker.cpp:988:108: warning: comparison of integer expressions of different signedness: 'int64' {aka 'long long int'} and 'long unsigned int' [-Wsign-compare] if( dynamic_cast( (*j).second ) && dynamic_cast( (*j).second )->getValue( ) < m_iPrevTime ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ tracker.cpp: In member function 'void CTracker::RefreshFastCache()': tracker.cpp:1931:44: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pList->addItem( new CAtomInt( iSeeders ) ); ^ tracker.cpp:1932:45: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pList->addItem( new CAtomInt( iLeechers ) ); ^ tracker.cpp:1933:46: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] pList->addItem( new CAtomInt( iCompleted ) ); ^ tracker.cpp: In member function 'void CTracker::serverResponseNotFound(request_t*, response_t*)': tracker.cpp:1984:60: warning: unused parameter 'pRequest' [-Wunused-parameter] void CTracker :: serverResponseNotFound( struct request_t *pRequest, struct response_t *pResponse ) ~~~~~~~~~~~~~~~~~~^~~~~~~~ tracker.cpp: In member function 'void CTracker::serverResponseRobots(request_t*, response_t*)': tracker.cpp:2006:58: warning: unused parameter 'pRequest' [-Wunused-parameter] void CTracker :: serverResponseRobots( struct request_t *pRequest, struct response_t *pResponse ) ~~~~~~~~~~~~~~~~~~^~~~~~~~ tracker_announce.cpp:310:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 16 equals destination size [-Wstringop-truncation] strncpy( szIP, pIP->toString( ).c_str( ), 16 ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -o ./bnbt atom.o base64.o bencode.o client.o config.o md5.o server.o sha1.o sort.o tracker_admin.o tracker_comments.o tracker_file.o tracker_index.o tracker_info.o tracker_login.o tracker_signup.o tracker_stats.o tracker_torrent.o tracker_upload.o tracker_users.o util.o bnbt.o tracker.o tracker_announce.o tracker_scrape.o -L/usr/local/lib/mysql -L. -lz gmake[1]: Leaving directory '/construction/net-p2p/bnbt/20060727-bnbt85-src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for bnbt-8.5_3 ===> Generating temporary packing list install -s -m 555 /construction/net-p2p/bnbt/20060727-bnbt85-src/bnbt /construction/net-p2p/bnbt/stage/usr/local/bin/bnbt /bin/mkdir -p /construction/net-p2p/bnbt/stage/usr/local/share/doc/bnbt install -m 0644 /construction/net-p2p/bnbt/20060727-bnbt85-src/footer.html /construction/net-p2p/bnbt/stage/usr/local/share/doc/bnbt install -m 0644 /construction/net-p2p/bnbt/20060727-bnbt85-src/header.html /construction/net-p2p/bnbt/stage/usr/local/share/doc/bnbt /usr/bin/touch /construction/net-p2p/bnbt/stage/var/log/bnbt/.keep /usr/bin/touch /construction/net-p2p/bnbt/stage/usr/local/etc/bnbt/.keep ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for bnbt-8.5_3 file sizes/checksums [6]: . done packing files [6]: . done packing directories [1]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 04:46:08 UTC Duration: 00:00:27