[
https://issues.apache.org/jira/browse/MESOS-4508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jian Qiu reassigned MESOS-4508:
-------------------------------
Assignee: Jian Qiu
> Make check fails on Ubuntu 15.04
> --------------------------------
>
> Key: MESOS-4508
> URL: https://issues.apache.org/jira/browse/MESOS-4508
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.27.0
> Environment: ubuntu 15.04, gcc 4.9.2, --enable-libevent --enable-ssl
> --enable-debug
> Reporter: Jian Qiu
> Assignee: Jian Qiu
> Labels: test
>
> make check
> {code}
> In file included from
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/include/gmock/internal/gmock-internal-utils.h:47:0,
> from
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/include/gmock/gmock-actions.h:46,
> from
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/include/gmock/gmock.h:58,
> from ../../src/tests/container_logger_tests.cpp:21:
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h: In
> instantiation of ‘testing::AssertionResult
> testing::internal::CmpHelperLE(const char*, const char*, const T1&, const
> T2&) [with T1 = int; T2 = long unsigned int]’:
> ../../src/tests/container_logger_tests.cpp:467:3: required from here
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1579:28:
> error: comparison between signed and unsigned integer expressions
> [-Werror=sign-compare]
> GTEST_IMPL_CMP_HELPER_(LE, <=);
> ^
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1562:12:
> note: in definition of macro ‘GTEST_IMPL_CMP_HELPER_’
> if (val1 op val2) {\
> ^
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h: In
> instantiation of ‘testing::AssertionResult
> testing::internal::CmpHelperGE(const char*, const char*, const T1&, const
> T2&) [with T1 = int; T2 = long unsigned int]’:
> ../../src/tests/container_logger_tests.cpp:468:3: required from here
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1583:28:
> error: comparison between signed and unsigned integer expressions
> [-Werror=sign-compare]
> GTEST_IMPL_CMP_HELPER_(GE, >=);
> ^
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1562:12:
> note: in definition of macro ‘GTEST_IMPL_CMP_HELPER_’
> if (val1 op val2) {\
> ^
> mv -f tests/containerizer/.deps/mesos_tests-cgroups_tests.Tpo
> tests/containerizer/.deps/mesos_tests-cgroups_tests.Po
> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\"
> -DPACKAGE_VERSION=\"0.27.0\" -DPACKAGE_STRING=\"mesos\ 0.27.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\"
> -DVERSION=\"0.27.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_PRIO_INHERIT=1
> -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 -DHAVE_APR_POOLS_H=1
> -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1
> -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBSASL2=1
> -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1
> -DHAVE_EVENT2_EVENT_H=1 -DHAVE_LIBEVENT=1 -DHAVE_EVENT2_THREAD_H=1
> -DHAVE_LIBEVENT_PTHREADS=1 -DHAVE_OPENSSL_SSL_H=1 -DHAVE_LIBSSL=1
> -DHAVE_LIBCRYPTO=1 -DHAVE_EVENT2_BUFFEREVENT_SSL_H=1
> -DHAVE_LIBEVENT_OPENSSL=1 -DUSE_SSL_SOCKET=1 -I. -I../../src -Wall -Werror
> -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\"
> -DPKGDATADIR=\"/usr/local/share/mesos\" -I../../include
> -I../../3rdparty/libprocess/include
> -I../../3rdparty/libprocess/3rdparty/stout/include -I../include
> -I../include/mesos -isystem ../3rdparty/libprocess/3rdparty/boost-1.53.0
> -I../3rdparty/libprocess/3rdparty/picojson-1.3.0 -DPICOJSON_USE_INT64
> -D__STDC_FORMAT_MACROS -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src
> -I../3rdparty/libprocess/3rdparty/glog-0.3.3/src
> -I../3rdparty/leveldb/include -I../3rdparty/zookeeper-3.4.5/src/c/include
> -I../3rdparty/zookeeper-3.4.5/src/c/generated
> -I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src
> -DSOURCE_DIR=\"/home/qiujian/community/mesos/build/..\"
> -DBUILD_DIR=\"/home/qiujian/community/mesos/build\"
> -I../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include
> -I../3rdparty/libprocess/3rdparty/gmock-1.7.0/include
> -I/usr/lib/jvm/java-7-openjdk-amd64/include
> -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux
> -DZOOKEEPER_VERSION=\"3.4.5\" -I/usr/include/subversion-1
> -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -g -O0
> -Wno-unused-local-typedefs -std=c++11 -MT
> tests/containerizer/mesos_tests-filesystem_isolator_tests.o -MD -MP -MF
> tests/containerizer/.deps/mesos_tests-filesystem_isolator_tests.Tpo -c -o
> tests/containerizer/mesos_tests-filesystem_isolator_tests.o `test -f
> 'tests/containerizer/filesystem_isolator_tests.cpp' || echo
> '../../src/'`tests/containerizer/filesystem_isolator_tests.cpp
> cc1plus: all warnings being treated as errors
> Makefile:6853: recipe for target 'tests/mesos_tests-container_logger_tests.o'
> failed
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)