mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Scholten (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-6901) Master build fails with g++ 4.8.5 and g++ 4.9.4 on Ubuntu 16.04
Date Tue, 10 Jan 2017 15:19:58 GMT
Frank Scholten created MESOS-6901:
-------------------------------------

             Summary: Master build fails with g++ 4.8.5 and g++ 4.9.4 on Ubuntu 16.04
                 Key: MESOS-6901
                 URL: https://issues.apache.org/jira/browse/MESOS-6901
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 1.1.0
            Reporter: Frank Scholten


When building with g++ 4.8.5 the configure script fails:

```
checking whether we can build usable Python eggs... cc1plus: warning: command line option
'-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
g++: error: unrecognized command line option '-Wdate-time'
g++: error: unrecognized command line option '-fstack-protector-strong'
error: command 'g++' failed with exit status 1
configure: error: no
-------------------------------------------------------------------
It appears we were unable to build a usable native Python egg.

There are two possible workarounds for this issue:
    1. Disable python bindings by configuring with --disable-python.
    2. Use an alternative Python installation that was built using
       the same build setup as Mesos.
-------------------------------------------------------------------
```

When building with g++ 4.9.4 the build fails with a segmentation fault:

```
mv -f slave/containerizer/mesos/.deps/libmesos_no_3rdparty_la-utils.Tpo slave/containerizer/mesos/.deps/libmesos_no_3rdparty_la-utils.Plo
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
-DPACKAGE_VERSION=\"1.2.0\" -DPACKAGE_STRING=\"mesos\ 1.2.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"mesos\" -DVERSION=\"1.2.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_CXX11=1
-DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1
-DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DMESOS_HAS_JAVA=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1
-DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -DHAVE_PYTHON=\"2.7\"
-DMESOS_HAS_PYTHON=1 -I. -I../../src   -Werror -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/libexec/mesos\"
-DPKGDATADIR=\"/usr/share/mesos\" -DPKGMODULEDIR=\"/usr/lib/mesos/modules\" -I../../include
-I../include -I../include/mesos -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -isystem ../3rdparty/boost-1.53.0
-I../3rdparty/elfio-3.2 -I../3rdparty/glog-0.3.3/src -I../3rdparty/leveldb-1.4/include -I../../3rdparty/libprocess/include
-I../3rdparty/nvml-352.79 -I../3rdparty/picojson-1.3.0 -I../3rdparty/protobuf-2.6.1/src -I../../3rdparty/stout/include
-I../3rdparty/zookeeper-3.4.8/src/c/include -I../3rdparty/zookeeper-3.4.8/src/c/generated
-DHAS_AUTHENTICATION=1 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0
 -pthread -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -O2
-Wno-unused-local-typedefs -Wno-maybe-uninitialized -std=c++11 -MT slave/containerizer/mesos/io/libmesos_no_3rdparty_la-switchboard.lo
-MD -MP -MF slave/containerizer/mesos/io/.deps/libmesos_no_3rdparty_la-switchboard.Tpo -c
-o slave/containerizer/mesos/io/libmesos_no_3rdparty_la-switchboard.lo `test -f 'slave/containerizer/mesos/io/switchboard.cpp'
|| echo '../../src/'`slave/containerizer/mesos/io/switchboard.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.2.0\"
"-DPACKAGE_STRING=\"mesos 1.2.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
-DVERSION=\"1.2.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_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1
-DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1
-DMESOS_HAS_JAVA=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1
-DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBZ=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src
-Werror -DLIBDIR=\"/usr/lib\" -DPKGLIBEXECDIR=\"/usr/libexec/mesos\" -DPKGDATADIR=\"/usr/share/mesos\"
-DPKGMODULEDIR=\"/usr/lib/mesos/modules\" -I../../include -I../include -I../include/mesos
-DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS -isystem ../3rdparty/boost-1.53.0 -I../3rdparty/elfio-3.2
-I../3rdparty/glog-0.3.3/src -I../3rdparty/leveldb-1.4/include -I../../3rdparty/libprocess/include
-I../3rdparty/nvml-352.79 -I../3rdparty/picojson-1.3.0 -I../3rdparty/protobuf-2.6.1/src -I../../3rdparty/stout/include
-I../3rdparty/zookeeper-3.4.8/src/c/include -I../3rdparty/zookeeper-3.4.8/src/c/generated
-DHAS_AUTHENTICATION=1 -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0
-pthread -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -O2 -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -std=c++11 -MT slave/containerizer/mesos/io/libmesos_no_3rdparty_la-switchboard.lo
-MD -MP -MF slave/containerizer/mesos/io/.deps/libmesos_no_3rdparty_la-switchboard.Tpo -c
../../src/slave/containerizer/mesos/io/switchboard.cpp  -fPIC -DPIC -o slave/containerizer/mesos/io/.libs/libmesos_no_3rdparty_la-switchboard.o
In file included from ../3rdparty/boost-1.53.0/boost/throw_exception.hpp:43:0,
                 from ../3rdparty/boost-1.53.0/boost/lexical_cast.hpp:38,
                 from ../../3rdparty/stout/include/stout/numify.hpp:19,
                 from ../../3rdparty/stout/include/stout/ip.hpp:56,
                 from ../../3rdparty/libprocess/include/process/address.hpp:37,
                 from ../../src/slave/containerizer/mesos/io/switchboard.cpp:25:
../3rdparty/boost-1.53.0/boost/exception/exception.hpp:217:13: internal compiler error: Segmentation
fault
             }
             ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
Makefile:7288: recipe for target 'slave/containerizer/mesos/io/libmesos_no_3rdparty_la-switchboard.lo'
failed
make[2]: *** [slave/containerizer/mesos/io/libmesos_no_3rdparty_la-switchboard.lo] Error 1
make[2]: Leaving directory '/home/frank/src/riseml-mesos-image-download-progress/mesos-deb-packaging/mesos-repo/build/src'
Makefile:3439: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/frank/src/riseml-mesos-image-download-progress/mesos-deb-packaging/mesos-repo/build/src'
Makefile:765: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message