Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 14:56:51 GMT
From:      pkg-fallout@FreeBSD.org
To:        squat@squat.no
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 10amd64-quarterly][net-mgmt/tcptrack] Failed for tcptrack-1.3.0 in build
Message-ID:  <201410021456.s92Eup8g054716@beefy2.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     squat@squat.no
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: branches/2014Q2/net-mgmt/tcptrack/Makefile 340722 2014-01-22 17:00:46Z mat $
Log URL:        http://beefy2.isc.freebsd.org/data/10amd64-quarterly/2014-10-02_02h45m45s/logs/tcptrack-1.3.0.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=10amd64-quarterly&build=2014-10-02_02h45m45s
Log:

====>> Building net-mgmt/tcptrack
build started at Thu Oct  2 14:56:42 UTC 2014
port directory: /usr/ports/net-mgmt/tcptrack
building for: FreeBSD 10amd64-quarterly-job-23 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 amd64
maintained by: squat@squat.no
Makefile ident:      $FreeBSD: branches/2014Q2/net-mgmt/tcptrack/Makefile 340722 2014-01-22 17:00:46Z mat $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1000510

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p9
UNAME_r=10.0-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/10amd64-quarterly/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=tcptrack-1.3.0
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/10amd64-quarterly/ref/.p/pool
MASTERNAME=10amd64-quarterly
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/tcptrack"
EXAMPLESDIR="share/examples/tcptrack"
DATADIR="share/tcptrack"
WWWDIR="www/tcptrack"
ETCDIR="etc/tcptrack"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/tcptrack
DOCSDIR=/usr/local/share/doc/tcptrack
EXAMPLESDIR=/usr/local/share/examples/tcptrack
WWWDIR=/usr/local/www/tcptrack
ETCDIR=/usr/local/etc/tcptrack
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
#WITH_PKGNG=devel
# clean-restricted ran via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   tcptrack-1.3.0 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.7_4.txz
Installing pkg-1.2.7_4... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of tcptrack-1.3.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by tcptrack-1.3.0 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by tcptrack-1.3.0 for building
=> SHA256 Checksum OK for tcptrack-1.3.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by tcptrack-1.3.0 for building
===>  Extracting for tcptrack-1.3.0
=> SHA256 Checksum OK for tcptrack-1.3.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for tcptrack-1.3.0
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for tcptrack-1.3.0
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.3.0/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.3.0/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 a BSD-compatible install... /usr/bin/install -c -o root -g wheel
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 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 whether byte ordering is bigendian... no
checking if we need -pthread for threads... no
checking for socket in -lsocket... no
checking for gethostbyname in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for inet_addr in -lnsl... no
checking for initscr in -lncurses... yes
checking for pcap_open_live in -lpcap... yes
checking for pthread_create in -lpthread... yes
checking for nanosleep in -lrt... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking pcap/pcap.h usability... yes
checking pcap/pcap.h presence... yes
checking for pcap/pcap.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking hash_map usability... no
checking hash_map presence... no
checking for hash_map... no
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... (cached) yes
checking if the __gnu_cxx namespace exists... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for tcptrack-1.3.0
/usr/bin/make  all-recursive
Making all in src
c++ -DHAVE_CONFIG_H -I. -I..      -O2 -pipe -fno-strict-aliasing -MT Collector.o -MD -MP -MF .deps/Collector.Tpo -c -o Collector.o Collector.cc
In file included from Collector.cc:23:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:38:
/usr/include/c++/v1/ext/hash_map:209:2: warning: Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map> [-W#warnings]
#warning Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map>
 ^
In file included from Collector.cc:23:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:40:
./headers.h:103:13: warning: 'TH_FLAGS' macro redefined
    #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
            ^
/usr/include/netinet/tcp.h:72:9: note: previous definition is here
#define TH_FLAGS        (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
        ^
2 warnings generated.
mv -f .deps/Collector.Tpo .deps/Collector.Po
c++ -DHAVE_CONFIG_H -I. -I..      -O2 -pipe -fno-strict-aliasing -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
In file included from main.cc:29:
In file included from ./TCContainer.h:33:
/usr/include/c++/v1/ext/hash_map:209:2: warning: Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map> [-W#warnings]
#warning Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map>
 ^
In file included from main.cc:29:
In file included from ./TCContainer.h:35:
./headers.h:103:13: warning: 'TH_FLAGS' macro redefined
    #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
            ^
/usr/include/netinet/tcp.h:72:9: note: previous definition is here
#define TH_FLAGS        (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
        ^
In file included from main.cc:29:
In file included from ./TCContainer.h:37:
./Guesser.h:42:6: warning: expression result unused [-Wunused-value]
                rv >> 4;
                ~~ ^  ~
In file included from main.cc:29:
./TCContainer.h:81:6: warning: expression result unused [-Wunused-value]
                rv >> 4;
                ~~ ^  ~
4 warnings generated.
mv -f .deps/main.Tpo .deps/main.Po
c++ -DHAVE_CONFIG_H -I. -I..      -O2 -pipe -fno-strict-aliasing -MT TCContainer.o -MD -MP -MF .deps/TCContainer.Tpo -c -o TCContainer.o TCContainer.cc
In file included from TCContainer.cc:28:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:38:
/usr/include/c++/v1/ext/hash_map:209:2: warning: Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map> [-W#warnings]
#warning Use of the header <ext/hash_map> is deprecated.  Migrate to <unordered_map>
 ^
In file included from TCContainer.cc:28:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:40:
./headers.h:103:13: warning: 'TH_FLAGS' macro redefined
    #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
            ^
/usr/include/netinet/tcp.h:72:9: note: previous definition is here
#define TH_FLAGS        (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
        ^
In file included from TCContainer.cc:30:
In file included from ./TCContainer.h:37:
./Guesser.h:42:6: warning: expression result unused [-Wunused-value]
                rv >> 4;
                ~~ ^  ~
In file included from TCContainer.cc:30:
./TCContainer.h:81:6: warning: expression result unused [-Wunused-value]
                rv >> 4;
                ~~ ^  ~
TCContainer.cc:55:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                throw GenericError("pthread_attr_init() failed");
                                   ^
TCContainer.cc:60:22: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                throw GenericError("pthread_create() failed.");
                                   ^
In file included from TCContainer.cc:28:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:38:
/usr/include/c++/v1/ext/hash_map:268:17: error: no matching function for call to object of type 'const TCCEqFunc'
        {return static_cast<const _Pred&>(*this)(__x.first, __y.first);}
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__hash_table:1579:32: note: in instantiation of member function '__gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>::operator()' requested here
                               key_eq()(__cp->__value_, __np->__next_->__value_);
                               ^
/usr/include/c++/v1/__hash_table:1528:9: note: in instantiation of member function 'std::__1::__hash_table<std::__1::pair<SocketPair4, TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::__1::pair<SocketPair4, TCPConnection *>, TCCHashFunc, true>, __gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>, std::__1::allocator<std::__1::pair<SocketPair4, TCPConnection *> > >::__rehash' requested here
        __rehash(__n);
        ^
/usr/include/c++/v1/ext/hash_map:522:52: note: in instantiation of member function 'std::__1::__hash_table<std::__1::pair<SocketPair4, TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::__1::pair<SocketPair4, TCPConnection *>, TCCHashFunc, true>, __gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>, std::__1::allocator<std::__1::pair<SocketPair4, TCPConnection *> > >::rehash' requested here
    _LIBCPP_INLINE_VISIBILITY hash_map() {__table_.rehash(193);}
                                                   ^
TCContainer.cc:42:14: note: in instantiation of member function '__gnu_cxx::hash_map<SocketPair4, TCPConnection *, TCCHashFunc, TCCEqFunc, std::__1::allocator<std::__1::pair<const SocketPair4, TCPConnection *> > >::hash_map' requested here
TCContainer::TCContainer()
             ^
./TCContainer.h:61:7: note: candidate function not viable: 'this' argument has type 'const TCCEqFunc', but method is not marked const
        bool operator()( const SocketPair4 &sp1, const SocketPair4 &sp2 ) 
             ^
In file included from TCContainer.cc:28:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:38:
/usr/include/c++/v1/ext/hash_map:274:17: error: no matching function for call to object of type 'const TCCEqFunc'
        {return static_cast<const _Pred&>(*this)(__x.first, __y);}
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__hash_table:1610:21: note: in instantiation of member function '__gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>::operator()' requested here
                if (key_eq()(__nd->__value_, __k))
                    ^
/usr/include/c++/v1/__hash_table:1834:20: note: in instantiation of function template specialization 'std::__1::__hash_table<std::__1::pair<SocketPair4, TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::__1::pair<SocketPair4, TCPConnection *>, TCCHashFunc, true>, __gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>, std::__1::allocator<std::__1::pair<SocketPair4, TCPConnection *> > >::find<SocketPair4>' requested here
    iterator __i = find(__k);
                   ^
/usr/include/c++/v1/ext/hash_map:597:26: note: in instantiation of function template specialization 'std::__1::__hash_table<std::__1::pair<SocketPair4, TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::__1::pair<SocketPair4, TCPConnection *>, TCCHashFunc, true>, __gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>, std::__1::allocator<std::__1::pair<SocketPair4, TCPConnection *> > >::__equal_range_unique<SocketPair4>' requested here
        {return __table_.__equal_range_unique(__k);}
                         ^
TCContainer.cc:122:69: note: in instantiation of member function '__gnu_cxx::hash_map<SocketPair4, TCPConnection *, TCCHashFunc, TCCEqFunc, std::__1::allocator<std::__1::pair<const SocketPair4, TCPConnection *> > >::equal_range' requested here
        pair<tccmap::const_iterator, tccmap::const_iterator> pr = conhash2.equal_range(sp);
                                                                           ^
./TCContainer.h:61:7: note: candidate function not viable: 'this' argument has type 'const TCCEqFunc', but method is not marked const
        bool operator()( const SocketPair4 &sp1, const SocketPair4 &sp2 ) 
             ^
In file included from TCContainer.cc:28:
In file included from ./TCPConnection.h:29:
In file included from ./util.h:38:
In file included from /usr/include/c++/v1/ext/hash_map:203:
/usr/include/c++/v1/__hash_table:1374:21: error: no matching function for call to object of type 'key_equal' (aka '__gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>')
                if (key_eq()(__nd->__value_, __x))
                    ^~~~~~~~
/usr/include/c++/v1/ext/hash_map:563:26: note: in instantiation of member function 'std::__1::__hash_table<std::__1::pair<SocketPair4, TCPConnection *>, __gnu_cxx::__hash_map_hasher<std::__1::pair<SocketPair4, TCPConnection *>, TCCHashFunc, true>, __gnu_cxx::__hash_map_equal<std::__1::pair<SocketPair4, TCPConnection *>, TCCEqFunc, true>, std::__1::allocator<std::__1::pair<SocketPair4, TCPConnection *> > >::__insert_unique' requested here
        {return __table_.__insert_unique(__x);}
                         ^
TCContainer.cc:137:12: note: in instantiation of member function '__gnu_cxx::hash_map<SocketPair4, TCPConnection *, TCCHashFunc, TCCEqFunc, std::__1::allocator<std::__1::pair<const SocketPair4, TCPConnection *> > >::insert' requested here
                conhash2.insert(tccmap::value_type(sp,newcon));
                         ^
/usr/include/c++/v1/ext/hash_map:270:10: note: candidate function not viable: no known conversion from 'value_type' (aka 'std::__1::pair<SocketPair4, TCPConnection *>') to 'const typename pair<SocketPair4, TCPConnection *>::first_type' (aka 'const SocketPair4') for 1st argument
    bool operator()(const typename _Tp::first_type& __x, const _Tp& __y) const
         ^
/usr/include/c++/v1/ext/hash_map:273:10: note: candidate function not viable: no known conversion from 'const value_type' (aka 'const std::__1::pair<SocketPair4, TCPConnection *>') to 'const typename pair<SocketPair4, TCPConnection *>::first_type' (aka 'const SocketPair4') for 2nd argument
    bool operator()(const _Tp& __x, const typename _Tp::first_type& __y) const
         ^
/usr/include/c++/v1/ext/hash_map:276:10: note: candidate function not viable: no known conversion from 'value_type' (aka 'std::__1::pair<SocketPair4, TCPConnection *>') to 'const typename pair<SocketPair4, TCPConnection *>::first_type' (aka 'const SocketPair4') for 1st argument
    bool operator()(const typename _Tp::first_type& __x,
         ^
6 warnings and 3 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.3.0/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.3.0
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.3.0
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/tcptrack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410021456.s92Eup8g054716>