Build failed in Hudson: 3.HEAD-i386-opensolaris-SunStudioCc #472

From: <noc_at_squid-cache.org>
Date: Fri, 19 Nov 2010 03:49:10 +0100 (CET)

See <http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/472/changes>

Changes:

[Alex Rousskov <rousskov_at_measurement-factory.com>] HTTP Compliance: do not forward TRACE with Max-Forwards: 0 after REQMOD

Before the change, Max-Forwards request value was cached in
HttpRequest::max_forwards member. It was set once in
clientProcessRequest() function. This works fine as long as no request
adaptation is performed. Otherwise original HTTP request may be
replaced with adopted one in ClientHttpRequest::noteAdaptationAnswer()
method and max_forwards value is lost.

This change removes HttpRequest::max_forwards member and gets the value
directly from HttpHeader when needed. This adds another string-to-int
conversion for TRACE and OPTIONS requests, but those are rare, and we
save a little in the other, far more common cases by removing the
HttpRequest::max_forwards member.

Removed assertion from clientReplyContext::traceReply() since it is
called from a single place and the condition is checked right before
the call.

Co-Advisors test cases:
test_case/rfc2616/maxForwardsZero-TRACE-asterisk
test_case/rfc2616/maxForwardsZero-TRACE-absolute

[Automatic source maintenance <squidadm_at_squid-cache.org>] SourceFormat Enforcement

[Christos Tsantilas <chtsanti_at_users.sourceforge.net>] Minor changes to allow squid compile with ssl enabled but ssl_crtd disabled

