See <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/2240/changes>
Changes: [Amos Jeffries] Fix unit test linker issues in testHttpReply and testStore Also, update STUB files for comm.cc, event.cc, and libssl-squid.la [Automatic source maintenance] SourceFormat Enforcement [Christos Tsantilas] Fix tcp outgoing tos bugs The tcp_outgoing_tos is buggy in trunk: - The ToS is never set for packets of the first request of a TCP connection. - The ToS is never set for HTTPS traffic no matter whether requests are bumped or not. - The ToS value is not set for ftp data connections This patch solve the above problems: - It moves the codes which sets the TOS value for a new connection from the the comm_openex to a higher-level code, where the connection protocol (IPv4 or IPv6) is known. - Add code to set TOS value for ftp data connections. - Add a check on parsing code to warn users if the configured ToS value has the ECN bits set, and adjust the value to a correct one. Notes Currently squid support only passive ftp data connections. If squid in the future supports active ftp connections, then some work required to TcpAcceptor class to allow setting ToS values for connections established on squid listening sockets. This is a Measurement Factory project [Amos Jeffries] Fix various trunk unit test build issues [Amos Jeffries] Fix out of bounds memory access on -n option [Amos Jeffries] Fix unit test issue after rev.1498 Moves service_name global definition to tools.h where it can be accessible to more unit tests, in particular tests outside of src/Makefile.am Adds stub_SBuf.cc for use by unit tests not actually needing SBuf. [Christos Tsantilas] squidclient: Fix -m option to correctly read method argument [Amos Jeffries] Bug 4085: cache_miss_revalidate / ignore_ims_on_miss docs confusing [Amos Jeffries] Fix http_port after rev.13497 Also, remove dead code if-statement in httpAccept(). Replace with a note that the call may have been queued when a reconfgure happened to the port [Amos Jeffries] Validate -n service name parameter value Service name is used for path prefixes in SHM/UDS sockets, Windows service name, Unix/Linux/BSD daemon names, and file path segments. Restrict service names to a max 32 character alphanumeric value in order to accommodate as widely portable names as possible in all these cases. [Amos Jeffries] Converts the PortCfgPointer to reference counted This allows long-lived connections to retain access to their original receiving port configuration even after squid has been reconfigured. Reference counting prevents some leaking of these port configuration details and associated state by removing locking uncertainties. Also, fixes all parsing errors resulting from the change. Most of the issues were due to use of raw-pointers and explicit cbdataReference*() API. ------------------------------------------ [...truncated 8142 lines...] rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in . test -z "" || rm -f test . = "../../helpers" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in doc Making distclean in manuals test -z "" || rm -f test . = "../../../doc/manuals" || test -z "" || rm -f rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in . test -z "" || rm -f test . = "../../doc" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in contrib test -z "" || rm -f test . = "../../contrib" || test -z "" || rm -f rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in errors test -z "" || rm -f test . = "../../errors" || test -z "" || rm -f test -z "af.lang ar.lang az.lang bg.lang ca.lang cs.lang da.lang de.lang el.lang en.lang es.lang et.lang fa.lang fi.lang fr.lang he.lang hu.lang hy.lang id.lang it.lang ja.lang ka.lang ko.lang lt.lang lv.lang ms.lang nl.lang oc.lang pl.lang pt-br.lang pt.lang ro.lang ru.lang sk.lang sl.lang sr-cyrl.lang sr-latn.lang sv.lang th.lang tr.lang uk.lang uz.lang vi.lang zh-hans.lang zh-hant.lang translate-warn" || rm -f af.lang ar.lang az.lang bg.lang ca.lang cs.lang da.lang de.lang el.lang en.lang es.lang et.lang fa.lang fi.lang fr.lang he.lang hu.lang hy.lang id.lang it.lang ja.lang ka.lang ko.lang lt.lang lv.lang ms.lang nl.lang oc.lang pl.lang pt-br.lang pt.lang ro.lang ru.lang sk.lang sl.lang sr-cyrl.lang sr-latn.lang sv.lang th.lang tr.lang uk.lang uz.lang vi.lang zh-hans.lang zh-hant.lang translate-warn rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in icons test -z "" || rm -f test . = "../../icons" || test -z "" || rm -f test -z "" || rm -f rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in scripts test -z "" || rm -f test . = "../../scripts" || test -z "" || rm -f rm -rf .libs _libs rm -f *.lo rm -f Makefile Making distclean in libltdl rm -f *.tab.c test -z "" || rm -f test . = "../../libltdl" || test -z "" || rm -f rm -f config.h stamp-h1 rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags test -z "libltdl.la libltdlc.la libdlloader.la argz.o argz.lo" || rm -f libltdl.la libltdlc.la libdlloader.la argz.o argz.lo test -z "" || rm -f rm -rf .libs _libs test -z "dlopen.la libltdlc.la" || rm -f dlopen.la libltdlc.la rm -f "./so_locations" rm -f *.o test -z "argz.h argz.h-t" || rm -f argz.h argz.h-t rm -f *.lo rm -f "./so_locations" rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -rf .deps ./.deps rm -f Makefile Making distclean in lib Making distclean in snmplib rm -f *.tab.c test -z "" || rm -f test . = "../../../lib/snmplib" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf .libs _libs test -z "libsnmplib.la" || rm -f libsnmplib.la rm -f *.o rm -f "./so_locations" rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in libTrie Making distclean in test rm -f *.tab.c test -z "" || rm -f test . = "../../../../lib/libTrie/test" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f trie test -z "" || rm -f rm -rf .libs _libs rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in . rm -f *.tab.c test -z "" || rm -f test . = "../../../lib/libTrie" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags test -z "testHeaders" || rm -f testHeaders rm -rf .libs _libs test -z "libTrie.a" || rm -f libTrie.a rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in smblib rm -f *.tab.c test -z "" || rm -f test . = "../../../lib/smblib" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags test -z "" || rm -f rm -rf .libs _libs test -z "libsmblib.la" || rm -f libsmblib.la rm -f "./so_locations" rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in rfcnb rm -f *.tab.c test -z "" || rm -f test . = "../../../lib/rfcnb" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags test -z "" || rm -f rm -rf .libs _libs test -z "librfcnb.la" || rm -f librfcnb.la rm -f "./so_locations" rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in profiler rm -f *.tab.c test -z "" || rm -f test . = "../../../lib/profiler" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags test -z "testHeaders" || rm -f testHeaders rm -rf .libs _libs test -z "" || rm -f rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in ntlmauth rm -f *.tab.c test -z "" || rm -f test . = "../../../lib/ntlmauth" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags test -z "testHeaders" || rm -f testHeaders rm -rf .libs _libs test -z "libntlmauth.la" || rm -f libntlmauth.la rm -f "./so_locations" rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in . rm -f *.tab.c test -z "" || rm -f test . = "../../lib" || test -z "" || rm -f rm -f tests/.dirstamp rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f tests/testAll test -z "testHeaders" || rm -f testHeaders rm -rf .libs _libs test -z "libmiscencoding.la libmisccontainers.la libmiscutil.la " || rm -f libmiscencoding.la libmisccontainers.la libmiscutil.la rm -rf tests/.libs tests/_libs rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f *.o rm -f *.lo rm -rf ./.deps rm -f Makefile Making distclean in compat rm -f *.tab.c test -z "" || rm -f test . = "../../compat" || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f testPreCompiler test -z "testHeaders" || rm -f testHeaders rm -rf .libs _libs test -z "libcompat-squid.la" || rm -f libcompat-squid.la rm -f *.o rm -f "./so_locations" rm -f *.lo rm -rf .deps ./.deps rm -f Makefile Making distclean in . test -z "" || rm -f test . = ".." || test -z "" || rm -f test -z "include/stamp-h include/stamp-h[0-9]*" || rm -f include/stamp-h include/stamp-h[0-9]* rm -f include/autoconf.h include/stamp-h1 rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf .libs _libs rm -f *.lo rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile ERROR: files left in build directory after distclean: ./test-suite/stub_SBuf.cc *** 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: -Wall -I/usr/local/include 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 -march=native -I/usr/local/include configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT configure: BUILD Tools C++ FLAGS: -march=native -g -O2 -march=native -I/usr/local/include configure: BUILD LIBRARIES: configure: BUILD EXTRA LIBRARIES: -lm configure: BUILD OBJECTS: configure: BUILD EXTRA OBJECTS: configure: BUILD C FLAGS: -Wall -I/usr/local/include 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 -march=native -I/usr/local/include configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT configure: BUILD Tools C++ FLAGS: -march=native -g -O2 -march=native -I/usr/local/include 2014/07/23 00:53:51| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory 2014/07/23 00:53:51| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory 2014/07/23 00:53:51| FATAL ERROR: MIME Config Table <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/mime.conf>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: unlinkd_program <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/unlinkd>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: logfile_daemon <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/libexec/log_file_daemon>: (2) No such file or directory 2014/07/23 00:53:51| FATAL ERROR: Icon Directory <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/share/icons>: (2) No such file or directory <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/var/logs/cache.log>: No such file or directory diff: <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/msntauth.conf.default>: No such file or directory diff: /tmp/am-dc-59710/<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst/etc/msntauth.conf.default>: No such file or directory ERROR: files left in build directory after distclean: *** Error code 1 *** Error code 1 Build FAILED. Build step 'Execute shell' marked build as failure