=> Building net-p2p/bnbt build started at Tue Oct 4 15:21:32 PDT 2016 port directory: /usr/ports/net-p2p/bnbt building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: flz@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../04//usr/ports/net-p2p/bnbt/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=bnbt-8.5_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for bnbt-8.5_2: DOCS=on: Build and/or install documentation MYSQL=off: MySQL database support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/net-p2p/bnbt XDG_CONFIG_HOME=/wrkdirs/net-p2p/bnbt HOME=/wrkdirs/net-p2p/bnbt TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/net-p2p/bnbt XDG_CONFIG_HOME=/wrkdirs/net-p2p/bnbt HOME=/wrkdirs/net-p2p/bnbt TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/bnbt" EXAMPLESDIR="share/examples/bnbt" DATADIR="share/bnbt" WWWDIR="www/bnbt" ETCDIR="etc/bnbt" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> bnbt-8.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> bnbt-8.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bnbt-8.5_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by bnbt-8.5_2 for building =========================================================================== =================================================== ===> Fetching all distfiles required by bnbt-8.5_2 for building => SHA256 Checksum OK for 20060727-bnbt85-src.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by bnbt-8.5_2 for building ===> Extracting for bnbt-8.5_2 => SHA256 Checksum OK for 20060727-bnbt85-src.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for bnbt-8.5_2 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for bnbt-8.5_2 ===> Applying DragonFly patches for bnbt-8.5_2 =========================================================================== =================================================== ===> bnbt-8.5_2 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> bnbt-8.5_2 depends on executable: gmake - found ===> Returning to build of bnbt-8.5_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for bnbt-8.5_2 =========================================================================== =================================================== ===> Building for bnbt-8.5_2 gmake[1]: Entering directory '/wrkdirs/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:25: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int l = strlen(s); // Get length of Base64 string. ^ base64.cpp:154:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] b[y] = c << 2; ^ base64.cpp:157:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] b[y] |= c >> 4; ^ base64.cpp:162:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] b[y] = (c & 0x0f) << 4; ^ base64.cpp:165:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] b[y] |= c >> 2; ^ base64.cpp:170:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] b[y] = (c & 0x03) << 6; ^ base64.cpp:173:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] b[y] |= c; ^ base64.cpp: In function 'char* b64buffer(const char*, bool)': base64.cpp:246:25: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its 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 client.cpp: In member function 'bool CClient::Update()': client.cpp:102:52: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] int c = recv( m_sckClient, gpBuf, GPBUF_SIZE, 0 ); ^ client.cpp:380:52: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] int c = recv( m_sckClient, gpBuf, GPBUF_SIZE, 0 ); ^ client.cpp:447:66: warning: conversion to 'double' from 'std::__cxx11::basic_string::size_type {aka long unsigned int}' may alter its 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:156: 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:94: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its 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:34: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its 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; ^ config.cpp: In function 'void CFG_SetDefaults()': config.cpp:474:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 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 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; ^ 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 sort.cpp: In function 'int asortpByConnected(const void*, const void*)': sort.cpp:264:90: warning: conversion to 'int' from 'long unsigned int' may alter its 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:90: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] return ( (const struct peer_t *)elem2 )->iConnected - ( (const struct peer_t *)elem1 )->iConnected; ^ 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 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:118: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] pResponse->strContent += "Comment " + CAtomInt( i + 1 ).toString( ) + " posted by "; ^ tracker_comments.cpp:387:118: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] pResponse->strContent += " [Delete]"; ^ 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 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 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: At global scope: 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_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_index.cpp: In member function 'void CTracker::serverResponseIndex(request_t*, response_t*)': tracker_index.cpp:414:141: warning: conversion to 'float' from 'int64 {aka long long int}' may alter its 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 to 'float' from 'int64 {aka long long int}' may alter its value [-Wconversion] iPercent = 100 - (int)( ( (float)pTorrents[i].iMaxiLeft / pTorrents[i].iSize ) * 100 ); ^ tracker_index.cpp:1295:76: warning: conversion to 'float' from 'int64 {aka long long int}' may alter its value [-Wconversion] iPercent = (int)( ( (float)pTorrents[i].iMinLeft / pTorrents[i].iSize ) * 100 ); ^ tracker_index.cpp:1361:82: warning: conversion to 'float' from 'int64 {aka long long int}' may alter its value [-Wconversion] iPercent = 100 - (int)( ( (float)pTorrents[i].iMinLeft / pTorrents[i].iSize ) * 100 ); ^ tracker_index.cpp:1363:77: warning: conversion to 'float' from 'int64 {aka long long int}' may alter its value [-Wconversion] iPercent = (int)( ( (float)pTorrents[i].iMaxiLeft / pTorrents[i].iSize ) * 100 ); ^ tracker_index.cpp:1442:89: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] pResponse->strContent += "strContent += CAtomInt( ( i / m_iPerPage ) + 1 ).toString( ); ^ 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 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 to 'float' from 'int64 {aka long long int}' may alter its value [-Wconversion] iPercent = 100 - (int)( ( (float)pPeersT[leecher_iter].iLeft / iSize ) * 100 ); ^ tracker_stats.cpp:833:68: warning: conversion to 'float' from 'int64 {aka long long int}' may alter its 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_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 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 tracker_users.cpp: In member function 'void CTracker::serverResponseUsers(request_t*, response_t*)': tracker_users.cpp:723:94: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] pResponse->strContent += "strContent += CAtomInt( ( i / m_iUsersPerPage ) + 1 ).toString( ); ^ 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 util.cpp: In function 'void UTIL_AccessLogPrint(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, int, int)': util.cpp:142:74: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] fprintf( gpAccessLog, "[%s -%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ^ util.cpp:142:101: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] fprintf( gpAccessLog, "[%s -%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ^ util.cpp:144:74: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] fprintf( gpAccessLog, "[%s +%02d%02d] ", pTime, abs( timezone / 3600 ) % 60, abs( timezone / 60 ) % 60 ); ^ util.cpp:144:101: warning: conversion to 'int' from 'long int' may alter its 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:66: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] strDate = (string)pTime + " -" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ^ util.cpp:197:105: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] strDate = (string)pTime + " -" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ^ util.cpp:199:66: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] strDate = (string)pTime + " +" + addzero( abs( timezone / 3600 ) % 60 ) + addzero( abs( timezone / 60 ) % 60 ); ^ util.cpp:199:105: warning: conversion to 'int' from 'long int' may alter its 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:66: warning: conversion to 'double' from 'long int' may alter its 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:15: warning: conversion to 'char' from 'unsigned int' may alter its value [-Wconversion] strString += c; ^ util.cpp: In function 'std::__cxx11::string UTIL_SecondsToString(long unsigned int)': util.cpp:463:22: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] int iM = iSeconds % 60; ^ util.cpp:465:22: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] int iH = iSeconds % 24; ^ util.cpp:467:11: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] int iD = iSeconds; ^ util.cpp: In function 'std::__cxx11::string UTIL_StringToHash(const string&)': util.cpp:607:11: warning: conversion to 'char' from 'unsigned int' may alter its value [-Wconversion] strHash += c; ^ util.cpp: In function 'std::__cxx11::string UTIL_ToLower(std::__cxx11::string)': util.cpp:777:15: warning: conversion to 'char' from 'int' may alter its 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:109:15: warning: unused parameter 'argc' [-Wunused-parameter] int main( int argc, char *argv[] ) ^ bnbt.cpp:109:32: 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 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:42: 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:27: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if( abs( timezone / 3600 ) % 60 < 10 ) ^ tracker.cpp:755:44: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] strDate += CAtomInt( abs( timezone / 3600 ) % 60 ).toString( ); ^ tracker.cpp:757:25: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if( abs( timezone / 60 ) % 60 < 10 ) ^ tracker.cpp:760:42: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] strDate += CAtomInt( abs( timezone / 60 ) % 60 ).toString( ); ^ tracker.cpp:882:98: warning: conversion to 'int' from 'long unsigned int' may alter its 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 between signed and unsigned integer expressions [-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 to 'int' from 'long unsigned int' may alter its value [-Wconversion] pList->addItem( new CAtomInt( iSeeders ) ); ^ tracker.cpp:1932:45: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] pList->addItem( new CAtomInt( iLeechers ) ); ^ tracker.cpp:1933:46: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] pList->addItem( new CAtomInt( iCompleted ) ); ^ tracker.cpp: At global scope: tracker.cpp:1984:60: warning: unused parameter 'pRequest' [-Wunused-parameter] void CTracker :: serverResponseNotFound( struct request_t *pRequest, struct response_t *pResponse ) ^ tracker.cpp:2006:58: warning: unused parameter 'pRequest' [-Wunused-parameter] void CTracker :: serverResponseRobots( struct request_t *pRequest, struct response_t *pResponse ) ^ 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 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 '/wrkdirs/net-p2p/bnbt/20060727-bnbt85-src' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for bnbt-8.5_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/net-p2p/bnbt/20060727-bnbt85-src/bnbt /wrkdirs/net-p2p/bnbt/stage/usr/local/bin/bnbt /bin/mkdir -p /wrkdirs/net-p2p/bnbt/stage/usr/local/share/doc/bnbt install -m 0644 /wrkdirs/net-p2p/bnbt/20060727-bnbt85-src/footer.html /wrkdirs/net-p2p/bnbt/stage/usr/local/share/doc/bnbt install -m 0644 /wrkdirs/net-p2p/bnbt/20060727-bnbt85-src/header.html /wrkdirs/net-p2p/bnbt/stage/usr/local/share/doc/bnbt /usr/bin/touch /wrkdirs/net-p2p/bnbt/stage/var/log/bnbt/.keep /usr/bin/touch /wrkdirs/net-p2p/bnbt/stage/usr/local/etc/bnbt/.keep ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===> Building package for bnbt-8.5_2 file sizes/checksums [6]: . done packing files [6]: . done packing directories [1]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for bnbt-8.5_2 build of net-p2p/bnbt ended at Tue Oct 4 15:22:29 PDT 2016 build time: 00:00:57