Re: [PATCH] TCP logging UDP Logging - Dhaval Varia

2010-04-19 Thread Kinkie
On Thu, Apr 15, 2010 at 6:54 AM, Dhaval Varia dhavalkva...@gmail.com wrote:
 Dear Sir,

 Please find the attached patch file for the

 1. TCP logging (Newly created)   --- modtcp.patch

The patch is not malformed now. I still don't understand the
file-related error messages, so I leave this to someone with more clue
than I do.

 2. UDP logging (Modified)  --- modudpfix.patch

The test reversal seems fine. +1 (I don't understand why adding the
four empty lines in logfile_mod_udp_open(); it clashes with Squid's
coding style guidelines.)


 would you please commit this TCP logging and UDP fix first??

 I will see what to do to handle back pressure later.

Ok by me. It's probably implicitly done if the socket is blocking.


-- 
/kinkie


Re: [PATCH] TCP logging UDP Logging - Dhaval Varia

2010-04-19 Thread Amos Jeffries

Kinkie wrote:

On Thu, Apr 15, 2010 at 6:54 AM, Dhaval Varia dhavalkva...@gmail.com wrote:

Dear Sir,

Please find the attached patch file for the

1. TCP logging (Newly created)   --- modtcp.patch


The patch is not malformed now. I still don't understand the
file-related error messages, so I leave this to someone with more clue
than I do.


Neither. They came in from ModUdp. I suspect they will never happen by 
have not felt keen to remove them as part of this change.





2. UDP logging (Modified)  --- modudpfix.patch


The test reversal seems fine. +1 (I don't understand why adding the
four empty lines in logfile_mod_udp_open(); it clashes with Squid's
coding style guidelines.)



The needed 1-byte change to UDP has been in 3.HEAD for a while now. The 
UDP patch can be ignored now.





would you please commit this TCP logging and UDP fix first??

I will see what to do to handle back pressure later.


Ok by me. It's probably implicitly done if the socket is blocking.



It's a regular comm_open TCP socket. So I think its non-blocking by default.

Buffering is done by the module. But we neglected to increase the buffer 
size yet. I'm bumping it up to 64K on commit in a few minutes.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.1


Build failed in Hudson: 3.HEAD-i386-Debian-sid #214

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-i386-Debian-sid/214/

--
Started by upstream project 3.HEAD-amd64-CentOS-5.3 build number 469
Building remotely on rio.treenet
http://bzr.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://www.squid-cache.org/bzr/squid3/trunk is redirected to 
http://www.squid-cache.org/bzr/squid3/trunk
http://bzr.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
http+urllib://www.squid-cache.org/bzr/squid3/trunk/ is redirected to 
http+urllib://www.squid-cache.org/bzr/squid3/trunk/
bzr: ERROR: Not a branch: http://bzr.squid-cache.org/bzr/squid3/trunk/;.
ERROR: Failed to pull



Build failed in Hudson: 3.HEAD-i386-opensolaris #201

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-i386-opensolaris/201/changes

Changes:

[Amos Jeffries squ...@treenet.co.nz] Author: Dhaval Varia 
dhavalkva...@gmail.com
TCP logging capability

Enable Squid to send log lines to a remote server over TCP.

This permits logging to bypass the failures implicit with UDP packets.

TODO:
* example daemon to receive the log traffic via TCP
* handle TCP failures mid-transaction
* handle full TCP buffers

[Amos Jeffries squ...@treenet.co.nz] Add Ip namespace to stubQosConfig file

TODO: stub seems not to be used now that teh SqudiConfig link is removed.
updatign it and keeping anyway in case future unit tests need it.

[Automatic source maintenance squid...@squid-cache.org] SourceFormat 
Enforcement

