Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] squid 3.1.18 build failure
Date: Mon, 26 Dec 2011 09:17:47
Message-Id: CAC=wYCGYDfFOcUPc5gfu_NYqmJTYy+UONefMQ-6Y9bAus2bOnA@mail.gmail.com
1 System is mostly amd64, but gcc and squid are ~amd64.
2
3 The error appears to be at;
4 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H
5 -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\"
6 -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\"
7 -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../src
8 -I../include -I../src -Wall -Wpointer-arith -Wwrite-strings
9 -Wcomments -D_REENTRANT -m64 -march=amdfam10 -mcx16 -msahf -mpopcnt
10 -mabm -O2 -pipe -c -o store.o store.cc
11 store.cc: In member function ‘void StoreEntry::deferProducer(const
12 AsyncCall::Pointer&)’:
13 store.cc:376:232: error: no match for ‘operator<<’ in ‘std::operator<<
14 [with _Traits =
15 std::char_traits<char>](((std::basic_ostream<char>&)((std::ostream*)operator<<(((std::ostream&)((std::basic_ostream<char>*)std::operator<<
16 [with _Traits =
17 std::char_traits<char>](((std::basic_ostream<char>&)((std::basic_ostream<char>*)std::operator<<
18 [with _Traits =
19 std::char_traits<char>](((std::basic_ostream<char>&)((std::basic_ostream<char>*)std::operator<<
20 [with _Traits =
21 std::char_traits<char>](((std::basic_ostream<char>&)((std::basic_ostream<char>*)std::operator<<
22 [with _Traits =
23 std::char_traits<char>](((std::basic_ostream<char>&)((std::basic_ostream<char>*)((std::basic_ostream<char>*)std::operator<<
24 [with _Traits =
25 std::char_traits<char>](((std::basic_ostream<char>&)((std::basic_ostream<char>*)std::operator<<
26 [with _Traits =
27 std::char_traits<char>](((std::basic_ostream<char>&)((std::ostream*)Debug::getDebugOut())),
28 ((const char*)"store.cc")))), ((const
29 char*)"(")))->std::basic_ostream<_CharT, _Traits>::operator<< [with
30 _CharT = char, _Traits = std::char_traits<char>](377))), ((const
31 char*)") ")))), ((const char*)(& __FUNCTION__))))), ((const char*)":
32 ")))), ((const char*)"Deferred producer call is allready set to:
33 ")))), ((AsyncCall&)((AsyncCall*)((StoreEntry*)this)->StoreEntry::deferredProducer.RefCount<C>::operator*
34 [with C = AsyncCall]()))))), ((const char*)", requested call: ")) <<
35 ((const AsyncCall::Pointer*)producer)->RefCount<C>::operator* [with C
36 = AsyncCall]()’
37 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4/ostream:108:7:
38 note: candidates are: std::basic_ostream<_CharT,
39 _Traits>::__ostream_type& std::basic_ostream<_CharT,
40 _Traits>::operator<<(std::basic_ostream<_CharT,
41 _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT,
42 _Traits>::__ostream_type&)) [with _CharT = char, _Traits =
43 std::char_traits<char>, std::basic_ostream<_CharT,
44 _Traits>::__ostream_type = std::basic_ostream<char>]
45 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4/ostream:117:7:
46 note: std::basic_ostream<_CharT,
47 _Traits>::__ostream_type& std::basic_ostream<_CharT,
48 _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type&
49 (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT =
50 char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT,
51 _Traits>::__ostream_type = std::basic_ostream<char>,
52 std::basic_ostream<_CharT, _Traits>::__ios_type =
53 std::basic_ios<char>]
54 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4/ostream:127:7:
55 note: std::basic_ostream<_CharT,
56 _Traits>::__ostream_type& std::basic_ostream<_CharT,
57 _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT
58 = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT,
59 _Traits>::__ostream_type = std::basic_ostream<char>]
60 etc
61
62 I tried pulling MAKEOPTS back to -j1 - no difference. Any ideas or
63 should I just log a bug?
64
65 emerge -pv shows;
66
67 Calculating dependencies... done!
68 [ebuild U ~] net-proxy/squid-3.1.18 [3.1.16] USE="ecap epoll ipv6
69 logrotate mysql pam snmp sqlite ssl -caps -icap-client
70 (-ipf-transparent) -kerberos (-kqueue) -ldap -nis (-pf-transparent)
71 -postgres -radius -samba -sasl (-selinux) -test -tproxy
72 -zero-penalty-hit" 0 kB
73
74 Total: 1 package (1 upgrade), Size of downloads: 0 kB

Replies

Subject Author
Re: [gentoo-user] squid 3.1.18 build failure Zhu Sha Zang <zhushazang@×××××××××.br>
[gentoo-user] Re: squid 3.1.18 build failure Holger Hoffstaette <holger.hoffstaette@××××××××××.com>