See <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/1102/changes>
Changes:
[Christos Tsantilas] author: Christos Tsantilas <chtsanti_at_users.sourceforge.net>, Amos Jeffries <squid3_at_treenet.co.nz>
Bug fix: The Ip::Address::IsAnyAddr method return false for IPv4 anyaddr.
- The ip::Address::IsAnyAddr() returns true only for ipv6 anyaddr
(0000:0000:0000:0000:0000:0000:0000:0000) and returns false when we have an
ipv4 anyaddr (0000:0000:0000:0000:0000:FFFF:0000:0000)
- The ip::Address::IsIPv4 method returns false in the case of IPv4 anyaddr.
The above can cause bugs, eg:
- inside Ip::Address::SetIPv4(). When it is called for an IPv6 anyaddr the ip
address will not considred as anyaddr any morei (it IsAnyAddr will return
false).
- inside cache_cf.cc file inside dump_generic_http_port function:
if (s->s.IsAnyAddr() && !s->s.IsIPv6())
storeAppendPrintf(e, " ipv4");
The if condition in the above statement can never be true. But the s->s can
be an ipv4 anyaddr.
- other places where the code will not work as expected in the case we are
listening to an ipv4 anyaddr ip address.
This patch:
- moving the IsIPv4/6 to base purely on the v4-mapped or not
- making both protocols ANYADDR match the same test
- making both protocols NOADDR match the same test
- Fixing the IsIPv4/6 documentation to match the implementation
[Amos Jeffries] Windows: sys_nerr is not available on MinGW.
[Amos Jeffries] squidclient: build errors on Windows
[Amos Jeffries] Windows: merge WIN32_strerror() and wsastrerror() into xstrerr()
[Amos Jeffries] Windows: shuffle win32lib into libcompat
------------------------------------------
[...truncated 4598 lines...]
Making check in wbinfo_group
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in log_daemon
Making check in DB
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in file
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in negotiate_auth
Making check in kerberos
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in wrapper
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in url_rewrite
Making check in fake
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in ntlm_auth
Making check in fake
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in smb_lm
make
make check-TESTS
==================
All 0 tests passed
==================
Making check in src
make check-recursive
Making check in base
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/base" || exit 1
Testing ../../../src/base ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in anyp
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/anyp" || exit 1
Testing ../../../src/anyp ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in comm
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/comm" || exit 1
Testing ../../../src/comm ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in eui
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/eui" || exit 1
Testing ../../../src/eui ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in acl
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/acl" || exit 1
Testing ../../../src/acl ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in format
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/format" || exit 1
Testing ../../../src/format ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in fs
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I../../../src/fs -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" || exit 1
PASS: testHeaders
=============
1 test passed
=============
Making check in repl
make
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I../../../src/repl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" || exit 1
PASS: testHeaders
=============
1 test passed
=============
Making check in auth
Making check in basic
make
make check-TESTS
/usr/local/bin/bash ../../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../../src/auth/basic" || exit 1
Testing ../../../../src/auth/basic ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in ntlm
make
make check-TESTS
/usr/local/bin/bash ../../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../../src/auth/ntlm" || exit 1
Testing ../../../../src/auth/ntlm ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in negotiate
make
make check-TESTS
/usr/local/bin/bash ../../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../../src/auth/negotiate" || exit 1
Testing ../../../../src/auth/negotiate ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in digest
make
make check-TESTS
/usr/local/bin/bash ../../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../../src/auth/digest" || exit 1
Testing ../../../../src/auth/digest ...Ok.
PASS: testHeaders
=============
1 test passed
=============
make
Making all in basic
Making all in ntlm
Making all in negotiate
Making all in digest
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/auth" || exit 1
Testing ../../../src/auth ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in ip
make testIpAddress
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT testAddress.o -MD -MP -MF .deps/testAddress.Tpo -c -o testAddress.o ../../../src/ip/testAddress.cc
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT stub_debug.o -MD -MP -MF .deps/stub_debug.Tpo -c -o stub_debug.o `test -f '../../../src/tests/stub_debug.cc' || echo '../../../src/ip/'`../../../src/tests/stub_debug.cc
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT testMain.o -MD -MP -MF .deps/testMain.Tpo -c -o testMain.o `test -f '../../../src/tests/testMain.cc' || echo '../../../src/ip/'`../../../src/tests/testMain.cc
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT test_tools.o -MD -MP -MF .deps/test_tools.Tpo -c -o test_tools.o `test -f '../../../test-suite/test_tools.cc' || echo '../../../src/ip/'`../../../test-suite/test_tools.cc
mv -f .deps/stub_debug.Tpo .deps/stub_debug.Po
mv -f .deps/test_tools.Tpo .deps/test_tools.Po
mv -f .deps/testMain.Tpo .deps/testMain.Po
mv -f .deps/testAddress.Tpo .deps/testAddress.Po
/usr/local/bin/bash ../../libtool --tag=CXX --mode=link /usr/local/bin/ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -g -L/usr/local/lib -Wl,-R/usr/local/lib -pthread -o testIpAddress testAddress.o stub_debug.o testMain.o test_tools.o libip.la -lm -L../../compat -lcompat-squid -L/usr/local/lib -lcppunit
libtool: link: /usr/local/bin/ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -g -Wl,-R/usr/local/lib -pthread -o testIpAddress testAddress.o stub_debug.o testMain.o test_tools.o -L/usr/local/lib ./.libs/libip.a -lm -L<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/compat> -lcompat-squid /usr/local/lib/libcppunit.so -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
make check-TESTS
/usr/local/bin/bash ../../../test-suite/testheaders.sh "/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include" "../../../src/ip" || exit 1
Testing ../../../src/ip ...Ok.
PASS: testHeaders
stub time| Unable to convert '192.168.100.12' to the rDNS type requested.
.F........F........
testAddress.cc:44:Assertion
Test name: testIpAddress::testDefaults
assertion failed
- Expression: anIPA.IsIPv4()
testAddress.cc:300:Assertion
Test name: testIpAddress::testSetEmpty
assertion failed
- Expression: anIPA.IsIPv4()
Failures !!!
Run: 17 Failure total: 2 Failures: 2 Errors: 0
FAIL: testIpAddress
=================================================
1 of 2 tests failed
Please report to http://www.squid-cache.org/bugs/
=================================================
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 1
1 error
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.opts
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS:
configure: BUILD EXTRA C FLAGS: -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS:
configure: BUILD EXTRA C FLAGS: -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
assertion failed
assertion failed
FAIL: testIpAddress
*** Error code 1
*** Error code 2
*** Error code 1
*** Error code 2
*** Error code 1
*** Error code 1
Build FAILED.
Build step 'Execute shell' marked build as failure
Received on Sun Aug 07 2011 - 10:48:50 MDT
This archive was generated by hypermail 2.2.0 : Sun Aug 07 2011 - 12:00:02 MDT