--
[...truncated 3423 lines...]
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -I../../../src/fs -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT Module.lo -MD -MP -MF .deps/Module.Tpo -c 
../../../src/fs/Module.cc -o Module.o /dev/null 21
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -I../../../src/fs -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT store_io_ufs.lo -MD -MP -MF 
.deps/store_io_ufs.Tpo -c ../../../src/fs/ufs/store_io_ufs.cc -o store_io_ufs.o 
/dev/null 21
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -I../../../src/fs -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT ufscommon.lo -MD -MP -MF .deps/ufscommon.Tpo -c 
../../../src/fs/ufs/ufscommon.cc -o ufscommon.o /dev/null 21
libtool: link: /usr/gnu/bin/ar cru .libs/libdiskd.a .libs/StoreFSdiskd.o 
libtool: link: ranlib .libs/libdiskd.a
libtool: link: ( cd .libs  rm -f libdiskd.la  ln -s ../libdiskd.la 
libdiskd.la )
mv -f .deps/store_io_ufs.Tpo .deps/store_io_ufs.Plo
mv -f .deps/Module.Tpo .deps/Module.Plo
mv -f .deps/ufscommon.Tpo .deps/ufscommon.Plo
/bin/sh ../../libtool --tag=CXX   --mode=link ccache g++ -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2  -L/usr/local/gcc-libs/lib 
-o libufs.la  StoreFSufs.lo store_dir_ufs.lo store_io_ufs.lo ufscommon.lo  
libtool: link: /usr/gnu/bin/ar cru .libs/libufs.a .libs/StoreFSufs.o 
.libs/store_dir_ufs.o .libs/store_io_ufs.o .libs/ufscommon.o 
libtool: link: ranlib .libs/libufs.a
libtool: link: ( cd .libs  rm -f libufs.la  ln -s ../libufs.la 
libufs.la )
/bin/sh ../../libtool --tag=CXX   --mode=link ccache g++ -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2  -L/usr/local/gcc-libs/lib 
-o libfs.la  Module.lo libaufs.la libdiskd.la libufs.la 
libtool: link: (cd .libs/libfs.lax/libaufs.a  /usr/gnu/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-i386-opensolaris/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libaufs.a;)
libtool: link: (cd .libs/libfs.lax/libdiskd.a  /usr/gnu/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-i386-opensolaris/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libdiskd.a;)
libtool: link: (cd .libs/libfs.lax/libufs.a  /usr/gnu/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-i386-opensolaris/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libufs.a;)
libtool: link: /usr/gnu/bin/ar cru .libs/libfs.a .libs/Module.o   
.libs/libfs.lax/libaufs.a/StoreFSaufs.o  
.libs/libfs.lax/libdiskd.a/StoreFSdiskd.o  
.libs/libfs.lax/libufs.a/StoreFSufs.o .libs/libfs.lax/libufs.a/store_dir_ufs.o 
.libs/libfs.lax/libufs.a/ufscommon.o .libs/libfs.lax/libufs.a/store_io_ufs.o 
libtool: link: ranlib .libs/libfs.a
libtool: link: rm -fr .libs/libfs.lax
libtool: link: ( cd .libs  rm -f libfs.la  ln -s ../libfs.la 
libfs.la )
make[4]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-i386-opensolaris/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs'
Making all in repl
make[4]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-i386-opensolaris/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/repl'
depbase=`echo lru/store_repl_lru.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\
ccache g++ -DHAVE_CONFIG_H  -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -I../../../src/repl  -I/usr/include/gssapi 
-I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT lru/store_repl_lru.o -MD -MP -MF $depbase.Tpo -c 
-o lru/store_repl_lru.o 

Build failed in Hudson: 3.HEAD-amd64-CentOS-5.3 #470

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/470/changes

Changes:

[Amos Jeffries squ...@treenet.co.nz] Author: Dhaval Varia 
dhavalkva...@gmail.com
TCP logging capability

Enable Squid to send log lines to a remote server over TCP.

This permits logging to bypass the failures implicit with UDP packets.

TODO:
* example daemon to receive the log traffic via TCP
* handle TCP failures mid-transaction
* handle full TCP buffers

[Amos Jeffries squ...@treenet.co.nz] Add Ip namespace to stubQosConfig file

TODO: stub seems not to be used now that teh SqudiConfig link is removed.
updatign it and keeping anyway in case future unit tests need it.

--
[...truncated 3658 lines...]
/usr/bin/ar cru liblru.a lru/store_repl_lru.o 
ranlib liblru.a
make[4]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/repl'
Making all in auth
make[4]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo -c -o 
Config.lo ../../../src/auth/Config.cc; \
then mv -f .deps/Config.Tpo .deps/Config.Plo; else rm -f 
.deps/Config.Tpo; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo -c -o 
Scheme.lo ../../../src/auth/Scheme.cc; \
then mv -f .deps/Scheme.Tpo .deps/Scheme.Plo; else rm -f 
.deps/Scheme.Tpo; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo 
-c ../../../src/auth/Config.cc  -fPIC -DPIC -o .libs/Config.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo 
-c ../../../src/auth/Scheme.cc  -fPIC -DPIC -o .libs/Scheme.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo 
-c ../../../src/auth/Scheme.cc -o Scheme.o /dev/null 21
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo 
-c ../../../src/auth/Config.cc -o Config.o /dev/null 21
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT User.lo -MD -MP -MF .deps/User.Tpo -c -o User.lo 
../../../src/auth/User.cc; \
then mv -f .deps/User.Tpo .deps/User.Plo; else rm -f 
.deps/User.Tpo; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT UserRequest.lo -MD -MP -MF .deps/UserRequest.Tpo -c 
-o UserRequest.lo ../../../src/auth/UserRequest.cc; \
then mv -f .deps/UserRequest.Tpo .deps/UserRequest.Plo; else rm -f 
.deps/UserRequest.Tpo; exit 1; fi
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT UserRequest.lo -MD -MP -MF 
.deps/UserRequest.Tpo -c ../../../src/auth/UserRequest.cc  -fPIC -DPIC -o 
.libs/UserRequest.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT User.lo -MD -MP -MF .deps/User.Tpo -c 
../../../src/auth/User.cc  -fPIC -DPIC -o .libs/User.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT User.lo -MD -MP -MF .deps/User.Tpo -c 
../../../src/auth/User.cc -o User.o /dev/null 21
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT UserRequest.lo 

Build failed in Hudson: 3.HEAD-amd64-FreeBSD-7.2 #321

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/321/changes

Changes:

[Amos Jeffries squ...@treenet.co.nz] Author: Dhaval Varia 
dhavalkva...@gmail.com
TCP logging capability

Enable Squid to send log lines to a remote server over TCP.

This permits logging to bypass the failures implicit with UDP packets.

TODO:
* example daemon to receive the log traffic via TCP
* handle TCP failures mid-transaction
* handle full TCP buffers

[Amos Jeffries squ...@treenet.co.nz] Add Ip namespace to stubQosConfig file

TODO: stub seems not to be used now that teh SqudiConfig link is removed.
updatign it and keeping anyway in case future unit tests need it.

[Automatic source maintenance squid...@squid-cache.org] SourceFormat 
Enforcement

--
[...truncated 2634 lines...]
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src  -I../../include 
-I/usr/local/include -I/usr/include  -I/usr/include  -I../../../src/fs  
-I/usr/include  -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT StoreFSufs.lo -MD -MP -MF .deps/StoreFSufs.Tpo -c 
-o StoreFSufs.lo `test -f 'ufs/StoreFSufs.cc' || echo 
'../../../src/fs/'`ufs/StoreFSufs.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include 
-I/usr/include -I../../../src/fs -I/usr/include -I/usr/include -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT 
StoreFSufs.lo -MD -MP -MF .deps/StoreFSufs.Tpo -c 
../../../src/fs/ufs/StoreFSufs.cc  -fPIC -DPIC -o .libs/StoreFSufs.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include 
-I/usr/include -I../../../src/fs -I/usr/include -I/usr/include -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT 
StoreFSufs.lo -MD -MP -MF .deps/StoreFSufs.Tpo -c 
../../../src/fs/ufs/StoreFSufs.cc -o StoreFSufs.o /dev/null 21
mv -f .deps/StoreFSufs.Tpo .deps/StoreFSufs.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src  -I../../include 
-I/usr/local/include -I/usr/include  -I/usr/include  -I../../../src/fs  
-I/usr/include  -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT store_dir_ufs.lo -MD -MP -MF 
.deps/store_dir_ufs.Tpo -c -o store_dir_ufs.lo `test -f 'ufs/store_dir_ufs.cc' 
|| echo '../../../src/fs/'`ufs/store_dir_ufs.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include 
-I/usr/include -I../../../src/fs -I/usr/include -I/usr/include -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT 
store_dir_ufs.lo -MD -MP -MF .deps/store_dir_ufs.Tpo -c 
../../../src/fs/ufs/store_dir_ufs.cc  -fPIC -DPIC -o .libs/store_dir_ufs.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include 
-I/usr/include -I../../../src/fs -I/usr/include -I/usr/include -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT 
store_dir_ufs.lo -MD -MP -MF .deps/store_dir_ufs.Tpo -c 
../../../src/fs/ufs/store_dir_ufs.cc -o store_dir_ufs.o /dev/null 21
mv -f .deps/store_dir_ufs.Tpo .deps/store_dir_ufs.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src  -I../../include 
-I/usr/local/include -I/usr/include  -I/usr/include  -I../../../src/fs  
-I/usr/include  -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments 
-pipe -D_REENTRANT -g -O2 -MT store_io_ufs.lo -MD -MP -MF 
.deps/store_io_ufs.Tpo -c -o store_io_ufs.lo `test -f 'ufs/store_io_ufs.cc' || 
echo '../../../src/fs/'`ufs/store_io_ufs.cc
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include 
-I/usr/include -I../../../src/fs -I/usr/include -I/usr/include -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT 
store_io_ufs.lo -MD -MP -MF .deps/store_io_ufs.Tpo -c 
../../../src/fs/ufs/store_io_ufs.cc  -fPIC -DPIC -o .libs/store_io_ufs.o
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../src -I../../include -I/usr/local/include -I/usr/include 
-I/usr/include -I../../../src/fs -I/usr/include -I/usr/include -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT 
store_io_ufs.lo -MD -MP -MF .deps/store_io_ufs.Tpo -c 
../../../src/fs/ufs/store_io_ufs.cc -o store_io_ufs.o /dev/null 21
mv -f .deps/store_io_ufs.Tpo .deps/store_io_ufs.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include 

Build failed in Hudson: 3.HEAD-i386-OpenBSD-4.5 #317

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-i386-OpenBSD-4.5/317/changes

Changes:

[Amos Jeffries squ...@treenet.co.nz] Author: Dhaval Varia 
dhavalkva...@gmail.com
TCP logging capability

Enable Squid to send log lines to a remote server over TCP.

This permits logging to bypass the failures implicit with UDP packets.

TODO:
* example daemon to receive the log traffic via TCP
* handle TCP failures mid-transaction
* handle full TCP buffers

[Amos Jeffries squ...@treenet.co.nz] Add Ip namespace to stubQosConfig file

TODO: stub seems not to be used now that teh SqudiConfig link is removed.
updatign it and keeping anyway in case future unit tests need it.

[Automatic source maintenance squid...@squid-cache.org] SourceFormat 
Enforcement

--
[...truncated 2631 lines...]
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT StoreFSufs.lo -MD -MP 
-MF .deps/StoreFSufs.Tpo -c ../../../src/fs/ufs/StoreFSufs.cc  -fPIC -DPIC -o 
.libs/StoreFSufs.o
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT StoreFSufs.lo -MD -MP 
-MF .deps/StoreFSufs.Tpo -c ../../../src/fs/ufs/StoreFSufs.cc -o StoreFSufs.o 
/dev/null 21
if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src  -I../../include 
-I/usr/local/include   -I../../../src/fs   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT store_dir_ufs.lo -MD 
-MP -MF .deps/store_dir_ufs.Tpo -c -o store_dir_ufs.lo `test -f 
'ufs/store_dir_ufs.cc' || echo '../../../src/fs/'`ufs/store_dir_ufs.cc;  then 
mv -f .deps/store_dir_ufs.Tpo .deps/store_dir_ufs.Plo; else rm -f 
.deps/store_dir_ufs.Tpo; exit 1; fi
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT store_dir_ufs.lo -MD 
-MP -MF .deps/store_dir_ufs.Tpo -c ../../../src/fs/ufs/store_dir_ufs.cc  -fPIC 
-DPIC -o .libs/store_dir_ufs.o
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT store_dir_ufs.lo -MD 
-MP -MF .deps/store_dir_ufs.Tpo -c ../../../src/fs/ufs/store_dir_ufs.cc -o 
store_dir_ufs.o /dev/null 21
if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src  -I../../include 
-I/usr/local/include   -I../../../src/fs   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT store_io_ufs.lo -MD 
-MP -MF .deps/store_io_ufs.Tpo -c -o store_io_ufs.lo `test -f 
'ufs/store_io_ufs.cc' || echo '../../../src/fs/'`ufs/store_io_ufs.cc;  then mv 
-f .deps/store_io_ufs.Tpo .deps/store_io_ufs.Plo; else rm -f 
.deps/store_io_ufs.Tpo; exit 1; fi
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT store_io_ufs.lo -MD 
-MP -MF .deps/store_io_ufs.Tpo -c ../../../src/fs/ufs/store_io_ufs.cc  -fPIC 
-DPIC -o .libs/store_io_ufs.o
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT store_io_ufs.lo -MD 
-MP -MF .deps/store_io_ufs.Tpo -c ../../../src/fs/ufs/store_io_ufs.cc -o 
store_io_ufs.o /dev/null 21
if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src  -I../../include 
-I/usr/local/include   -I../../../src/fs   -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT ufscommon.lo -MD -MP 
-MF .deps/ufscommon.Tpo -c -o ufscommon.lo `test -f 'ufs/ufscommon.cc' || 
echo '../../../src/fs/'`ufs/ufscommon.cc;  then mv -f .deps/ufscommon.Tpo 
.deps/ufscommon.Plo; else rm -f .deps/ufscommon.Tpo; exit 1; fi
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT ufscommon.lo -MD -MP 
-MF .deps/ufscommon.Tpo -c ../../../src/fs/ufs/ufscommon.cc  -fPIC -DPIC -o 
.libs/ufscommon.o
 ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I/usr/local/include -I../../../src/fs -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -pipe -D_REENTRANT -g -O2 -MT ufscommon.lo -MD -MP 
-MF .deps/ufscommon.Tpo -c ../../../src/fs/ufs/ufscommon.cc 

Build failed in Hudson: 3.HEAD-amd64-CentOS-5.3 #471

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/471/changes

Changes:

[Amos Jeffries squ...@treenet.co.nz] Use Ip namespace in ModTcp

[Amos Jeffries squ...@treenet.co.nz] Author: Dhaval Varia 
dhavalkva...@gmail.com
TCP logging capability

Enable Squid to send log lines to a remote server over TCP.

This permits logging to bypass the failures implicit with UDP packets.

TODO:
* example daemon to receive the log traffic via TCP
* handle TCP failures mid-transaction
* handle full TCP buffers

--
[...truncated 3637 lines...]
rm -fr .libs/libfs.lax/libdiskd.a
mkdir .libs/libfs.lax/libdiskd.a
(cd .libs/libfs.lax/libdiskd.a  /usr/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libdiskd.a)
rm -fr .libs/libfs.lax/libufs.a
mkdir .libs/libfs.lax/libufs.a
(cd .libs/libfs.lax/libufs.a  /usr/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libufs.a)
/usr/bin/ar cru .libs/libfs.a .libs/Module.o  
.libs/libfs.lax/libaufs.a/StoreFSaufs.o  
.libs/libfs.lax/libdiskd.a/StoreFSdiskd.o  
.libs/libfs.lax/libufs.a/StoreFSufs.o .libs/libfs.lax/libufs.a/store_dir_ufs.o 
.libs/libfs.lax/libufs.a/store_io_ufs.o .libs/libfs.lax/libufs.a/ufscommon.o 
ranlib .libs/libfs.a
rm -fr .libs/libfs.lax
creating libfs.la
(cd .libs  rm -f libfs.la  ln -s ../libfs.la libfs.la)
make[4]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs'
Making all in repl
make[4]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/repl'
depbase=`echo lru/store_repl_lru.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H  -I../../.. -I../../../include -I../../../src 
-I../../include   -I../../../src/repl   -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT lru/store_repl_lru.o -MD -MP -MF 
$depbase.Tpo -c -o lru/store_repl_lru.o 
../../../src/repl/lru/store_repl_lru.cc; \
then mv -f $depbase.Tpo $depbase.Po; else rm -f $depbase.Tpo; 
exit 1; fi
rm -f liblru.a
/usr/bin/ar cru liblru.a lru/store_repl_lru.o 
ranlib liblru.a
make[4]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/repl'
Making all in auth
make[4]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo -c -o 
Config.lo ../../../src/auth/Config.cc; \
then mv -f .deps/Config.Tpo .deps/Config.Plo; else rm -f 
.deps/Config.Tpo; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo -c -o 
Scheme.lo ../../../src/auth/Scheme.cc; \
then mv -f .deps/Scheme.Tpo .deps/Scheme.Plo; else rm -f 
.deps/Scheme.Tpo; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo 
-c ../../../src/auth/Scheme.cc  -fPIC -DPIC -o .libs/Scheme.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo 
-c ../../../src/auth/Config.cc  -fPIC -DPIC -o .libs/Config.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo 
-c ../../../src/auth/Config.cc -o Config.o /dev/null 21
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo 
-c ../../../src/auth/Scheme.cc -o Scheme.o /dev/null 21
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT User.lo -MD -MP -MF .deps/User.Tpo -c -o User.lo 
../../../src/auth/User.cc; \
then mv -f .deps/User.Tpo .deps/User.Plo; else rm -f 

