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

From: <noc_at_squid-cache.org>
Date: Wed, 10 Nov 2010 11:59:13 +0100 (CET)

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

Changes:

[Amos Jeffries <squid3_at_treenet.co.nz>] Policy: detect config.h and squid.h include problems

We currently have a policy that config.h MUST be included first so as to
pull in the portability definitions early. It MAY be included via the
legacy squid.h at present.

This alteration to the source maintenance script validates that each .c
and .cc file in the sources includes config.h or squid.h first in its
include order. Also that each .h and .cci do not include config.h which
is a double include with enforced .c/.cc requirement.

* an ERROR: line is produces for each violating file
* as yet the maintenance run is not blocked so as to catch as many
errors as possible in one run
* detection only, as yet no code alterations are performed by this script
* FORMAT: informative lines are silenced to make ERROR: more visible

[Amos Jeffries <squid3_at_treenet.co.nz>] Dist missing opensolaris portability header

------------------------------------------
[...truncated 2906 lines...]
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
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
"../../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 Wed Nov 10 2010 - 10:59:17 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 10 2010 - 12:00:04 MST