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

From: <noc_at_squid-cache.org>
Date: Thu, 18 Nov 2010 11:00:22 +0100 (CET)

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

Changes:

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

[Christos Tsantilas <chtsanti_at_users.sourceforge.net>]
[Christos Tsantilas <chtsanti_at_users.sourceforge.net>] Author: Alex Rousskov, Andrew Balabohin, Christos Tsantilas
Dynamic SSL certificate generartion

This patch implements dynamic SSL certificate generartion in Squid.When
used with SSL Bump, the feature allows Squid to dynamically
generate (using a configurable CA certificate) and cache SSL
certificates for the proxied hosts.

A description for this feature can be found at:
http://wiki.squid-cache.org/Features/DynamicSslCert

A first version of the patch posted by Alex, some months before:
http://www.squid-cache.org/mail-archive/squid-dev/201003/0201.html

Some words about the patch:

* ssl related source files moved under the src/ssl directory

* Introduce the TidyPointer class similar to std::auto_ptr, which implements
a pointer that deletes the object it points to when the pointer's owner
or context is gone. It is designed to avoid memory leaks in the presence
of exceptions and processing short cuts.

* Implements ssl context cache to use with generated ssl contexts. The
Ssl::LocalContextStorage class stores the hostname/ssl context pairs for
a local listening address/port. The Ssl::GlobalContextStorage class used
to store Ssl::LocalContextStorages per local listening address and handles
squid shutdown/configure/reconfigure

* Ssl::Helper class implements the squid part of the ssl_crtd helpers.

* The ssl_crtd helper implemented in ssl_crtd.cc and certificate_db.* files

* The Ssl::CertificateDb class (certificate_db.* files) implements a
database of certificates on disk files. It is used by ssl_crtd helper to
manipulate generated certificates.

* The ssl related files included in the libraries libsslutil.a which
contains common classes and functions and the libsquidssl.a which has
squid related ssl objects and functions

* Use the Ssl namespace for new ssl code

This is a Measurement Factory Project.

[Amos Jeffries <squid3_at_treenet.co.nz>] Author: Various Translators
Translations Update auto-save

------------------------------------------
[...truncated 2969 lines...]
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 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
"../../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 Thu Nov 18 2010 - 10:00:25 MST

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