Re: /bzr/squid3/trunk/ r10399: Back out the tweak on rev10398.

2010-04-19 Thread Henrik Nordstrom
tor 2010-04-15 klockan 22:19 +1200 skrev Amos Jeffries:
 
 revno: 10399
 committer: Amos Jeffries squ...@treenet.co.nz
 branch nick: trunk
 timestamp: Thu 2010-04-15 22:19:26 +1200
 message:
   Back out the tweak on rev10398.


  globals.cc: globals.h mk-globals-c.awk
 - $(AWK) -f $(srcdir)/mk-globals-c.awk  $(srcdir)/globals.h  $@ || 
 $(RM) -f $@  exit 1
 + $(AWK) -f $(srcdir)/mk-globals-c.awk  $(srcdir)/globals.h  $@ || 
 $(RM) -f $@

Why?

Regards
Henrik



Build failed in Hudson: 3.HEAD-amd64-CentOS-5.3 #472

2010-04-19 Thread noc
See http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/472/changes

Changes:

[Automatic source maintenance squid...@squid-cache.org] SourceFormat 
Enforcement

[Amos Jeffries squ...@treenet.co.nz] Use Ip namespace in ModTcp

--
[...truncated 3637 lines...]
rm -fr .libs/libfs.lax/libdiskd.a
mkdir .libs/libfs.lax/libdiskd.a
(cd .libs/libfs.lax/libdiskd.a  /usr/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libdiskd.a)
rm -fr .libs/libfs.lax/libufs.a
mkdir .libs/libfs.lax/libufs.a
(cd .libs/libfs.lax/libufs.a  /usr/bin/ar x 
http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs/./.libs/libufs.a)
/usr/bin/ar cru .libs/libfs.a .libs/Module.o  
.libs/libfs.lax/libaufs.a/StoreFSaufs.o  
.libs/libfs.lax/libdiskd.a/StoreFSdiskd.o  
.libs/libfs.lax/libufs.a/StoreFSufs.o .libs/libfs.lax/libufs.a/store_dir_ufs.o 
.libs/libfs.lax/libufs.a/store_io_ufs.o .libs/libfs.lax/libufs.a/ufscommon.o 
ranlib .libs/libfs.a
rm -fr .libs/libfs.lax
creating libfs.la
(cd .libs  rm -f libfs.la  ln -s ../libfs.la libfs.la)
make[4]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/fs'
Making all in repl
make[4]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/repl'
depbase=`echo lru/store_repl_lru.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H  -I../../.. -I../../../include -I../../../src 
-I../../include   -I../../../src/repl   -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT lru/store_repl_lru.o -MD -MP -MF 
$depbase.Tpo -c -o lru/store_repl_lru.o 
../../../src/repl/lru/store_repl_lru.cc; \
then mv -f $depbase.Tpo $depbase.Po; else rm -f $depbase.Tpo; 
exit 1; fi
rm -f liblru.a
/usr/bin/ar cru liblru.a lru/store_repl_lru.o 
ranlib liblru.a
make[4]: Leaving directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/repl'
Making all in auth
make[4]: Entering directory 
`http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/auth'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo -c -o 
Config.lo ../../../src/auth/Config.cc; \
then mv -f .deps/Config.Tpo .deps/Config.Plo; else rm -f 
.deps/Config.Tpo; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo -c -o 
Scheme.lo ../../../src/auth/Scheme.cc; \
then mv -f .deps/Scheme.Tpo .deps/Scheme.Plo; else rm -f 
.deps/Scheme.Tpo; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo 
-c ../../../src/auth/Scheme.cc  -fPIC -DPIC -o .libs/Scheme.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo 
-c ../../../src/auth/Config.cc  -fPIC -DPIC -o .libs/Config.o
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Scheme.lo -MD -MP -MF .deps/Scheme.Tpo 
-c ../../../src/auth/Scheme.cc -o Scheme.o /dev/null 21
 g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../src 
-I../../include -I../../../src/auth -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -pipe -D_REENTRANT -g -O2 -MT Config.lo -MD -MP -MF .deps/Config.Tpo 
-c ../../../src/auth/Config.cc -o Config.o /dev/null 21
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT User.lo -MD -MP -MF .deps/User.Tpo -c -o User.lo 
../../../src/auth/User.cc; \
then mv -f .deps/User.Tpo .deps/User.Plo; else rm -f 
.deps/User.Tpo; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H  
-I../../.. -I../../../include -I../../../src -I../../include   
-I../../../src/auth   -Wall -Wpointer-arith -Wwrite-strings -Wcomments -pipe 
-D_REENTRANT -g -O2 -MT UserRequest.lo -MD -MP -MF