Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 505726 Details for
Bug 638492
net-analyzer/pchar-1.5-r1 : ResultTable.cc:916:26: error: call of overloaded abs(unsigned int) is ambiguous
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:pchar-1.5-r1:20171122-121213.log
net-analyzer:pchar-1.5-r1:20171122-121213.log (text/plain), 15.37 KB, created by
Toralf Förster
on 2017-11-22 18:16:34 UTC
(
hide
)
Description:
net-analyzer:pchar-1.5-r1:20171122-121213.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-11-22 18:16:34 UTC
Size:
15.37 KB
patch
obsolete
> * 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'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 638492
:
505716
|
505718
|
505720
|
505722
|
505724
| 505726 |
505728