[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-opensuse-13.2-clang #21

noc at squid-cache.org noc at squid-cache.org
Thu Jan 1 09:41:51 UTC 2015


See <http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/21/changes>

Changes:

[Amos Jeffries] Cleanup: fix most 'unused parameter' warnings

... and several bugs hidden by lack of this check:

* url_rewrite_timeout parser/dumper using wrong cf.data.pre
parameter definition.

* url_rewrite_timeout parser/dumper using wrong object for
state data.
Global a Config object instead of parameter object.
Preventing future use of multiple Config objects. There is
more to be done as the Timeout value itself is not stored
as part of the object apparently detailing the timeout.

* request_header_add directive dump() omitting directive
name in mgr:config output.

* dead code as HTCP packet handlers for NOP, MON, SET

* mime icons download operation incorrectly initialized.
was using the 'view' access parameter to set download
access permission.

* peerCountHandleIcpReply() assertions testing validity
after pointers already used. This would lead to segfault
on errors, now leading to assertion logging.


Only the default built code was checked and updated at this
time. There are 62 known warnings still appearing due to
parameters being only used inside conditional code, possibly
more issues in code not enabled in this build and certainly
a lot more in the stubs and unit tests which were not checked.

------------------------------------------
[...truncated 3974 lines...]
/bin/sh ../../../libtool  --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o ext_unix_group_acl check_group.o ../../../lib/libmiscencoding.la ../../../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 ext_unix_group_acl check_group.o  ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/external_acl/unix_group'>
Making all in wbinfo_group
make[4]: Entering directory '<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-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 || (/usr/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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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 || (/usr/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-opensuse-13.2-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-opensuse-13.2-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/sh ../../../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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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/sh ../../../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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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 || (/usr/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-opensuse-13.2-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-opensuse-13.2-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/sh ../../../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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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 || (/usr/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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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/sh ../../../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-opensuse-13.2-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-opensuse-13.2-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/sh ../../../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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
make[2]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-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-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
gawk -f ../../src/cf_gen_defines <../../src/cf.data.pre >cf_gen_defines.cci || (/usr/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-opensuse-13.2-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-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/lib/`echo> ssl_crtd  | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_UNLINKD[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/lib/`echo> unlinkd | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_PINGER[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/lib/`echo> pinger | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_DISKD[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/lib/`echo> diskd | sed 's,x,x,;s/$//'`%g" \
-e "s%[@]DEFAULT_LOGFILED[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/lib/`echo> log_file_daemon | sed 's,x,x,;s/$//'`%g;" \
-e "s%[@]DEFAULT_CACHE_LOG[@]%<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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-opensuse-13.2-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
gawk -f ../../src/mk-string-arrays.awk < ../../src/err_type.h > err_type.cc || (/usr/bin/rm -f -f err_type.cc && exit 1)
gawk -f ../../src/mk-string-arrays.awk < ../../src/err_detail_type.h | sed 's/ERR_DETAIL_//' > err_detail_type.cc || (/usr/bin/rm -f -f err_detail_type.cc && exit 1)
gawk -f ../../src/mk-globals-c.awk < ../../src/globals.h > globals.cc || (/usr/bin/rm -f -f globals.cc && exit 1)
gawk -f ../../src/mk-string-arrays.awk < ../../src/hier_code.h > hier_code.cc || (/usr/bin/rm -f -f hier_code.cc && exit 1)
gawk -f ../../src/mk-string-arrays.awk < ../../src/icp_opcode.h > icp_opcode.cc || (/usr/bin/rm -f -f icp_opcode.cc && exit 1)
gawk -f ../../src/mk-string-arrays.awk < ../../src/LogTags.h | sed 's/LOG_//' > LogTags.cc || (/usr/bin/rm -f -f LogTags.cc && exit 1)
gawk -f ../../src/mk-string-arrays.awk < ../../src/lookup_t.h > lookup_t.cc || (/usr/bin/rm -f -f lookup_t.cc && exit 1)
/bin/sh ../../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-opensuse-13.2-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-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mem'>
/bin/sh ../../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/sh ../../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/sh ../../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/sh ../../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 AllocatorProxy.lo -MD -MP -MF .deps/AllocatorProxy.Tpo -c ../../../src/mem/AllocatorProxy.cc -o AllocatorProxy.o >/dev/null 2>&1
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.
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
Makefile:781: 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 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/AllocatorProxy.Tpo .deps/AllocatorProxy.Plo
mv -f .deps/Pool.Tpo .deps/Pool.Plo
mv -f .deps/old_api.Tpo .deps/old_api.Plo
make[4]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src/mem'>
Makefile:7069: 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-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
Makefile:5957: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '<http://build.squid-cache.org/job/3.HEAD-amd64-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
Makefile:568: 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-opensuse-13.2-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
Makefile:770: 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