See <http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/434/changes>
Changes: [Amos Jeffries <[email protected]>] Compat: Shuffle final squid.h hacks into libcompat [Amos Jeffries <[email protected]>] Compat: Several compile issues in Profiler and LeakFinder ------------------------------------------ [...truncated 2963 lines...] checking for shl_load in -ldld... (cached) no checking for dlopen in -ldl... (cached) yes checking for dlerror... yes checking whether compiler accepts -fhuge-objects... 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 === configuring in libltdl (<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl)> configure: running /bin/sh ../../libltdl/configure '--prefix=<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_inst'> '--with-squid=<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR'> '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=../../libltdl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... f95 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f95 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for f95 option to produce PIC... -fPIC checking if f95 PIC flag -fPIC works... yes checking if f95 static flag -static works... yes checking if f95 supports -c -o file.o... yes checking whether the f95 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib64 /usr/lib64 /usr/lib64/mysql checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make[1]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/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-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/compat'> if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT assert.lo -MD -MP -MF ".deps/assert.Tpo" -c -o assert.lo ../../compat/assert.cc; \ then mv -f ".deps/assert.Tpo" ".deps/assert.Plo"; else rm -f ".deps/assert.Tpo"; exit 1; fi if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT compat.lo -MD -MP -MF ".deps/compat.Tpo" -c -o compat.lo ../../compat/compat.cc; \ then mv -f ".deps/compat.Tpo" ".deps/compat.Plo"; else rm -f ".deps/compat.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT assert.lo -MD -MP -MF .deps/assert.Tpo -c ../../compat/assert.cc -fPIC -DPIC -o .libs/assert.o g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT assert.lo -MD -MP -MF .deps/assert.Tpo -c ../../compat/assert.cc -o assert.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT debug.lo -MD -MP -MF ".deps/debug.Tpo" -c -o debug.lo ../../compat/debug.cc; \ then mv -f ".deps/debug.Tpo" ".deps/debug.Plo"; else rm -f ".deps/debug.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c ../../compat/compat.cc -fPIC -DPIC -o .libs/compat.o g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c ../../compat/debug.cc -fPIC -DPIC -o .libs/debug.o g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c ../../compat/debug.cc -o debug.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -pipe -MT GnuRegex.lo -MD -MP -MF ".deps/GnuRegex.Tpo" -c -o GnuRegex.lo ../../compat/GnuRegex.c; \ then mv -f ".deps/GnuRegex.Tpo" ".deps/GnuRegex.Plo"; else rm -f ".deps/GnuRegex.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT compat.lo -MD -MP -MF .deps/compat.Tpo -c ../../compat/compat.cc -o compat.o >/dev/null 2>&1 gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -pipe -MT GnuRegex.lo -MD -MP -MF .deps/GnuRegex.Tpo -c ../../compat/GnuRegex.c -fPIC -DPIC -o .libs/GnuRegex.o gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -pipe -MT GnuRegex.lo -MD -MP -MF .deps/GnuRegex.Tpo -c ../../compat/GnuRegex.c -o GnuRegex.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -g -o libcompat.la assert.lo compat.lo debug.lo GnuRegex.lo ar cru .libs/libcompat.a .libs/assert.o .libs/compat.o .libs/debug.o .libs/GnuRegex.o ranlib .libs/libcompat.a creating libcompat.la (cd .libs && rm -f libcompat.la && ln -s ../libcompat.la libcompat.la) make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/compat'> Making all in lib make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/lib'> make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/lib'> if g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 -pipe -MT MemPool.o -MD -MP -MF ".deps/MemPool.Tpo" -c -o MemPool.o ../../lib/MemPool.cc; \ then mv -f ".deps/MemPool.Tpo" ".deps/MemPool.Po"; else rm -f ".deps/MemPool.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../include -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror -D_REENTRANT -Wall -g -O2 -pipe -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o ../../lib/base64.c; \ then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi /usr/include/netinet/in.h:43: error: expected identifier before numeric constant /usr/include/netinet/in.h:43: error: expected `}' before numeric constant /usr/include/netinet/in.h:43: error: expected unqualified-id before numeric constant /usr/include/netinet/in.h:551: error: expected declaration before ‘}’ token make[3]: *** [MemPool.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /usr/include/arpa/inet.h:23, from ../../include/util.h:46, from ../../lib/base64.c:6: /usr/include/netinet/in.h:43: error: expected identifier before numeric constant make[3]: *** [base64.o] Error 1 make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/lib'> make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/lib'> make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOS-5.3/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'> make: *** [distcheck] Error 2 buildtest.sh result is 2 BUILD: .././test-suite/buildtests/layer-00-default.opts /usr/include/netinet/in.h:43: error: expected identifier before numeric constant /usr/include/netinet/in.h:43: error: expected `}' before numeric constant /usr/include/netinet/in.h:43: error: expected unqualified-id before numeric constant /usr/include/netinet/in.h:551: error: expected declaration before ‘}’ token make[3]: *** [MemPool.o] Error 1 /usr/include/netinet/in.h:43: error: expected identifier before numeric constant make[3]: *** [base64.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [distcheck] Error 2 Build FAILED.
