Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236329 - net-proxy/squid-3.0.8 doesn't compile
Summary: net-proxy/squid-3.0.8 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 07:17 UTC by Migo
Modified: 2008-09-14 09:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/net-proxy/squid-3.0.8/temp/environment (environment,131.51 KB, text/plain)
2008-09-01 07:28 UTC, Migo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Migo 2008-09-01 07:17:44 UTC
Squid 3.0.8 doesn't compile:


[ebuild     U ] net-proxy/squid-3.0.8 [2.7.4-r1] USE="logrotate pam snmp ssl zero-penalty-hit -icap-client% (-ipf-transparent) -ldap -nis (-pf-transparent) -qos -radius% -samba -sasl (-selinux)" 0 kB


emerge finish at:
(...)
depbase=`echo client_db.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include   -I/usr/include/libxml2  -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments  -D_REENTRANT -m64 -march=native -O2 -pipe -fomit-frame-pointer -MT client_db.o -MD -MP -MF $depbase.Tpo -c -o client_db.o client_db.cc &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo client_side.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include   -I/usr/include/libxml2  -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments  -D_REENTRANT -m64 -march=native -O2 -pipe -fomit-frame-pointer -MT client_side.o -MD -MP -MF $depbase.Tpo -c -o client_side.o client_side.cc &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo client_side_reply.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I../include -I. -I. -I../include -I../include -I../lib/libTrie/include   -I/usr/include/libxml2  -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments  -D_REENTRANT -m64 -march=native -O2 -pipe -fomit-frame-pointer -MT client_side_reply.o -MD -MP -MF $depbase.Tpo -c -o client_side_reply.o client_side_reply.cc &&\
        mv -f $depbase.Tpo $depbase.Po
cc1plus: warnings being treated as errors
client_side_reply.cc: In member function 'void clientReplyContext::doGetMoreData()':
client_side_reply.cc:1555: error: suggest parentheses around && within ||
client_side_reply.cc:1572: error: suggest parentheses around && within ||
make[3]: *** [client_side_reply.o] Error 1
Comment 1 Migo 2008-09-01 07:28:22 UTC
Created attachment 164200 [details]
/var/tmp/portage/net-proxy/squid-3.0.8/temp/environment

I attached my /var/tmp/portage/net-proxy/squid-3.0.8/temp/environment file report from bad compilation
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-09-14 09:19:14 UTC
Fixed in 3.0.9.

The old zph patch had this problem, so I've updated it to the last version available on http://zph.bratcheda.org (http://zph.bratcheda.org/squid-3.0.STABLE8-zph.patch).