[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-ubuntu-utopic-clang #30

noc at squid-cache.org noc at squid-cache.org
Fri Dec 19 18:44:04 UTC 2014


See <http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/30/changes>

Changes:

[Christos Tsantilas] Fix peek-and-splice mode: certificate validation for domain mismatched errors

Currently squid does not check for domain mismatched errors while validates the
server certificate on peek and splice mode, even if the server hostname is known
from SNI info or from CONNECT request string.

This is a Measurement Factory project

[Amos Jeffries] MemPool the debug output stream buffers

The CurrentDebug output stream controller for cache.log was
defined as a std::ostringstream object and allocated with
new/delete on each call to debugs().

The std::ostringstream is defined as a templates output stream
which uses the std::allocator<char> built into libc when its
new()'d. Since this is all internal to the STL library
definitions it links against the libc global-scope allocator.

However, there is no matching deallocator definition and when
the object is delete()'d the standard C++ operator overloading
rules make the global-scope SquidNew.h definition of
::operator delete() be the method of deallocation. That uses
free() internally.

To resolve the mismatch of new()/free() we must define a
wrapper class with explicit class-scope new/delete operators
instead of relying on weak linkages to overloaded global scope
operators.

As a result the memory is new()'d and free()'d. As detected by
Valgrind

------------------------------------------
[...truncated 3961 lines...]
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/external_acl/wbinfo_group'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/external_acl/wbinfo_group/ext_wbinfo_group_acl.pl.in >ext_wbinfo_group_acl || (/bin/rm -f -f ext_wbinfo_group_acl ; exit 1)
pod2man ext_wbinfo_group_acl ext_wbinfo_group_acl.8
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/external_acl/wbinfo_group'>
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/external_acl'>
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/external_acl'>
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/external_acl'>
Making all in log_daemon
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon'>
Making all in DB
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon/DB'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/log_daemon/DB/log_db_daemon.pl.in >log_db_daemon || (/bin/rm -f -f log_db_daemon ; exit 1)
pod2man log_db_daemon log_db_daemon.8
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon/DB'>
Making all in file
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon/file'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT log_file_daemon.o -MD -MP -MF .deps/log_file_daemon.Tpo -c -o log_file_daemon.o ../../../../helpers/log_daemon/file/log_file_daemon.cc
mv -f .deps/log_file_daemon.Tpo .deps/log_file_daemon.Po
/bin/bash ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o log_file_daemon log_file_daemon.o -L../../../lib ../../../compat/libcompat-squid.la  -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o log_file_daemon log_file_daemon.o  -L../../../lib ../../../compat/.libs/libcompat-squid.a -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon/file'>
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon'>
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon'>
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/log_daemon'>
Making all in negotiate_auth
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/negotiate_auth'>
Making all in wrapper
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/negotiate_auth/wrapper'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT negotiate_wrapper.o -MD -MP -MF .deps/negotiate_wrapper.Tpo -c -o negotiate_wrapper.o ../../../../helpers/negotiate_auth/wrapper/negotiate_wrapper.cc
mv -f .deps/negotiate_wrapper.Tpo .deps/negotiate_wrapper.Po
/bin/bash ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o negotiate_wrapper_auth negotiate_wrapper.o ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lnettle -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o negotiate_wrapper_auth negotiate_wrapper.o  ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lnettle -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/negotiate_auth/wrapper'>
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/negotiate_auth'>
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/negotiate_auth'>
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/negotiate_auth'>
Making all in url_rewrite
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite'>
Making all in LFS
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite/LFS'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/url_rewrite/LFS/url_lfs_rewrite.pl.in >url_lfs_rewrite || (/bin/rm -f -f url_lfs_rewrite ; exit 1)
pod2man url_lfs_rewrite url_lfs_rewrite.8
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite/LFS'>
Making all in fake
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite/fake'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT fake.o -MD -MP -MF .deps/fake.Tpo -c -o fake.o ../../../../helpers/url_rewrite/fake/fake.cc
mv -f .deps/fake.Tpo .deps/fake.Po
/bin/bash ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o url_fake_rewrite fake.o ../../../compat/libcompat-squid.la  
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o url_fake_rewrite fake.o  ../../../compat/.libs/libcompat-squid.a
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite/fake'>
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite'>
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite'>
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/url_rewrite'>
Making all in storeid_rewrite
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/storeid_rewrite'>
Making all in file
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/storeid_rewrite/file'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/storeid_rewrite/file/storeid_file_rewrite.pl.in >storeid_file_rewrite || (/bin/rm -f -f storeid_file_rewrite ; exit 1)
pod2man storeid_file_rewrite storeid_file_rewrite.8
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/storeid_rewrite/file'>
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/storeid_rewrite'>
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/storeid_rewrite'>
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/storeid_rewrite'>
Making all in ntlm_auth
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth'>
Making all in fake
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/fake'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../lib  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT ntlm_fake_auth.o -MD -MP -MF .deps/ntlm_fake_auth.Tpo -c -o ntlm_fake_auth.o ../../../../helpers/ntlm_auth/fake/ntlm_fake_auth.cc
mv -f .deps/ntlm_fake_auth.Tpo .deps/ntlm_fake_auth.Po
/bin/bash ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o ntlm_fake_auth ntlm_fake_auth.o ../../../lib/ntlmauth/libntlmauth.la ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o ntlm_fake_auth ntlm_fake_auth.o  ../../../lib/ntlmauth/.libs/libntlmauth.a ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/fake'>
Making all in smb_lm
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/smb_lm'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../lib  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT ntlm_smb_lm_auth.o -MD -MP -MF .deps/ntlm_smb_lm_auth.Tpo -c -o ntlm_smb_lm_auth.o ../../../../helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc
mv -f .deps/ntlm_smb_lm_auth.Tpo .deps/ntlm_smb_lm_auth.Po
/bin/bash ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o ntlm_smb_lm_auth ntlm_smb_lm_auth.o ../../../lib/smblib/libsmblib.la ../../../lib/rfcnb/librfcnb.la ../../../lib/ntlmauth/libntlmauth.la ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o ntlm_smb_lm_auth ntlm_smb_lm_auth.o  ../../../lib/smblib/.libs/libsmblib.a ../../../lib/rfcnb/.libs/librfcnb.a ../../../lib/ntlmauth/.libs/libntlmauth.a ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth/smb_lm'>
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth'>
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth'>
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/ntlm_auth'>
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
make[2]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
Making all in src
make[2]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
mawk -f ../../src/cf_gen_defines <../../src/cf.data.pre >cf_gen_defines.cci || (/bin/rm -f -f cf_gen_defines.cci && exit 1)
sed \
-e "s%[@]DEFAULT_HTTP_PORT[@]%3128%g" \
-e "s%[@]DEFAULT_ICP_PORT[@]%3130%g" \
-e "s%[@]DEFAULT_CACHE_EFFECTIVE_USER[@]%nobody%g" \
-e "s%[@]DEFAULT_MIME_TABLE[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf%g"> \
-e "s%[@]DEFAULT_SSL_CRTD[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/`echo> ssl_crtd  | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_UNLINKD[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/`echo> unlinkd | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_PINGER[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/`echo> pinger | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_DISKD[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/`echo> diskd | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_LOGFILED[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/`echo> log_file_daemon | sed 's,x,x,;s/$//'`%g;" \
-e "s%[@]DEFAULT_CACHE_LOG[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log%g"> \
-e "s%[@]DEFAULT_ACCESS_LOG[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/access.log%g"> \
-e "s%[@]DEFAULT_STORE_LOG[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/store.log%g"> \
-e "s%[@]DEFAULT_PID_FILE[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/run/squid.pid%g"> \
-e "s%[@]DEFAULT_NETDB_FILE[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/netdb.state%g"> \
-e "s%[@]DEFAULT_SWAP_DIR[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/cache/squid%g"> \
-e "s%[@]DEFAULT_SSL_DB_DIR[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/lib/ssl_db%g"> \
-e "s%[@]DEFAULT_ICON_DIR[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons%g"> \
-e "s%[@]DEFAULT_CONFIG_DIR[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc%g"> \
-e "s%[@]DEFAULT_ERROR_DIR[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/errors%g"> \
-e "s%[@]DEFAULT_PREFIX[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst%g"> \
-e "s%[@]DEFAULT_HOSTS[@]%/etc/hosts%g" \
-e "s%[@]SQUID[@]%SQUID\ 3.HEAD-BZR%g" \
< ../../src/cf.data.pre >cf.data
mawk -f ../../src/mk-string-arrays.awk < ../../src/err_type.h > err_type.cc || (/bin/rm -f -f err_type.cc && exit 1)
mawk -f ../../src/mk-string-arrays.awk < ../../src/err_detail_type.h | sed 's/ERR_DETAIL_//' > err_detail_type.cc || (/bin/rm -f -f err_detail_type.cc && exit 1)
mawk -f ../../src/mk-globals-c.awk < ../../src/globals.h > globals.cc || (/bin/rm -f -f globals.cc && exit 1)
mawk -f ../../src/mk-string-arrays.awk < ../../src/hier_code.h > hier_code.cc || (/bin/rm -f -f hier_code.cc && exit 1)
mawk -f ../../src/mk-string-arrays.awk < ../../src/icp_opcode.h > icp_opcode.cc || (/bin/rm -f -f icp_opcode.cc && exit 1)
mawk -f ../../src/mk-string-arrays.awk < ../../src/LogTags.h | sed 's/LOG_//' > LogTags.cc || (/bin/rm -f -f LogTags.cc && exit 1)
mawk -f ../../src/mk-string-arrays.awk < ../../src/lookup_t.h > lookup_t.cc || (/bin/rm -f -f lookup_t.cc && exit 1)
/bin/bash ../../src/repl_modules.sh lru > repl_modules.cc
ccache clang++ -g -O2 -std=c++11 -o cf_gen ../../src/cf_gen.cc -I../../src -I../include/ -I../src
./cf_gen cf.data ../../src/cf.data.depend
make  all-recursive
make[3]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
Making all in mem
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mem'>
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT AllocatorProxy.lo -MD -MP -MF .deps/AllocatorProxy.Tpo -c -o AllocatorProxy.lo ../../../src/mem/AllocatorProxy.cc
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT old_api.lo -MD -MP -MF .deps/old_api.Tpo -c -o old_api.lo ../../../src/mem/old_api.cc
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT Pool.lo -MD -MP -MF .deps/Pool.Tpo -c -o Pool.lo ../../../src/mem/Pool.cc
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT PoolChunked.lo -MD -MP -MF .deps/PoolChunked.Tpo -c -o PoolChunked.lo ../../../src/mem/PoolChunked.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT Pool.lo -MD -MP -MF .deps/Pool.Tpo -c ../../../src/mem/Pool.cc  -fPIC -DPIC -o .libs/Pool.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT PoolChunked.lo -MD -MP -MF .deps/PoolChunked.Tpo -c ../../../src/mem/PoolChunked.cc  -fPIC -DPIC -o .libs/PoolChunked.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT old_api.lo -MD -MP -MF .deps/old_api.Tpo -c ../../../src/mem/old_api.cc  -fPIC -DPIC -o .libs/old_api.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT AllocatorProxy.lo -MD -MP -MF .deps/AllocatorProxy.Tpo -c ../../../src/mem/AllocatorProxy.cc  -fPIC -DPIC -o .libs/AllocatorProxy.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT Pool.lo -MD -MP -MF .deps/Pool.Tpo -c ../../../src/mem/Pool.cc -o Pool.o >/dev/null 2>&1
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT AllocatorProxy.lo -MD -MP -MF .deps/AllocatorProxy.Tpo -c ../../../src/mem/AllocatorProxy.cc -o AllocatorProxy.o >/dev/null 2>&1
mv -f .deps/Pool.Tpo .deps/Pool.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile ccache clang++ -DHAVE_CONFIG_H   -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT PoolMalloc.lo -MD -MP -MF .deps/PoolMalloc.Tpo -c -o PoolMalloc.lo ../../../src/mem/PoolMalloc.cc
mv -f .deps/AllocatorProxy.Tpo .deps/AllocatorProxy.Plo
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT PoolMalloc.lo -MD -MP -MF .deps/PoolMalloc.Tpo -c ../../../src/mem/PoolMalloc.cc  -fPIC -DPIC -o .libs/PoolMalloc.o
In file included from ../../../src/mem/PoolChunked.cc:15:
In file included from ../../../src/mem/PoolChunked.h:12:
In file included from ../../../src/mem/Pool.h:32:
../../../include/splay.h:228:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
    if (this == __null) {
        ^~~~    ~~~~~~
../../../include/splay.h:319:18: note: in instantiation of function template specialization 'SplayNode<MemChunk *>::splay<MemChunk *>' requested here
    head = head->splay(value, compare);
                 ^
../../../include/splay.h:331:8: note: in instantiation of function template specialization 'Splay<MemChunk *>::find<MemChunk *>' requested here
    ((!find (value, compare))?((void)0):xassert( "!find (value, compare)" , "../../../include/splay.h", 331));
       ^
../../../src/mem/PoolChunked.cc:135:21: note: in instantiation of member function 'Splay<MemChunk *>::insert' requested here
    pool->allChunks.insert(this, memCompChunks);
                    ^
In file included from ../../../src/mem/PoolChunked.cc:15:
In file included from ../../../src/mem/PoolChunked.h:12:
In file included from ../../../src/mem/Pool.h:32:
../../../include/splay.h:198:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
    if (this == __null) {
        ^~~~    ~~~~~~
../../../include/splay.h:332:18: note: in instantiation of member function 'SplayNode<MemChunk *>::insert' requested here
    head = head->insert(value, compare);
                 ^
../../../src/mem/PoolChunked.cc:135:21: note: in instantiation of member function 'Splay<MemChunk *>::insert' requested here
    pool->allChunks.insert(this, memCompChunks);
                    ^
In file included from ../../../src/mem/PoolChunked.cc:15:
In file included from ../../../src/mem/PoolChunked.h:12:
In file included from ../../../src/mem/Pool.h:32:
../../../include/splay.h:167:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
    if (this == __null)
        ^~~~    ~~~~~~
../../../include/splay.h:342:18: note: in instantiation of member function 'SplayNode<MemChunk *>::remove' requested here
    head = head->remove(value, compare);
                 ^
../../../src/mem/PoolChunked.cc:160:21: note: in instantiation of member function 'Splay<MemChunk *>::remove' requested here
    pool->allChunks.remove(this, memCompChunks);
                    ^
In file included from ../../../src/mem/PoolChunked.cc:15:
In file included from ../../../src/mem/PoolChunked.h:12:
In file included from ../../../src/mem/Pool.h:32:
../../../include/splay.h:228:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
    if (this == __null) {
        ^~~~    ~~~~~~
../../../include/splay.h:319:18: note: in instantiation of function template specialization 'SplayNode<MemChunk *>::splay<void *>' requested here
    head = head->splay(value, compare);
                 ^
../../../src/mem/PoolChunked.cc:343:51: note: in instantiation of function template specialization 'Splay<MemChunk *>::find<void *>' requested here
        chunk = const_cast<MemChunk *>(*allChunks.find(Free, memCompObjChunks));
                                                  ^
4 errors generated.
Makefile:782: recipe for target 'PoolChunked.lo' failed
make[4]: *** [PoolChunked.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT PoolMalloc.lo -MD -MP -MF .deps/PoolMalloc.Tpo -c ../../../src/mem/PoolMalloc.cc -o PoolMalloc.o >/dev/null 2>&1
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -MT old_api.lo -MD -MP -MF .deps/old_api.Tpo -c ../../../src/mem/old_api.cc -o old_api.o >/dev/null 2>&1
mv -f .deps/PoolMalloc.Tpo .deps/PoolMalloc.Plo
mv -f .deps/old_api.Tpo .deps/old_api.Plo
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mem'>
Makefile:7070: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
Makefile:5958: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
Makefile:569: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-ubuntu-utopic-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
Makefile:777: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.opts
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
../../../include/splay.h:228:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
../../../include/splay.h:198:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
../../../include/splay.h:167:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
../../../include/splay.h:228:9: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
make[4]: *** [PoolChunked.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure


More information about the squid-dev mailing list