Comment 3 for bug 248318

Revision history for this message
Amos Jeffries (yadi) wrote : Re: [Bug 248318] Re: squid 3.0.STABLE6-2 package failing to build.

Michael Bienia wrote:
> I've applied that patch on squid3 3.0.STABLE7-1 (taken from Debian
> unstable) and tried to build it in Ubuntu intrepid. Unfortunately it
> still fails to build with the same error (I checked that the patch got
> really applied):

Darn. Thank you. Looks like we may have to go for a less elegant hack.

Does it work (or at least skip to a later problem) with that patch and
this attached one on top?

Amos

>
> cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I/usr/include -Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -D_REENTRANT -m64 -g -O2 -g -Wall -O2 -c util.c
> cc1: warnings being treated as errors
> util.c: In function 'default_failure_notify':
> util.c:934: error: ignoring return value of 'write', declared with attribute warn_unused_result
> util.c:935: error: ignoring return value of 'write', declared with attribute warn_unused_result
> make[3]: *** [util.o] Error 1
> make[3]: Leaving directory `/tmp/buildd/squid3-3.0.STABLE7/lib'
>
>
> ** Changed in: squid3 (Ubuntu)
> Assignee: (unassigned) => Michael Bienia (geser)
>
> ** Changed in: squid3 (Ubuntu)
> Status: New => Confirmed
>

--
Please use Squid 2.7.STABLE3 or 3.0.STABLE7