* Package: net-analyzer/pchar-1.5-r1 * Repository: gentoo * Maintainer: chutzpah@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pchar-1.5.tar.gz to /var/tmp/portage/net-analyzer/pchar-1.5-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/pchar-1.5-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/pchar-1.5-r1/work/pchar-1.5 ... * Applying pchar-1.5-snmp.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/pchar-1.5-r1/work/pchar-1.5' ... * Running autoconf ... [ ok ] * Running elibtoolize in: pchar-1.5/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/pchar-1.5-r1/work/pchar-1.5 ... * econf: updating pchar-1.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating pchar-1.5/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --without-suid --with-ipv6 --without-snmp --without-pcap loading site script /usr/share/config.site creating cache ./config.cache checking host system type... x86_64-pc-linux-gnu checking for mawk... no checking for gawk... gawk checking for c++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler (x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed) works... yes checking whether the C++ compiler (x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for a BSD compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking for pchar version number... 1.5 checking echo functionality... BSD-style checking size of bool... 1 checking for socklen_t... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ANSI C header files... yes checking for unistd.h... yes checking for strings.h... yes checking if sockaddr struct has sa_len member... no checking for gethostbyname... yes checking for socket... yes checking for putmsg in -lstr... no checking for herror... yes checking for snprintf... yes checking for log in -lm... yes checking for IPv6 support... yes checking for inet_pton in -linet6... no checking for UCD SNMP support... no checking for LBL pcap support... no checking for SUID root build... no checking for OS-specific requirements... none updating cache ./config.cache creating ./config.status creating Makefile creating Makefile.depend >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/pchar-1.5-r1/work/pchar-1.5 ... make -j1 x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c main.cc -o main.o In file included from PctestIpv4Udp.h:40:0, from main.cc:50: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ In file included from PctestIpv6Icmp.h:44:0, from main.cc:56: PctestIpv6.h: In member function ‘virtual char* PctestIpv6::GetAddressFamilyString()’: PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET6"; } ^~~~~~~~~~ main.cc: In function ‘char* GetPrintableNetworkProtocol(NetworkProtocolType)’: main.cc:299:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("UDP/IPv4"); ^ main.cc:302:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("UDP/IPv4 (raw sockets)"); ^ main.cc:305:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("TCP/IPv4 (raw sockets)"); ^ main.cc:308:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("ICMP/IPv4 (raw sockets)"); ^ main.cc:311:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("IPv4 save file"); ^ main.cc:315:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("ICMPv6/IPv6"); ^ main.cc:318:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("TCP/IPv6"); ^ main.cc:321:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("UDP/IPv6"); ^ main.cc:324:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("IPv6 save file"); ^ main.cc:328:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] return("unknown network protocol"); ^ main.cc: In function ‘int main(int, char**)’: main.cc:374:71: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=] fprintf(stderr, "Warning: burst size %d too small; resetting to 1\n"); ^ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c Kendall.cc -o Kendall.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c Pctest.cc -o Pctest.o x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c PctestIpv4.cc -o PctestIpv4.o In file included from PctestIpv4.cc:31:0: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c PctestIpv4File.cc -o PctestIpv4File.o In file included from PctestIpv4File.h:40:0, from PctestIpv4File.cc:31: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c PctestIpv4Udp.cc -o PctestIpv4Udp.o In file included from PctestIpv4Udp.h:40:0, from PctestIpv4Udp.cc:30: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c PctestIpv4Raw.cc -o PctestIpv4Raw.o In file included from PctestIpv4Udp.h:40:0, from PctestIpv4Raw.h:40, from PctestIpv4Raw.cc:34: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c PctestIpv4Tcp.cc -o PctestIpv4Tcp.o In file included from PctestIpv4Tcp.h:40:0, from PctestIpv4Tcp.cc:34: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c PctestIpv4Icmp.cc -o PctestIpv4Icmp.o In file included from PctestIpv4Icmp.h:40:0, from PctestIpv4Icmp.cc:33: PctestIpv4.h: In member function ‘virtual char* PctestIpv4::GetAddressFamilyString()’: PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -c ResultTable.cc -o ResultTable.o ResultTable.cc: In constructor ‘ResultTable::ResultTable(unsigned int, unsigned int, unsigned int, unsigned int)’: ResultTable.cc:47:34: warning: non-constant array new length must be specified without parentheses around the type-id [-Wvla] data = new (double *[columns]); ^ ResultTable.cc: In member function ‘void ResultTable::lmsint(double&, double&, double&)’: ResultTable.cc:916:26: error: call of overloaded ‘abs(unsigned int)’ is ambiguous currentintercept)); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:75:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/stdlib.h:36, from ResultTable.cc:18: /usr/include/stdlib.h:722:12: note: candidate: int abs(int) extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:77:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/stdlib.h:36, from ResultTable.cc:18: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) abs(long __i) { return __builtin_labs(__i); } ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) abs(long long __x) { return __builtin_llabs (__x); } ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) abs(double __x) ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) abs(float __x) ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) abs(long double __x) ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:84:3: note: candidate: constexpr __int128 std::abs(__int128) abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:102:3: note: candidate: constexpr __float128 std::abs(__float128) abs(__float128 __x) ^~~ ResultTable.cc:933:39: error: call of overloaded ‘abs(unsigned int)’ is ambiguous ys[l] = abs(partialmins[i] - mediany); ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:75:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/stdlib.h:36, from ResultTable.cc:18: /usr/include/stdlib.h:722:12: note: candidate: int abs(int) extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/cstdlib:77:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/stdlib.h:36, from ResultTable.cc:18: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:56:3: note: candidate: long int std::abs(long int) abs(long __i) { return __builtin_labs(__i); } ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:61:3: note: candidate: long long int std::abs(long long int) abs(long long __x) { return __builtin_llabs (__x); } ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:70:3: note: candidate: constexpr double std::abs(double) abs(double __x) ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:74:3: note: candidate: constexpr float std::abs(float) abs(float __x) ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:78:3: note: candidate: constexpr long double std::abs(long double) abs(long double __x) ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:84:3: note: candidate: constexpr __int128 std::abs(__int128) abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/include/g++-v7/bits/std_abs.h:102:3: note: candidate: constexpr __float128 std::abs(__float128) abs(__float128 __x) ^~~ make: *** [Makefile:291: ResultTable.o] Error 1 * ERROR: net-analyzer/pchar-1.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/pchar-1.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/pchar-1.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:pchar-1.5-r1:20171122-121213.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/pchar-1.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/pchar-1.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/pchar-1.5-r1/work/pchar-1.5' * S: '/var/tmp/portage/net-analyzer/pchar-1.5-r1/work/pchar-1.5'