mesos-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klues <klue...@gmail.com>
Subject Re: Build failed in Jenkins: Mesos » gcc,--verbose,centos:7,docker||Hadoop #1370
Date Wed, 16 Dec 2015 20:46:40 GMT
So my guess is someone updated the builder, but didn't account for the
updated bento/centos-7.1 image that triggers the above error.

On Wed, Dec 16, 2015 at 12:29 PM, Kevin Klues <klueska@gmail.com> wrote:
> I ran into this while building a vagrant image the other day.  The
> problem is that (following the default getting started guide), maven
> pulls in a dependence on java before we install java-1.7.0.  the java
> it pulls in is java-1.8.0, but it only pulls in the jre, not the
> developer packages.  Then we install java-1.7.0-devel, which is fine,
> but we set JAVA_HOME to the java-1.8.0 installation, which doesn't
> have javac, and casues the configure to fail (take look in
> confugure.ac to see why).  I have a patch out for review to update the
> getting started guide:
>
> https://reviews.apache.org/r/41371/
>
> On Wed, Dec 16, 2015 at 11:58 AM, Michael Park <mpark@apache.org> wrote:
>> Hm... I have no idea how the changes I made here would have disallowed
>> configure to guess JAVA_HOME...
>>
>> Does anyone know what's going on here...?
>>
>> On Wed, Dec 16, 2015 at 7:54 PM Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>>
>>> See <
>>> https://builds.apache.org/job/Mesos/COMPILER=gcc,CONFIGURATION=--verbose,OS=centos%3A7,label_exp=docker%7C%7CHadoop/1370/changes
>>> >
>>>
>>> Changes:
>>>
>>> [mpark] Removed unnecessary public declaration of `model` for
>>> `ContainerStatus`.
>>>
>>> [mpark] Used `model` for `Labels` in `Master::Http`.
>>>
>>> ------------------------------------------
>>> [...truncated 2528 lines...]
>>> Step 13 : CMD ./bootstrap && ./configure --verbose &&
>>> DISTCHECK_CONFIGURE_FLAGS="--verbose" GLOG_v=1 MESOS_VERBOSE=1 make -j8
>>> distcheck
>>>  ---> Running in 87b033a04680
>>>  ---> d12204823544
>>> Removing intermediate container 87b033a04680
>>> Successfully built d12204823544
>>> + trap 'docker rmi mesos-1450295451-9233' EXIT
>>> + docker run --privileged --rm mesos-1450295451-9233
>>> ./bootstrap: line 62: which: command not found
>>> autoreconf: Entering directory `.'
>>> autoreconf: configure.ac: not using Gettext
>>> autoreconf: running: aclocal --warnings=all -I m4
>>> autoreconf: configure.ac: tracing
>>> configure.ac:47: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized option: $[1]
>>> configure.ac:47: Try \`$[0] --help' for more information.
>>> aclocal.m4:625: LT_OUTPUT is expanded from...
>>> configure.ac:47: the top level
>>> configure.ac:47: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized argument: $[1]
>>> configure.ac:47: Try \`$[0] --help' for more information.
>>> aclocal.m4:625: LT_OUTPUT is expanded from...
>>> configure.ac:47: the top level
>>> configure.ac:1474: warning: cannot check for file existence when cross
>>> compiling
>>> ../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
>>> configure.ac:1474: the top level
>>> autoreconf: configure.ac: adding subdirectory 3rdparty/libprocess to
>>> autoreconf
>>> autoreconf: Entering directory `3rdparty/libprocess'
>>> configure.ac:42: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized option: $[1]
>>> configure.ac:42: Try \`$[0] --help' for more information.
>>> aclocal.m4:625: LT_OUTPUT is expanded from...
>>> configure.ac:42: the top level
>>> configure.ac:42: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized argument: $[1]
>>> configure.ac:42: Try \`$[0] --help' for more information.
>>> aclocal.m4:625: LT_OUTPUT is expanded from...
>>> configure.ac:42: the top level
>>> autoreconf: configure.ac: adding subdirectory 3rdparty/stout to autoreconf
>>> autoreconf: Entering directory `3rdparty/stout'
>>> autoreconf: running: aclocal --warnings=all
>>> autoreconf: configure.ac: not using Libtool
>>> autoreconf: running: /usr/bin/autoconf --warnings=all
>>> autoreconf: configure.ac: not using Autoheader
>>> autoreconf: running: automake --add-missing --copy --no-force
>>> --warnings=all
>>> configure.ac:22: installing './missing'
>>> autoreconf: Leaving directory `3rdparty/stout'
>>> autoreconf: running: libtoolize --copy
>>> libtoolize: putting auxiliary files in `.'.
>>> libtoolize: copying file `./ltmain.sh'
>>> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
>>> libtoolize: copying file `m4/libtool.m4'
>>> libtoolize: copying file `m4/ltoptions.m4'
>>> libtoolize: copying file `m4/ltsugar.m4'
>>> libtoolize: copying file `m4/ltversion.m4'
>>> libtoolize: copying file `m4/lt~obsolete.m4'
>>> configure.ac:42: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized option: $[1]
>>> configure.ac:42: Try \`$[0] --help' for more information.
>>> m4/libtool.m4:609: LT_OUTPUT is expanded from...
>>> configure.ac:42: the top level
>>> configure.ac:42: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized argument: $[1]
>>> configure.ac:42: Try \`$[0] --help' for more information.
>>> m4/libtool.m4:609: LT_OUTPUT is expanded from...
>>> configure.ac:42: the top level
>>> configure.ac:35: installing './ar-lib'
>>> configure.ac:20: installing './config.guess'
>>> configure.ac:20: installing './config.sub'
>>> configure.ac:31: installing './missing'
>>> 3rdparty/Makefile.am: installing './depcomp'
>>> 3rdparty/Makefile.am:128: warning: variable 'GLOG_LDFLAGS' is defined but
>>> no program or
>>> 3rdparty/Makefile.am:128: library has 'GLOG' as canonical name (possible
>>> typo)
>>> autoreconf: Leaving directory `3rdparty/libprocess'
>>> libtoolize: putting auxiliary files in `.'.
>>> libtoolize: copying file `./ltmain.sh'
>>> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
>>> libtoolize: copying file `m4/libtool.m4'
>>> libtoolize: copying file `m4/ltoptions.m4'
>>> libtoolize: copying file `m4/ltsugar.m4'
>>> libtoolize: copying file `m4/ltversion.m4'
>>> libtoolize: copying file `m4/lt~obsolete.m4'
>>> configure.ac:47: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized option: $[1]
>>> configure.ac:47: Try \`$[0] --help' for more information.
>>> m4/libtool.m4:609: LT_OUTPUT is expanded from...
>>> configure.ac:47: the top level
>>> configure.ac:47: warning: back quotes and double quotes must not be
>>> escaped in: unrecognized argument: $[1]
>>> configure.ac:47: Try \`$[0] --help' for more information.
>>> m4/libtool.m4:609: LT_OUTPUT is expanded from...
>>> configure.ac:47: the top level
>>> configure.ac:1474: warning: cannot check for file existence when cross
>>> compiling
>>> ../../lib/autoconf/general.m4:2777: AC_CHECK_FILE is expanded from...
>>> configure.ac:1474: the top level
>>> configure.ac:40: installing './ar-lib'
>>> configure.ac:24: installing './config.guess'
>>> configure.ac:24: installing './config.sub'
>>> configure.ac:36: installing './install-sh'
>>> configure.ac:36: installing './missing'
>>> src/Makefile.am: installing './depcomp'
>>> autoreconf: Leaving directory `.'
>>> checking build system type... x86_64-unknown-linux-gnu
>>> checking host system type... x86_64-unknown-linux-gnu
>>> checking target system type... x86_64-unknown-linux-gnu
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>>> checking for gawk... gawk
>>> checking whether make sets $(MAKE)... yes
>>> checking whether make supports nested variables... yes
>>> checking whether to enable maintainer-specific portions of Makefiles... yes
>>> checking for style of include used by make... GNU
>>> 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 g++ accepts -g... yes
>>> checking dependency style of g++... gcc3
>>> checking for ar... ar
>>> checking the archiver (ar) interface... ar
>>> checking how to print strings... printf
>>> checking for gcc... gcc
>>> 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 dependency style of gcc... gcc3
>>> 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 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... 1572864
>>> 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 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... no
>>> checking if : 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... no
>>> 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 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... no
>>> 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... no
>>> 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
>>> configure: creating ./config.lt
>>> config.lt: creating libtool
>>> configure: Setting up build environment for x86_64 linux-gnu
>>> checking whether we are using the GNU C++ compiler... (cached) yes
>>> checking whether g++ accepts -g... (cached) yes
>>> checking dependency style of g++... (cached) gcc3
>>> checking whether we are using the GNU C compiler... (cached) yes
>>> checking whether gcc accepts -g... (cached) yes
>>> checking for gcc option to accept ISO C89... (cached) none needed
>>> checking dependency style of gcc... (cached) gcc3
>>> checking for C++ compiler vendor... gnu
>>> checking for C++ compiler version... 4.8.5
>>> checking for C++ compiler vendor... (cached) gnu
>>> checking for main in -lgflags... no
>>> configure: Setting up CXXFLAGS for g++ version >= 4.8
>>> checking whether g++ supports C++11 features by default... no
>>> checking whether g++ supports C++11 features with -std=c++11... yes
>>> checking if compiler needs -Werror to reject unknown flags... no
>>> checking for the pthreads library -lpthreads... no
>>> checking whether pthreads work without any flags... no
>>> checking whether pthreads work with -Kthread... no
>>> checking whether pthreads work with -kthread... no
>>> checking for the pthreads library -llthread... no
>>> checking whether pthreads work with -pthread... yes
>>> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
>>> checking if more special flags are required for pthreads... no
>>> checking for PTHREAD_PRIO_INHERIT... yes
>>> checking for backtrace in -lunwind... no
>>> checking for patch... patch
>>> checking for gzread in -lz... yes
>>> checking for curl_global_init in -lcurl... yes
>>> checking apr_pools.h usability... yes
>>> checking apr_pools.h presence... yes
>>> checking for apr_pools.h... yes
>>> checking for apr_initialize in -lapr-1... yes
>>> checking svn_version.h usability... yes
>>> checking svn_version.h presence... yes
>>> checking for svn_version.h... yes
>>> checking for svn_stringbuf_create_ensure in -lsvn_subr-1... yes
>>> checking svn_delta.h usability... yes
>>> checking svn_delta.h presence... yes
>>> checking for svn_delta.h... yes
>>> checking for svn_txdelta in -lsvn_delta-1... yes
>>> checking for sasl_done in -lsasl2... yes
>>> checking SASL CRAM-MD5 support... yes
>>> checking for javac... /usr/bin/javac
>>> checking for java... /usr/bin/java
>>> checking value of Java system property 'java.home'...
>>> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre
>>> configure: error: could not guess JAVA_HOME
>>> + docker rmi mesos-1450295451-9233
>>> Untagged: mesos-1450295451-9233:latest
>>> Deleted: d12204823544c9cbdce0837e6e835408b831e96e70f77a36c86473db074ba651
>>> Deleted: 24935218a16744d71ed5b8fe9d6aa01d2cc6ca02a9b697c310b5820ebb38f81c
>>> Deleted: 410acede6ba8ec0d59be70db533dc092ae2c09d1ac2f9a8991f9a763863ffd7e
>>> Deleted: 36561f6d084602b8e4f64791feca46c79a07dbd0c47288e9c015a18281e1ee08
>>> Deleted: f053b0f88b97867263a8d9b2d413900749686141284ef155faa9e0947e2c8bfb
>>> Deleted: b79dfa1bd61d247d646e3d85cf92c736b7bee9222162944ab8793e5678dd2b14
>>> Deleted: c133117ed2d534082c60fe473d6c71c9ccbddcab3402ece7de5784b238589721
>>> Deleted: 67f34977d0c94a8b774eaa0b43a6356060dbf27a783c934f0dce823c25d5d837
>>> Deleted: 5632dd1ad7bc39753a6bdcd6f7692c436aa8fd4feb733e4c2748b4601c19fa8c
>>> Deleted: 32e5dabf33f942736b8a9ca3fcb3152f3b47a96212732a431f46fa9b4d441723
>>> Deleted: dc9fdaab587ea4ff3a921d61bf011149941d49806c7447f95a8e0a6d075c3626
>>> Deleted: bdd03d785c159cafc02cabacf9cb28ef83932223f6c7e0aebdfbcf2d92401979
>>> Build step 'Execute shell' marked build as failure
>>>
>
>
>
> --
> ~Kevin



-- 
~Kevin

Mime
View raw message