[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-fedora-20 #8

noc at squid-cache.org noc at squid-cache.org
Fri Dec 19 19:02:52 UTC 2014


See <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/8/changes>

Changes:

[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 69535 lines...]
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/src'>
Making uninstall in tools
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools'>
Making uninstall in helper-mux
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/helper-mux'>
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec'> && rm -f helper-mux )
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/man/man8'> && rm -f helper-mux.8 )
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/helper-mux'>
Making uninstall in purge
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/purge'>
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/bin'> && rm -f purge )
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/man/man1'> && rm -f purge.1 )
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/purge'>
Making uninstall in squidclient
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/squidclient'>
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/squidclient'>
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/bin'> && rm -f squidclient )
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/man/man1'> && rm -f squidclient.1 )
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/squidclient'>
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/squidclient'>
Making uninstall in systemd
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/systemd'>
make[3]: Nothing to be done for `uninstall'.
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/systemd'>
Making uninstall in sysvinit
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/sysvinit'>
make[3]: Nothing to be done for `uninstall'.
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools/sysvinit'>
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools'>
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec'> && rm -f cachemgr.cgi )
 /usr/bin/rm -f -f /tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/cachemgr.conf>
/usr/bin/rm -f -f /tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/cachemgr.conf.default>
 ( cd '/tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/man/man8'> && rm -f cachemgr.cgi.8 )
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools'>
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/tools'>
Making uninstall in test-suite
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/test-suite'>
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build/test-suite'>
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build'>
make[2]: Nothing to be done for `uninstall-am'.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build'>
make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build'>
make[1]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build'>
ERROR: files left after uninstall:
  (check DESTDIR support)
.<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/msntauth.conf>
make[1]: *** [distuninstallcheck] Error 1
make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_build'>
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-05-nodeps-esi.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: -Wall -g -O2
configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -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: -Wall -g -O2
configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
cat: ../../src/DiskIO/../../scripts/boilerplate.h: No such file or directory
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
2014/12/19 19:00:52| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
2014/12/19 19:00:52| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
2014/12/19 19:00:52| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
2014/12/19 19:00:52| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory
2014/12/19 19:00:52| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory
<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory
# XFAIL: 0
# FAIL:  0
diff: /tmp/am-dc-15635/<http://build.squid-cache.org/job/3.HEAD-amd64-fedora-20/ws/btlayer-05-nodeps-esi/squid-3.HEAD-BZR/_inst/etc/msntauth.conf.default>: No such file or directory
ERROR: files left after uninstall:
make[1]: *** [distuninstallcheck] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure


More information about the squid-dev mailing list