Quan Li created MESOS-8969:
------------------------------

             Summary: Make check fails on Ubuntu 14.04
                 Key: MESOS-8969
                 URL: https://issues.apache.org/jira/browse/MESOS-8969
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 1.6.0
         Environment: Ubuntu 14.04.5 LTS, gcc 4.8.4
            Reporter: Quan Li


make check
{code:java}
[...]
mv -f tests/.deps/mesos_tests-slave_validation_tests.Tpo 
tests/.deps/mesos_tests-slave_validation_tests.Po
g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
-DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"mesos\ 1.6.0\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
-DVERSION=\"1.6.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_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 
-DHAVE_LIBCURL=1 -DMESOS_HAS_JAVA=1 -DHAVE_LIBSASL2=1 -DHAVE_OPENSSL_SSL_H=1 
-DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 
-DHAVE_LIBSVN_DELTA_1=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_PYTHON=\"2.7\" 
-DMESOS_HAS_PYTHON=1 -I. -I../../src -Werror -DLIBDIR=\"/usr/local/lib\" 
-DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
-DPKGDATADIR=\"/usr/local/share/mesos\" 
-DPKGMODULEDIR=\"/usr/local/lib/mesos/modules\" -I../../include -I../include 
-I../include/mesos -DPICOJSON_USE_INT64 -D__STDC_FORMAT_MACROS 
-I../3rdparty/boost-1.65.0 -I../3rdparty/concurrentqueue-7b69a8f 
-I../3rdparty/elfio-3.2 -I../3rdparty/glog-0.3.3/src 
-I../3rdparty/leveldb-1.19/include -I../../3rdparty/libprocess/include 
-I../3rdparty/nvml-352.79 -I../3rdparty/picojson-1.3.0 
-I../3rdparty/protobuf-3.5.0/src -I../../3rdparty/stout/include 
-I../3rdparty/zookeeper-3.4.8/src/c/include 
-I../3rdparty/zookeeper-3.4.8/src/c/generated -I../include/csi 
-DSOURCE_DIR=\"/home/liquan/Mesos/mesos-1.6.0/build/..\" 
-DBUILD_DIR=\"/home/liquan/Mesos/mesos-1.6.0/build\" 
-I../3rdparty/googletest-release-1.8.0/googletest/include 
-I../3rdparty/googletest-release-1.8.0/googlemock/include 
-DTESTLIBEXECDIR=\"/usr/local/libexec/mesos/tests\" 
-DSBINDIR=\"/usr/local/sbin\" -I/usr/lib/java/jdk1.8.0_171/include 
-I/usr/lib/java/jdk1.8.0_171/include/linux -DZOOKEEPER_VERSION=\"3.4.8\" 
-I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 
-pthread -Wall -Wsign-compare -Wformat-security -fstack-protector -fPIC -fPIE 
-g1 -O0 -Wno-unused-local-typedefs -std=c++11 -MT 
tests/mesos_tests-slave_tests.o -MD -MP -MF 
tests/.deps/mesos_tests-slave_tests.Tpo -c -o tests/mesos_tests-slave_tests.o 
`test -f 'tests/slave_tests.cpp' || echo '../../src/'`tests/slave_tests.cpp
In file included from 
../3rdparty/googletest-release-1.8.0/googletest/include/gtest/internal/gtest-param-util.h:50:0,
from 
../3rdparty/googletest-release-1.8.0/googletest/include/gtest/gtest-param-test.h:192,
from ../3rdparty/googletest-release-1.8.0/googletest/include/gtest/gtest.h:62,
from 
../3rdparty/googletest-release-1.8.0/googlemock/include/gmock/internal/gmock-internal-utils.h:47,
from 
../3rdparty/googletest-release-1.8.0/googlemock/include/gmock/gmock-actions.h:46,
from ../3rdparty/googletest-release-1.8.0/googlemock/include/gmock/gmock.h:58,
from ../../src/tests/slave_tests.cpp:27:
../3rdparty/googletest-release-1.8.0/googletest/include/gtest/gtest-printers.h: 
In function 'void 
testing::internal::DefaultPrintTo(testing::internal::IsNotContainer, 
testing::internal::false_type, const T&, std::ostream*) [with T = 
process::Future<Nothing> (mesos::internal::slave::Slave::*)(); 
testing::internal::IsNotContainer = char; testing::internal::false_type = 
testing::internal::bool_constant<false>; std::ostream = 
std::basic_ostream<char>]':
../3rdparty/googletest-release-1.8.0/googletest/include/gtest/gtest-printers.h:439:3:
 internal compiler error: Segmentation fault
::testing_internal::DefaultPrintNonContainerTo(value, os);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.

The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [tests/mesos_tests-slave_tests.o] Error 1
make[3]: Leaving directory `/home/liquan/Mesos/mesos-1.6.0/build/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/liquan/Mesos/mesos-1.6.0/build/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/liquan/Mesos/mesos-1.6.0/build/src'
make: *** [check-recursive] Error 1

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to