AW: AW: [squid-users] Squid 3.1.0.11 beta is available

From: Zeller, Jan <jan.zeller_at_id.unibe.ch>
Date: Mon, 20 Jul 2009 14:41:00 +0200

Hi Amos,

thank you very much for your patch ! Great !
Applied it like this :

$ patch -p0 < b9052.patch
patching file src/client_side.cc
Hunk #1 succeeded at 2222 (offset 81 lines).

$ make && make install - this time is successful but now I get :

squid-3.1.0.11/sbin# ./squid -k check -f /etc/squid3/squid.conf-3.1.0.11
2009/07/20 14:38:43| assertion failed: mem.cc:236: "size == StrPoolsAttrs[i].obj_size"
Aborted

Any ideas ?

kind regards,

Jan

-----Ursprüngliche Nachricht-----
Von: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Gesendet: Montag, 20. Juli 2009 12:27
An: Zeller, Jan
Cc: squid-users_at_squid-cache.org
Betreff: Re: AW: [squid-users] Squid 3.1.0.11 beta is available

Zeller, Jan wrote:
> Hi Amos,
>
> tried to compile Squid 3.1.0.11 beta but it unfortunately failed for reasons I ignore :
>
<snip>

> .
> cc1plus: warnings being treated as errors
> client_side.cc: In function 'int connKeepReadingIncompleteRequest(ConnStateData*)':
> client_side.cc:2225: error: comparison between signed and unsigned integer expressions
> depbase=`echo clientStream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid-3.1.0.11/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/opt/squid-3.1.0.11/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/opt/squid-3.1.0.11/etc\" -I.. -I../include -I../src -I../include -I../lib -I../src -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -O2 -MT clientStream.o -MD -MP -MF $depbase.Tpo -c -o clientStream.o clientStream.cc &&\
> mv -f $depbase.Tpo $depbase.Po
> make[3]: *** [client_side.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
<snip>
>
> kind regards,
>
> Jan

Oh dear. It appears this patch was overlooked on the 3.1 merge.
http://www.squid-cache.org/Versions/v3/3.0/changesets/b9052.patch

That has now been fixed.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE16
   Current Beta Squid 3.1.0.10
Received on Mon Jul 20 2009 - 12:42:14 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 21 2009 - 12:00:03 MDT