See <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/155/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 4338 lines...]
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
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/base" || exit 1
Testing ../../../src/base ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in anyp
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/anyp" || exit 1
Testing ../../../src/anyp ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in comm
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/comm" || exit 1
Testing ../../../src/comm ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in eui
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/eui" || exit 1
Testing ../../../src/eui ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in acl
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/acl" || exit 1
Testing ../../../src/acl ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in format
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/format" || exit 1
Testing ../../../src/format ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in fs
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -I../../../src/fs -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " || exit 1
PASS: testHeaders
=============
1 test passed
=============
Making check in repl
make
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -I../../../src/repl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " || exit 1
PASS: testHeaders
=============
1 test passed
=============
Making check in auth
Making check in basic
make
make check-TESTS
/bin/sh ../../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I../../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../../src/auth/basic" || exit 1
Testing ../../../../src/auth/basic ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in ntlm
make
make check-TESTS
/bin/sh ../../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I../../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../../src/auth/ntlm" || exit 1
Testing ../../../../src/auth/ntlm ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in negotiate
make
make check-TESTS
/bin/sh ../../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I../../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../../src/auth/negotiate" || exit 1
Testing ../../../../src/auth/negotiate ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in digest
make
make check-TESTS
/bin/sh ../../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include -I/usr/local/include -I../../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../../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
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../src/auth" || exit 1
Testing ../../../src/auth ...Ok.
PASS: testHeaders
=============
1 test passed
=============
Making check in ip
make testIpAddress
ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -MT testAddress.o -MD -MP -MF .deps/testAddress.Tpo -c -o testAddress.o ../../../src/ip/testAddress.cc
mv -f .deps/testAddress.Tpo .deps/testAddress.Po
ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -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
mv -f .deps/stub_debug.Tpo .deps/stub_debug.Po
ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -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
mv -f .deps/testMain.Tpo .deps/testMain.Po
ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -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/test_tools.Tpo .deps/test_tools.Po
/bin/sh ../../libtool --tag=CXX --mode=link ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -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: ccache g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -o testIpAddress testAddress.o stub_debug.o testMain.o test_tools.o ./.libs/libip.a -L../../compat -lcompat-squid -L/usr/local/lib -lcppunit -lm -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib
/usr/local/lib/libcppunit.so.3.0: warning: sprintf() is often misused, please use snprintf()
make check-TESTS
/bin/sh ../../../test-suite/testheaders.sh "ccache g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT " "../../../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
Stop in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ip> (line 643 of Makefile).
*** Error code 1
Stop in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/ip> (line 676 of Makefile).
*** Error code 1
Stop in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src> (line 5346 of Makefile).
*** Error code 1
Stop in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src> (line 5619 of Makefile).
*** Error code 1
Stop in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/ws/btlayer-00-default/squid-3.HEAD-BZR/_build> (line 440 of Makefile).
*** Error code 1
Stop in <http://build.squid-cache.org/job/3.HEAD-amd64-OpenBSD/ws/btlayer-00-default> (line 668 of Makefile).
buildtest.sh result is 1
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: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS:
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: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS:
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 1
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
Build FAILED.
Build step 'Execute shell' marked build as failure
Received on Sun Aug 07 2011 - 11:43:58 MDT
This archive was generated by hypermail 2.2.0 : Mon Aug 08 2011 - 12:00:01 MDT