Re: Fwd: Build failed in Hudson: 2.HEAD-i386-Debian-sid #219

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 13 Oct 2009 22:49:58 +1300

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
Received on Tue Oct 13 2009 - 09:50:39 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 13 2009 - 12:00:06 MDT