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
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
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).