------------------------------------------
[...truncated 2946 lines...]
checking whether make sets $(MAKE)... yes
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for style of include used by make... GNU
checking for gcc... ccache /opt/SunStudioExpress/prod/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether ccache /opt/SunStudioExpress/prod/bin/cc accepts -g... yes
checking for ccache /opt/SunStudioExpress/prod/bin/cc option to accept ISO C89... none needed
checking dependency style of ccache /opt/SunStudioExpress/prod/bin/cc... none
checking for a sed that does not truncate output... /usr/gnu/bin/sed
checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/bin/grep -E
checking for fgrep... /usr/gnu/bin/grep -F
checking for non-GNU ld... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/gnu/bin/nm -B
checking the name lister (/usr/gnu/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/gnu/bin/nm -B output from ccache /opt/SunStudioExpress/prod/bin/cc object... ok
checking how to run the C preprocessor... ccache /opt/SunStudioExpress/prod/bin/cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking for ccache /opt/SunStudioExpress/prod/bin/cc option to produce PIC... -KPIC -DPIC
checking if ccache /opt/SunStudioExpress/prod/bin/cc PIC flag -KPIC -DPIC works... yes
checking if ccache /opt/SunStudioExpress/prod/bin/cc static flag -Bstatic works... yes
checking if ccache /opt/SunStudioExpress/prod/bin/cc supports -c -o file.o... yes
checking if ccache /opt/SunStudioExpress/prod/bin/cc supports -c -o file.o... (cached) yes
checking whether the ccache /opt/SunStudioExpress/prod/bin/cc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... yes
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in lib/libTrie (<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/lib/libTrie)>
configure: running /bin/sh ../../../lib/libTrie/configure --disable-option-checking '--prefix=<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst'> 'CC=ccache /opt/SunStudioExpress/prod/bin/cc' 'LDFLAGS=-L/usr/local/sunstudio-libs/lib' 'CXX=ccache /opt/SunStudioExpress/prod/bin/CC' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=../../../lib/libTrie
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... no
checking whether ccache /opt/SunStudioExpress/prod/bin/CC accepts -g... yes
checking for gcc... ccache /opt/SunStudioExpress/prod/bin/cc
checking whether we are using the GNU C compiler... no
checking whether ccache /opt/SunStudioExpress/prod/bin/cc accepts -g... yes
checking for ccache /opt/SunStudioExpress/prod/bin/cc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /opt/jdsbld/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for style of include used by make... GNU
checking dependency style of ccache /opt/SunStudioExpress/prod/bin/cc... none
checking dependency style of ccache /opt/SunStudioExpress/prod/bin/CC... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ranlib... ranlib
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for a sed that does not truncate output... /usr/gnu/bin/sed
checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/bin/grep -E
checking for fgrep... /usr/gnu/bin/grep -F
checking for non-GNU ld... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/gnu/bin/nm -B
checking the name lister (/usr/gnu/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/gnu/bin/nm -B output from ccache /opt/SunStudioExpress/prod/bin/cc object... ok
checking how to run the C preprocessor... ccache /opt/SunStudioExpress/prod/bin/cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether ccache /opt/SunStudioExpress/prod/bin/CC accepts -g... (cached) yes
checking how to run the C++ preprocessor... ccache /opt/SunStudioExpress/prod/bin/CC -E
checking for objdir... .libs
checking for ccache /opt/SunStudioExpress/prod/bin/cc option to produce PIC... -KPIC -DPIC
checking if ccache /opt/SunStudioExpress/prod/bin/cc PIC flag -KPIC -DPIC works... yes
checking if ccache /opt/SunStudioExpress/prod/bin/cc static flag -Bstatic works... yes
checking if ccache /opt/SunStudioExpress/prod/bin/cc supports -c -o file.o... yes
checking if ccache /opt/SunStudioExpress/prod/bin/cc supports -c -o file.o... (cached) yes
checking whether the ccache /opt/SunStudioExpress/prod/bin/cc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether the ccache /opt/SunStudioExpress/prod/bin/CC linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for ccache /opt/SunStudioExpress/prod/bin/CC option to produce PIC... -KPIC -DPIC
checking if ccache /opt/SunStudioExpress/prod/bin/CC PIC flag -KPIC -DPIC works... yes
checking if ccache /opt/SunStudioExpress/prod/bin/CC static flag -Bstatic works... no
checking if ccache /opt/SunStudioExpress/prod/bin/CC supports -c -o file.o... yes
checking if ccache /opt/SunStudioExpress/prod/bin/CC supports -c -o file.o... (cached) yes
checking whether the ccache /opt/SunStudioExpress/prod/bin/CC linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
Making all in compat
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/compat'>
source='../../compat/assert.cc' object='assert.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o assert.o ../../compat/assert.cc
source='../../compat/compat.cc' object='compat.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o compat.o ../../compat/compat.cc
source='../../compat/debug.cc' object='debug.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o debug.o ../../compat/debug.cc
source='../../compat/GnuRegex.c' object='GnuRegex.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/cc -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all -errtags -D_REENTRANT -g -c ../../compat/GnuRegex.c
source='../../compat/xalloc.cc' object='xalloc.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o xalloc.o ../../compat/xalloc.cc
source='../../compat/xstrerror.cc' object='xstrerror.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o xstrerror.o ../../compat/xstrerror.cc
source='../../compat/xstring.cc' object='xstring.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o xstring.o ../../compat/xstring.cc
source='../../compat/xstrto.cc' object='xstrto.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT -g -c -o xstrto.o ../../compat/xstrto.cc
source='../../compat/eui64_aton.c' object='eui64_aton.o' libtool=no \
        DEPDIR=.deps depmode=none /bin/sh ../../cfgaux/depcomp \
        ccache /opt/SunStudioExpress/prod/bin/cc -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include/gssapi -I/usr/include/kerberosv5 -I../../libltdl -I/usr/include/gssapi -I/usr/include/kerberosv5 -errwarn=%all -errtags -D_REENTRANT -g -c ../../compat/eui64_aton.c
"../../compat/compat.cc", line 4: Error, incomtypew: failure_notify, of type void(*)(const char*), was previously declared extern "C" void(*)(const char*).
1 Error(s) detected.
make[2]: *** [compat.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/compat'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-i386-opensolaris-SunStudioCc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.opts
make[2]: *** [compat.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Received on Fri Nov 19 2010 - 02:49:13 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 19 2010 - 12:00:05 MST