Build failed in Jenkins: 3.HEAD-amd64-FreeBSD-7.2 #1588

From: <noc_at_squid-cache.org>
Date: Mon, 8 Oct 2012 11:13:58 +0200 (CEST)

See <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/1588/changes>

Changes:

[Amos Jeffries] Windows: simplify abstraction layer header files

Merge compat/os/windows.h, compat/os/mswin.h, and include/squid_windows.h
into a single compat/os/mswindows.h pulled in via the compat.h.

Also, rename compat/mswin.cc to match the new header .h name.

[Amos Jeffries] Windows: drop unused WIN32_pipe() implementation

The WIN32_pipe() wrapper function is not necessary on MinGW where _pipe()
is available, and is unused on other Windows builds where helper IPC
layer has been written to use STREAM sockets instead of pipe()

[Amos Jeffries] Windows: merge alternative getrusage() into squid_getrusage() wrapper

Since we are already providing a wrapper layer for getrusage() we can
merge the Windows alternative implementation into our wrapper directly.
No need to perform multiple layers of abstraction.

[Amos Jeffries] Portability: change Ipc::Port::listen to doListen()

listen() clashes with POSIX function of the same name.
Some systems (ie MinGW) define it as a macro wrapper.

[Amos Jeffries] Windows: disable purge tool

The purge tool requires quite a few updates before it will build on Windows.
It is easier at this point to simply not build it.

[Amos Jeffries] Windows: wrap sys/shm.h sys/ipc.h includes

[Amos Jeffries] Windows: correct C++ type usage on LoadSecurityDll()

[Amos Jeffries] ntlm_sspi_auth: correct linkage to library libntlmauth.la

[Amos Jeffries] Windows: updated test for ws2tcpip.h and windows.h

[Amos Jeffries] Windows: check recv() parameter type

[Amos Jeffries] Portability: permit eCAP build without pkg-config

Windows does not have a port of pkg-config, other OS may be in the same
situation. That only impacts on Squids ability to confirm the library
version not on its ability to link and use it.

This reduces some configure errors to warnings when pkg-config is not
located on the local system.

------------------------------------------
[...truncated 2736 lines...]
checking for /usr/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/bin/nm -B output from /usr/local/bin/ccache gcc object... ok
checking how to run the C preprocessor... /usr/local/bin/ccache gcc -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 if /usr/local/bin/ccache gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/local/bin/ccache gcc option to produce PIC... -fPIC -DPIC
checking if /usr/local/bin/ccache gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/local/bin/ccache gcc static flag -static works... yes
checking if /usr/local/bin/ccache gcc supports -c -o file.o... yes
checking if /usr/local/bin/ccache gcc supports -c -o file.o... (cached) yes
checking whether the /usr/local/bin/ccache gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.4 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... no
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... no
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-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/lib/libTrie)>
configure: running /usr/local/bin/bash ../../../lib/libTrie/configure --disable-option-checking '--prefix=<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-7.2/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst'> 'CC=/usr/local/bin/ccache gcc' 'CXX=/usr/local/bin/ccache g++' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=../../../lib/libTrie
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/bin/ccache g++ accepts -g... yes
checking for gcc... /usr/local/bin/ccache gcc
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/bin/ccache gcc accepts -g... yes
checking for /usr/local/bin/ccache gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../../../lib/libTrie/cfgaux/install-sh -c -d
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 /usr/local/bin/ccache gcc... gcc3
checking dependency style of /usr/local/bin/ccache g++... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ranlib... ranlib
checking build system type... amd64-unknown-freebsd7.4
checking host system type... amd64-unknown-freebsd7.4
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/local/bin/ccache gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/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/bin/nm -B output from /usr/local/bin/ccache gcc object... ok
checking how to run the C preprocessor... /usr/local/bin/ccache gcc -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 if /usr/local/bin/ccache gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/local/bin/ccache gcc option to produce PIC... -fPIC -DPIC
checking if /usr/local/bin/ccache gcc PIC flag -fPIC -DPIC works... yes
checking if /usr/local/bin/ccache gcc static flag -static works... yes
checking if /usr/local/bin/ccache gcc supports -c -o file.o... yes
checking if /usr/local/bin/ccache gcc supports -c -o file.o... (cached) yes
checking whether the /usr/local/bin/ccache gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd7.4 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... no
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 how to run the C++ preprocessor... /usr/local/bin/ccache g++ -E
checking for ld used by /usr/local/bin/ccache g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the /usr/local/bin/ccache g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for /usr/local/bin/ccache g++ option to produce PIC... -fPIC -DPIC
checking if /usr/local/bin/ccache g++ PIC flag -fPIC -DPIC works... yes
checking if /usr/local/bin/ccache g++ static flag -static works... yes
checking if /usr/local/bin/ccache g++ supports -c -o file.o... yes
checking if /usr/local/bin/ccache g++ supports -c -o file.o... (cached) yes
checking whether the /usr/local/bin/ccache g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.4 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
configure: strict error checking enabled: yes
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
Making all in compat
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include -I/usr/include -I../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT assert.o -MD -MP -MF .deps/assert.Tpo -c -o assert.o ../../compat/assert.cc
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include -I/usr/include -I../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o ../../compat/compat.cc
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include -I/usr/include -I../../libltdl -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -I/usr/local/include -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o ../../compat/debug.cc
/usr/local/bin/ccache gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../include -I/usr/local/include -I/usr/include -I/usr/include -I../../libltdl -I/usr/include -I/usr/include -Werror -pipe -D_REENTRANT -Wall -g -O2 -I/usr/local/include -MT GnuRegex.o -MD -MP -MF .deps/GnuRegex.Tpo -c -o GnuRegex.o ../../compat/GnuRegex.c
In file included from ../../include/squid.h:66,
                 from ../../compat/assert.cc:32:
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
In file included from ../../include/squid.h:66,
                 from ../../compat/GnuRegex.c:31:
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
In file included from ../../include/squid.h:66,
                 from ../../compat/compat.cc:1:
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
In file included from ../../include/squid.h:66,
                 from ../../compat/debug.cc:1:
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
4 errors
*** 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 -g -O2 -I/usr/local/include
configure: BUILD EXTRA C FLAGS: -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -Wall -g -O2 -I/usr/local/include
configure: BUILD EXTRA C FLAGS: -Werror -pipe -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
../../compat/compat.h:64:29: error: compat/os/mswin.h: No such file or directory
../../compat/compat.h:73:31: error: compat/os/windows.h: No such file or directory
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
*** Error code 1
Build FAILED.
Build step 'Execute shell' marked build as failure
Received on Mon Oct 08 2012 - 09:14:06 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 08 2012 - 12:00:03 MDT