Kinkie wrote:
Hi Amos,
  All builds on this node are failing on this error. Maybe there is
some broken system header, could you please check it out if you can
spare the time?

Thanks!
   Kinkie

<snip>
mv -f .deps/store_update.Tpo .deps/store_update.Po
gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"<http://build.squid-cache.org/job/2.HEAD-i386-Debian-sid/ws/squid-2.HEAD-CVS/_inst/etc/squid.conf\";>
-I. -I../../src -I../include -I. -I../../src -I../include
-I../../include      -Wall -g -O2 -MT tools.o -MD -MP -MF
.deps/tools.Tpo -c -o tools.o ../../src/tools.c
In file included from /usr/include/sys/capability.h:32,
                 from ../../src/tools.c:50:
/usr/include/linux/capability.h:73: error: expected
specifier-qualifier-list before '__le32'
make[4]: *** [tools.o] Error 1


Debian/Ubuntu now have a fixed version libcap2 which clashes with the hack in Squid tools.cc to cope with broken libcap.

Gentoo hit this earlier and supplied a fix for Squid-3 but it has not yet been ported to Squid-2. The needed upgrade is here:
http://www.squid-cache.org/Versions/v3/3.1/changesets/b9697.patch

NP: I'm working on cleaning it up a little further and call the option --with-cap since its a library dependency not a main feature. Whoever ports may want to follow suit.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
  Current Beta Squid 3.1.0.14

Reply via email to