You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2011/12/12 23:46:17 UTC

Build failed in Jenkins: Thrift-Compiler-Windows #233

See <https://builds.apache.org/job/Thrift-Compiler-Windows/233/changes>

Changes:

[roger] THRIFT-1462 add more strict compiler flags(-Wall -Wextra -std=c++0x -pedantic)

------------------------------------------
[...truncated 225 lines...]
checking for pthread_create in -lpthread... no
checking for clock_gettime in -lrt... no
checking for setsockopt in -lsocket... no
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether AI_ADDRCONFIG is declared... no
checking for working alloca.h... no
checking for alloca... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for working memcmp... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking for sys/socket.h... (cached) no
checking types of arguments for select... int,int *,struct timeval *
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strtoul... yes
checking for bzero... no
checking for ftruncate... yes
checking for gethostbyname... no
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for realpath... no
checking for select... no
checking for socket... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for sqrt... yes
checking for alarm... no
checking for clock_gettime... no
checking for sched_get_priority_min... no
checking for sched_get_priority_max... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compiler/cpp/Makefile
config.status: creating compiler/cpp/version.h
config.status: creating lib/Makefile
config.status: creating lib/cpp/Makefile
config.status: creating lib/cpp/test/Makefile
config.status: creating lib/cpp/thrift-nb.pc
config.status: creating lib/cpp/thrift-z.pc
config.status: creating lib/cpp/thrift.pc
config.status: creating lib/c_glib/Makefile
config.status: creating lib/c_glib/thrift_c_glib.pc
config.status: creating lib/c_glib/test/Makefile
config.status: creating lib/csharp/Makefile
config.status: creating lib/erl/Makefile
config.status: creating lib/erl/src/thrift.app.src
config.status: creating lib/hs/Makefile
config.status: creating lib/java/Makefile
config.status: creating lib/js/test/Makefile
config.status: creating lib/perl/Makefile
config.status: creating lib/perl/test/Makefile
config.status: creating lib/php/Makefile
config.status: creating lib/py/Makefile
config.status: creating lib/rb/Makefile
config.status: creating test/Makefile
config.status: creating test/cpp/Makefile
config.status: creating test/hs/Makefile
config.status: creating test/py/Makefile
config.status: creating test/py.twisted/Makefile
config.status: creating test/rb/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in lib/php/src/ext/thrift_protocol (<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift/lib/php/src/ext/thrift_protocol)>
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--without-cpp' '--without-java' '--without-csharp' '--without-python' '--without-ruby' '--without-haskell' '--without-perl' '--without-php' '--without-erlang' '--build=i686-pc-linux-gnu' '--host=i586-mingw32msvc' 'CPPFLAGS=-DMINGW' 'build_alias=i686-pc-linux-gnu' 'host_alias=i586-mingw32msvc' --cache-file=/dev/null --srcdir=.
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for i586-mingw32msvc-cc... i586-mingw32msvc-cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-mingw32msvc-cc accepts -g... yes
checking for i586-mingw32msvc-cc option to accept ISO C89... none needed
checking how to run the C preprocessor... i586-mingw32msvc-cc -E
checking for icc... no
checking for suncc... no
checking whether i586-mingw32msvc-cc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i586-pc-mingw32msvc
checking target system type... i586-pc-mingw32msvc
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20090626
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable the thrift_protocol extension... yes, shared
checking for i586-mingw32msvc-g++... i586-mingw32msvc-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i586-mingw32msvc-g++ accepts -g... yes
checking how to run the C++ preprocessor... i586-mingw32msvc-g++ -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i586-mingw32msvc-cc... /usr/i586-mingw32msvc/bin/ld
checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i586-mingw32msvc-nm -B
checking the name lister (/usr/bin/i586-mingw32msvc-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i586-mingw32msvc/bin/ld option to reload object files... -r
checking for i586-mingw32msvc-objdump... i586-mingw32msvc-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i586-mingw32msvc-ar... i586-mingw32msvc-ar
checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
checking for i586-mingw32msvc-ranlib... i586-mingw32msvc-ranlib
checking command to parse /usr/bin/i586-mingw32msvc-nm -B output from i586-mingw32msvc-cc object... ok
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... no
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether i586-mingw32msvc-g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... i586-mingw32msvc-g++ -E
checking for objdir... .libs
checking if i586-mingw32msvc-cc supports -fno-rtti -fno-exceptions... no
checking for i586-mingw32msvc-cc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i586-mingw32msvc-cc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i586-mingw32msvc-cc static flag -static works... yes
checking if i586-mingw32msvc-cc supports -c -o file.o... yes
checking if i586-mingw32msvc-cc supports -c -o file.o... (cached) yes
checking whether the i586-mingw32msvc-cc linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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... no
checking for ld used by i586-mingw32msvc-g++... /usr/i586-mingw32msvc/bin/ld
checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes
checking whether the i586-mingw32msvc-g++ linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes
checking for i586-mingw32msvc-g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if i586-mingw32msvc-g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i586-mingw32msvc-g++ static flag -static works... yes
checking if i586-mingw32msvc-g++ supports -c -o file.o... yes
checking if i586-mingw32msvc-g++ supports -c -o file.o... (cached) yes
checking whether the i586-mingw32msvc-g++ linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands

thrift 0.9.0-dev

Building code generators ..... :

Building C++ Library ......... : no
Building C (GLib) Library .... : no
Building Java Library ........ : no
Building C# Library .......... : no
Building Python Library ...... : no
Building Ruby Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : no
Building PHP Library ......... : no
Building Erlang Library ...... : no
Building Go Library .......... : no

If something is missing that you think should be present,
please skim the output of configure to find the missing
component.  Details are present in config.log.
make  all-recursive
make[1]: Entering directory `<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift'>
Making all in compiler/cpp
make[2]: Entering directory `<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift/compiler/cpp'>
make  all-am
make[3]: Entering directory `<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift/compiler/cpp'>
\
	 \
	/bin/bash ../../ylwrap `test -f 'src/thrifty.yy' || echo './'`src/thrifty.yy y.tab.c thrifty.cc y.tab.h thrifty.h y.output thrifty.output -- bison -y  -d
updating thrifty.h
i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../..  -I./src -DMINGW -Wall -Wno-sign-compare -Wno-unused -g -O2 -MT libparse_a-thrifty.o -MD -MP -MF .deps/libparse_a-thrifty.Tpo -c -o libparse_a-thrifty.o `test -f 'thrifty.cc' || echo './'`thrifty.cc
mv -f .deps/libparse_a-thrifty.Tpo .deps/libparse_a-thrifty.Po
\
	 \
	/bin/bash ../../ylwrap `test -f 'src/thriftl.ll' || echo './'`src/thriftl.ll lex.yy.c thriftl.cc -- flex  
i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../..  -I./src -DMINGW -Wall -Wno-sign-compare -Wno-unused -g -O2 -MT libparse_a-thriftl.o -MD -MP -MF .deps/libparse_a-thriftl.Tpo -c -o libparse_a-thriftl.o `test -f 'thriftl.cc' || echo './'`thriftl.cc
mv -f .deps/libparse_a-thriftl.Tpo .deps/libparse_a-thriftl.Po
rm -f libparse.a
i586-mingw32msvc-ar cru libparse.a libparse_a-thrifty.o libparse_a-thriftl.o 
i586-mingw32msvc-ranlib libparse.a
i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I../..  -I./src -DMINGW -Wall -Wextra -std=c++0x -pedantic -g -O2 -MT thrift-main.o -MD -MP -MF .deps/thrift-main.Tpo -c -o thrift-main.o `test -f 'src/main.cc' || echo './'`src/main.cc
cc1plus: error: unrecognized command line option "-std=c++0x"
make[3]: *** [thrift-main.o] Error 1
make[3]: Leaving directory `<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift/compiler/cpp'>
make[2]: *** [all] Error 2
make[2]: Leaving directory `<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift/compiler/cpp'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<https://builds.apache.org/job/Thrift-Compiler-Windows/ws/thrift'>
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts


Jenkins build is back to normal : Thrift-Compiler-Windows #234

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Thrift-Compiler-Windows/234/changes>