It appears the std::fread function on Linux is implemented using attribute
warn_unused_result, and the Mac OS X one is not. Is there a way to just
turn off that attribute? Maybe even just turn off that attribute on Linux?



On Fri, Aug 24, 2012 at 5:14 PM, Benjamin Mahler <[email protected]>wrote:

> I had a feeling this would happen, what is the difference between jenkins
> and our local make / make check?
>
> On Fri, Aug 24, 2012 at 3:58 PM, Apache Jenkins Server <
> [email protected]> wrote:
>
>> See <
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/201/changes
>> >
>>
>> Changes:
>>
>> [benh] Enables -Wall -Werror for building (contributed by Ben Mahler,
>> https://reviews.apache.org/r/6499).
>>
>> ------------------------------------------
>> [...truncated 2260 lines...]
>> checking for cppunit-config... /usr/bin/cppunit-config
>> checking for Cppunit - version >= 1.10.2... 1.12.1
>> checking for generated/zookeeper.jute.c... yes
>> checking for generated/zookeeper.jute.h... yes
>> checking for gcc... gcc
>> 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 gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... none needed
>> checking for style of include used by make... GNU
>> checking dependency style of gcc... gcc3
>> checking whether gcc and cc understand -c and -o together... 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++... gcc3
>> checking whether ln -s works... yes
>> checking build system type... x86_64-unknown-linux-gnu
>> checking host system type... x86_64-unknown-linux-gnu
>> checking how to print strings... printf
>> checking for a sed that does not truncate output... /bin/sed
>> checking for grep that handles long lines and -e... /bin/grep
>> checking for egrep... /bin/grep -E
>> checking for fgrep... /bin/grep -F
>> checking for ld used by 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 the maximum length of command line arguments...
>> 3458764513820540925
>> checking whether the shell understands some XSI constructs... yes
>> checking whether the shell understands "+="... yes
>> checking how to convert x86_64-unknown-linux-gnu file names to
>> x86_64-unknown-linux-gnu format... func_convert_file_noop
>> checking how to convert x86_64-unknown-linux-gnu file names to toolchain
>> format... func_convert_file_noop
>> 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 dlltool... no
>> checking how to associate runtime and link libraries... printf %s\n
>> checking for ar... ar
>> checking for archiver @FILE support... @
>> checking for strip... strip
>> checking for ranlib... ranlib
>> checking command to parse /usr/bin/nm -B output from gcc object... ok
>> checking for sysroot... no
>> checking for mt... mt
>> checking if mt is a manifest tool... no
>> 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 for dlfcn.h... yes
>> checking for objdir... .libs
>> checking if gcc supports -fno-rtti -fno-exceptions... no
>> checking for gcc option to produce PIC... -fPIC -DPIC
>> checking if gcc PIC flag -fPIC -DPIC works... yes
>> checking if gcc static flag -static works... yes
>> checking if gcc supports -c -o file.o... yes
>> checking if gcc supports -c -o file.o... (cached) yes
>> checking whether the gcc 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 whether stripping libraries is possible... yes
>> checking if libtool supports shared libraries... yes
>> checking whether to build shared libraries... no
>> checking whether to build static libraries... yes
>> checking how to run the C++ preprocessor... g++ -E
>> 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 -DPIC
>> checking if g++ PIC flag -fPIC -DPIC works... yes
>> checking if g++ static flag -static works... yes
>> checking if g++ supports -c -o file.o... yes
>> checking if g++ supports -c -o file.o... (cached) yes
>> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
>> shared libraries... yes
>> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking for pthread_mutex_lock in -lpthread... yes
>> configure: building with SyncAPI support
>> checking for ANSI C header files... (cached) yes
>> checking arpa/inet.h usability... yes
>> checking arpa/inet.h presence... yes
>> checking for arpa/inet.h... yes
>> checking fcntl.h usability... yes
>> checking fcntl.h presence... yes
>> checking for fcntl.h... yes
>> checking netdb.h usability... yes
>> checking netdb.h presence... yes
>> checking for netdb.h... yes
>> checking netinet/in.h usability... yes
>> checking netinet/in.h presence... yes
>> checking for netinet/in.h... yes
>> checking for stdlib.h... (cached) yes
>> checking for string.h... (cached) yes
>> checking sys/socket.h usability... yes
>> checking sys/socket.h presence... yes
>> checking for sys/socket.h... yes
>> checking sys/time.h usability... yes
>> checking sys/time.h presence... yes
>> checking for sys/time.h... yes
>> checking for unistd.h... (cached) yes
>> checking sys/utsname.h usability... yes
>> checking sys/utsname.h presence... yes
>> checking for sys/utsname.h... yes
>> checking for an ANSI C-conforming const... yes
>> checking for inline... inline
>> checking whether time.h and sys/time.h may both be included... yes
>> checking for nfds_t... yes
>> checking whether to enable ipv6... yes
>> checking for getcwd... yes
>> checking for gethostbyname... yes
>> checking for gethostname... yes
>> checking for getlogin... yes
>> checking for getpwuid_r... yes
>> checking for gettimeofday... yes
>> checking for getuid... yes
>> checking for memmove... yes
>> checking for memset... yes
>> checking for poll... yes
>> checking for socket... yes
>> checking for strchr... yes
>> checking for strdup... yes
>> checking for strerror... yes
>> checking for strtol... yes
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating config.h
>> config.status: executing depfiles commands
>> config.status: executing libtool commands
>> make[4]: Entering directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c
>> '>
>> make  all-am
>> make[5]: Entering directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c
>> '>
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c -o zookeeper.lo `test
>> -f 'src/zookeeper.c' || echo './'`src/zookeeper.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zookeeper.lo -MD -MP
>> -MF .deps/zookeeper.Tpo -c src/zookeeper.c  -fPIC -DPIC -o zookeeper.o
>> mv -f .deps/zookeeper.Tpo .deps/zookeeper.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT recordio.lo -MD -MP -MF .deps/recordio.Tpo -c -o recordio.lo `test -f
>> 'src/recordio.c' || echo './'`src/recordio.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT recordio.lo -MD -MP
>> -MF .deps/recordio.Tpo -c src/recordio.c  -fPIC -DPIC -o recordio.o
>> mv -f .deps/recordio.Tpo .deps/recordio.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT zookeeper.jute.lo -MD -MP -MF .deps/zookeeper.jute.Tpo -c -o
>> zookeeper.jute.lo `test -f 'generated/zookeeper.jute.c' || echo
>> './'`generated/zookeeper.jute.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zookeeper.jute.lo -MD
>> -MP -MF .deps/zookeeper.jute.Tpo -c generated/zookeeper.jute.c  -fPIC -DPIC
>> -o zookeeper.jute.o
>> mv -f .deps/zookeeper.jute.Tpo .deps/zookeeper.jute.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT zk_log.lo -MD -MP -MF .deps/zk_log.Tpo -c -o zk_log.lo `test -f
>> 'src/zk_log.c' || echo './'`src/zk_log.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zk_log.lo -MD -MP -MF
>> .deps/zk_log.Tpo -c src/zk_log.c  -fPIC -DPIC -o zk_log.o
>> mv -f .deps/zk_log.Tpo .deps/zk_log.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT zk_hashtable.lo -MD -MP -MF .deps/zk_hashtable.Tpo -c -o
>> zk_hashtable.lo `test -f 'src/zk_hashtable.c' || echo
>> './'`src/zk_hashtable.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zk_hashtable.lo -MD
>> -MP -MF .deps/zk_hashtable.Tpo -c src/zk_hashtable.c  -fPIC -DPIC -o
>> zk_hashtable.o
>> mv -f .deps/zk_hashtable.Tpo .deps/zk_hashtable.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT st_adaptor.lo -MD -MP -MF .deps/st_adaptor.Tpo -c -o st_adaptor.lo
>> `test -f 'src/st_adaptor.c' || echo './'`src/st_adaptor.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT st_adaptor.lo -MD -MP
>> -MF .deps/st_adaptor.Tpo -c src/st_adaptor.c  -fPIC -DPIC -o st_adaptor.o
>> mv -f .deps/st_adaptor.Tpo .deps/st_adaptor.Plo
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Werror  -g -O2
>> -D_GNU_SOURCE   -o libzkst.la  zookeeper.lo recordio.lo
>> zookeeper.jute.lo zk_log.lo zk_hashtable.lo st_adaptor.lo -lm
>> libtool: link: ar cru .libs/libzkst.a  zookeeper.o recordio.o
>> zookeeper.jute.o zk_log.o zk_hashtable.o st_adaptor.o
>> libtool: link: ranlib .libs/libzkst.a
>> libtool: link: ( cd ".libs" && rm -f "libzkst.la" && ln -s "../libzkst.la"
>> "libzkst.la" )
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT hashtable_itr.lo -MD -MP -MF .deps/hashtable_itr.Tpo -c -o
>> hashtable_itr.lo `test -f 'src/hashtable/hashtable_itr.c' || echo
>> './'`src/hashtable/hashtable_itr.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT hashtable_itr.lo -MD
>> -MP -MF .deps/hashtable_itr.Tpo -c src/hashtable/hashtable_itr.c  -fPIC
>> -DPIC -o hashtable_itr.o
>> mv -f .deps/hashtable_itr.Tpo .deps/hashtable_itr.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
>> -MT hashtable.lo -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.lo `test
>> -f 'src/hashtable/hashtable.c' || echo './'`src/hashtable/hashtable.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT hashtable.lo -MD -MP
>> -MF .deps/hashtable.Tpo -c src/hashtable/hashtable.c  -fPIC -DPIC -o
>> hashtable.o
>> mv -f .deps/hashtable.Tpo .deps/hashtable.Plo
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Werror  -g -O2
>> -D_GNU_SOURCE   -o libhashtable.la  hashtable_itr.lo hashtable.lo
>> libtool: link: ar cru .libs/libhashtable.a  hashtable_itr.o hashtable.o
>> libtool: link: ranlib .libs/libhashtable.a
>> libtool: link: ( cd ".libs" && rm -f "libhashtable.la" && ln -s "../
>> libhashtable.la" "libhashtable.la" )
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Werror  -g -O2
>> -D_GNU_SOURCE -no-undefined -version-info 2 -export-symbols-regex
>> '(zoo_|zookeeper_|zhandle|Z|format_log_message|log_message|logLevel|deallocate_|zerror|is_unrecoverable)'
>>  -o libzookeeper_st.la -rpath /usr/local/lib  libzkst.la libhashtable.la
>> libtool: link: (cd .libs/libzookeeper_st.lax/libzkst.a && ar x "<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c/./.libs/libzkst.a
>> ")>
>> libtool: link: (cd .libs/libzookeeper_st.lax/libhashtable.a && ar x "<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c/./.libs/libhashtable.a
>> ")>
>> libtool: link: ar cru .libs/libzookeeper_st.a
>> .libs/libzookeeper_st.lax/libzkst.a/recordio.o
>> .libs/libzookeeper_st.lax/libzkst.a/st_adaptor.o
>> .libs/libzookeeper_st.lax/libzkst.a/zk_hashtable.o
>> .libs/libzookeeper_st.lax/libzkst.a/zk_log.o
>> .libs/libzookeeper_st.lax/libzkst.a/zookeeper.jute.o
>> .libs/libzookeeper_st.lax/libzkst.a/zookeeper.o
>>  .libs/libzookeeper_st.lax/libhashtable.a/hashtable.o
>> .libs/libzookeeper_st.lax/libhashtable.a/hashtable_itr.o
>> libtool: link: ranlib .libs/libzookeeper_st.a
>> libtool: link: rm -fr .libs/libzookeeper_st.lax
>> libtool: link: ( cd ".libs" && rm -f "libzookeeper_st.la" && ln -s "../
>> libzookeeper_st.la" "libzookeeper_st.la" )
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-zookeeper.lo -MD -MP -MF .deps/libzkmt_la-zookeeper.Tpo -c -o
>> libzkmt_la-zookeeper.lo `test -f 'src/zookeeper.c' || echo
>> './'`src/zookeeper.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-zookeeper.lo
>> -MD -MP -MF .deps/libzkmt_la-zookeeper.Tpo -c src/zookeeper.c  -fPIC -DPIC
>> -o libzkmt_la-zookeeper.o
>> mv -f .deps/libzkmt_la-zookeeper.Tpo .deps/libzkmt_la-zookeeper.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-recordio.lo -MD -MP -MF .deps/libzkmt_la-recordio.Tpo -c -o
>> libzkmt_la-recordio.lo `test -f 'src/recordio.c' || echo './'`src/recordio.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-recordio.lo
>> -MD -MP -MF .deps/libzkmt_la-recordio.Tpo -c src/recordio.c  -fPIC -DPIC -o
>> libzkmt_la-recordio.o
>> mv -f .deps/libzkmt_la-recordio.Tpo .deps/libzkmt_la-recordio.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-zookeeper.jute.lo -MD -MP -MF
>> .deps/libzkmt_la-zookeeper.jute.Tpo -c -o libzkmt_la-zookeeper.jute.lo
>> `test -f 'generated/zookeeper.jute.c' || echo
>> './'`generated/zookeeper.jute.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-zookeeper.jute.lo -MD -MP -MF
>> .deps/libzkmt_la-zookeeper.jute.Tpo -c generated/zookeeper.jute.c  -fPIC
>> -DPIC -o libzkmt_la-zookeeper.jute.o
>> mv -f .deps/libzkmt_la-zookeeper.jute.Tpo
>> .deps/libzkmt_la-zookeeper.jute.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-zk_log.lo -MD -MP -MF .deps/libzkmt_la-zk_log.Tpo -c -o
>> libzkmt_la-zk_log.lo `test -f 'src/zk_log.c' || echo './'`src/zk_log.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-zk_log.lo -MD
>> -MP -MF .deps/libzkmt_la-zk_log.Tpo -c src/zk_log.c  -fPIC -DPIC -o
>> libzkmt_la-zk_log.o
>> mv -f .deps/libzkmt_la-zk_log.Tpo .deps/libzkmt_la-zk_log.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-zk_hashtable.lo -MD -MP -MF .deps/libzkmt_la-zk_hashtable.Tpo -c
>> -o libzkmt_la-zk_hashtable.lo `test -f 'src/zk_hashtable.c' || echo
>> './'`src/zk_hashtable.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-zk_hashtable.lo -MD -MP -MF .deps/libzkmt_la-zk_hashtable.Tpo -c
>> src/zk_hashtable.c  -fPIC -DPIC -o libzkmt_la-zk_hashtable.o
>> mv -f .deps/libzkmt_la-zk_hashtable.Tpo .deps/libzkmt_la-zk_hashtable.Plo
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>>  -I./include -I./tests -I./generated  -DTHREADED -g -O2 -D_GNU_SOURCE -MT
>> libzkmt_la-mt_adaptor.lo -MD -MP -MF .deps/libzkmt_la-mt_adaptor.Tpo -c -o
>> libzkmt_la-mt_adaptor.lo `test -f 'src/mt_adaptor.c' || echo
>> './'`src/mt_adaptor.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
>> -I./generated -DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-mt_adaptor.lo
>> -MD -MP -MF .deps/libzkmt_la-mt_adaptor.Tpo -c src/mt_adaptor.c  -fPIC
>> -DPIC -o libzkmt_la-mt_adaptor.o
>> mv -f .deps/libzkmt_la-mt_adaptor.Tpo .deps/libzkmt_la-mt_adaptor.Plo
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -DTHREADED -g -O2
>> -D_GNU_SOURCE   -o libzkmt.la  libzkmt_la-zookeeper.lo
>> libzkmt_la-recordio.lo libzkmt_la-zookeeper.jute.lo libzkmt_la-zk_log.lo
>> libzkmt_la-zk_hashtable.lo libzkmt_la-mt_adaptor.lo -lm
>> libtool: link: ar cru .libs/libzkmt.a  libzkmt_la-zookeeper.o
>> libzkmt_la-recordio.o libzkmt_la-zookeeper.jute.o libzkmt_la-zk_log.o
>> libzkmt_la-zk_hashtable.o libzkmt_la-mt_adaptor.o
>> libtool: link: ranlib .libs/libzkmt.a
>> libtool: link: ( cd ".libs" && rm -f "libzkmt.la" && ln -s "../libzkmt.la"
>> "libzkmt.la" )
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Werror  -g -O2
>> -D_GNU_SOURCE -no-undefined -version-info 2 -export-symbols-regex
>> '(zoo_|zookeeper_|zhandle|Z|format_log_message|log_message|logLevel|deallocate_|zerror|is_unrecoverable)'
>>  -o libzookeeper_mt.la -rpath /usr/local/lib  libzkmt.la 
>> libhashtable.la-lpthread
>> libtool: link: (cd .libs/libzookeeper_mt.lax/libzkmt.a && ar x "<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c/./.libs/libzkmt.a
>> ")>
>> libtool: link: (cd .libs/libzookeeper_mt.lax/libhashtable.a && ar x "<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c/./.libs/libhashtable.a
>> ")>
>> libtool: link: ar cru .libs/libzookeeper_mt.a
>> .libs/libzookeeper_mt.lax/libzkmt.a/libzkmt_la-mt_adaptor.o
>> .libs/libzookeeper_mt.lax/libzkmt.a/libzkmt_la-recordio.o
>> .libs/libzookeeper_mt.lax/libzkmt.a/libzkmt_la-zk_hashtable.o
>> .libs/libzookeeper_mt.lax/libzkmt.a/libzkmt_la-zk_log.o
>> .libs/libzookeeper_mt.lax/libzkmt.a/libzkmt_la-zookeeper.jute.o
>> .libs/libzookeeper_mt.lax/libzkmt.a/libzkmt_la-zookeeper.o
>>  .libs/libzookeeper_mt.lax/libhashtable.a/hashtable.o
>> .libs/libzookeeper_mt.lax/libhashtable.a/hashtable_itr.o
>> libtool: link: ranlib .libs/libzookeeper_mt.a
>> libtool: link: rm -fr .libs/libzookeeper_mt.lax
>> libtool: link: ( cd ".libs" && rm -f "libzookeeper_mt.la" && ln -s "../
>> libzookeeper_mt.la" "libzookeeper_mt.la" )
>> gcc -DHAVE_CONFIG_H -I.  -I./include -I./tests -I./generated  -Wall
>> -Werror  -g -O2 -D_GNU_SOURCE -MT cli.o -MD -MP -MF .deps/cli.Tpo -c -o
>> cli.o `test -f 'src/cli.c' || echo './'`src/cli.c
>> mv -f .deps/cli.Tpo .deps/cli.Po
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -Wall -Werror  -g -O2
>> -D_GNU_SOURCE   -o cli_st cli.o libzookeeper_st.la
>> libtool: link: gcc -Wall -Werror -g -O2 -D_GNU_SOURCE -o cli_st cli.o
>>  ./.libs/libzookeeper_st.a -lm
>> gcc -DHAVE_CONFIG_H -I.  -I./include -I./tests -I./generated  -DTHREADED
>> -g -O2 -D_GNU_SOURCE -MT cli_mt-cli.o -MD -MP -MF .deps/cli_mt-cli.Tpo -c
>> -o cli_mt-cli.o `test -f 'src/cli.c' || echo './'`src/cli.c
>> mv -f .deps/cli_mt-cli.Tpo .deps/cli_mt-cli.Po
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -DTHREADED -g -O2
>> -D_GNU_SOURCE   -o cli_mt cli_mt-cli.o libzookeeper_mt.la
>> libtool: link: gcc -DTHREADED -g -O2 -D_GNU_SOURCE -o cli_mt cli_mt-cli.o
>>  ./.libs/libzookeeper_mt.a -lm -lpthread
>> gcc -DHAVE_CONFIG_H -I.  -I./include -I./tests -I./generated  -DTHREADED
>> -g -O2 -D_GNU_SOURCE -MT load_gen-load_gen.o -MD -MP -MF
>> .deps/load_gen-load_gen.Tpo -c -o load_gen-load_gen.o `test -f
>> 'src/load_gen.c' || echo './'`src/load_gen.c
>> mv -f .deps/load_gen-load_gen.Tpo .deps/load_gen-load_gen.Po
>> /bin/bash ./libtool --tag=CC   --mode=link gcc -DTHREADED -g -O2
>> -D_GNU_SOURCE   -o load_gen load_gen-load_gen.o libzookeeper_mt.la
>> libtool: link: gcc -DTHREADED -g -O2 -D_GNU_SOURCE -o load_gen
>> load_gen-load_gen.o  ./.libs/libzookeeper_mt.a -lm -lpthread
>> make[5]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c
>> '>
>> make[4]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party/zookeeper-3.3.4/src/c
>> '>
>> make[3]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party
>> '>
>> make[2]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party
>> '>
>> make[1]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/third_party
>> '>
>> Making all in src
>> make[1]: Entering directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src
>> '>
>> Building protobuf-2.4.1.jar ...
>> Building mesos-0.9.0.jar ...
>> make  all-am
>> make[2]: Entering directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src
>> '>
>> /bin/bash ../libtool  --tag=CXX   --mode=compile g++
>> -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
>> -DPACKAGE_VERSION=\"0.9.0\" -DPACKAGE_STRING=\"mesos\ 0.9.0\"
>> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
>> -DVERSION=\"0.9.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1
>> -DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 -I.   -Wall -Werror
>> -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
>> -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
>> -I../third_party/libprocess/include -I../include
>> -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src
>> -I../third_party/glog-0.3.1/src
>> -I../third_party/zookeeper-3.3.4/src/c/include
>> -I../third_party/zookeeper-3.3.4/src/c/generated   -g2 -O2 -MT
>> sched/libmesos_no_third_party_la-sched.lo -MD -MP -MF
>> sched/.deps/libmesos_no_third_party_la-sched.Tpo -c -o
>> sched/libmesos_no_third_party_la-sched.lo `test -f 'sched/sched.cpp' ||
>> echo './'`sched/sched.cpp
>> libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\"
>> -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.9.0\"
>> "-DPACKAGE_STRING=\"mesos 0.9.0\"" -DPACKAGE_BUGREPORT=\"\"
>> -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.9.0\" -DSTDC_HEADERS=1
>> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
>> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
>> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
>> -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 -DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1
>> -I. -Wall -Werror -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\"
>> -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include
>> -I../third_party/libprocess/include -I../include
>> -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src
>> -I../third_party/glog-0.3.1/src
>> -I../third_party/zookeeper-3.3.4/src/c/include
>> -I../third_party/zookeeper-3.3.4/src/c/generated -g2 -O2 -MT
>> sched/libmesos_no_third_party_la-sched.lo -MD -MP -MF
>> sched/.deps/libmesos_no_third_party_la-sched.Tpo -c sched/sched.cpp  -fPIC
>> -DPIC -o sched/.libs/libmesos_no_third_party_la-sched.o
>> cc1plus: warnings being treated as errors
>> In file included from
>> ../third_party/boost-1.37.0/boost/uuid/random_generator.hpp:12,
>>                  from
>> ../third_party/boost-1.37.0/boost/uuid/uuid_generators.hpp:17,
>>                  from ../third_party/libprocess/include/stout/uuid.hpp:11,
>>                  from sched/sched.cpp:44:
>> ../third_party/boost-1.37.0/boost/uuid/seed_rng.hpp: In member function
>> 'void boost::uuids::detail::seed_rng::sha1_random_digest_()':
>> ../third_party/boost-1.37.0/boost/uuid/seed_rng.hpp:153: error: ignoring
>> return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with
>> attribute warn_unused_result
>> make[2]: *** [sched/libmesos_no_third_party_la-sched.lo] Error 1
>> make[2]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src
>> '>
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `<
>> https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src
>> '>
>> make: *** [all-recursive] Error 1
>> Build step 'Execute shell' marked build as failure
>>
>
>

Reply via email to