You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Bernd Mathiske (JIRA)" <ji...@apache.org> on 2015/02/27 20:10:04 UTC

[jira] [Commented] (MESOS-2420) Fetcher tests fail to build on ubuntu 14.10

    [ https://issues.apache.org/jira/browse/MESOS-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340635#comment-14340635 ] 

Bernd Mathiske commented on MESOS-2420:
---------------------------------------

https://reviews.apache.org/r/31554/

> Fetcher tests fail to build on ubuntu 14.10
> -------------------------------------------
>
>                 Key: MESOS-2420
>                 URL: https://issues.apache.org/jira/browse/MESOS-2420
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.22.0, 0.23.0
>            Reporter: Vinod Kone
>            Assignee: Bernd Mathiske
>            Priority: Blocker
>
> Observed this on internal CI.
> {code}
> g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.23.0\" -DPACKAGE_STRING=\"mesos\ 0.23.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.23.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 -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 -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 -I../3rdparty/libprocess/3rdparty/boost-1.53.0 -I../3rdparty/libprocess/3rdparty/picojson-4f93734 -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=\"<http://sfo2-aad-36-sr1.perf.twttr.net:8080/job/mesos-ubuntu-14.10-gcc/ws/build/..\"> -DBUILD_DIR=\"<http://sfo2-aad-36-sr1.perf.twttr.net:8080/job/mesos-ubuntu-14.10-gcc/ws/build\"> -I../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include -I../3rdparty/libprocess/3rdparty/gmock-1.6.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 -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -MT tests/mesos_tests-fetcher_tests.o -MD -MP -MF tests/.deps/mesos_tests-fetcher_tests.Tpo -c -o tests/mesos_tests-fetcher_tests.o `test -f 'tests/fetcher_tests.cpp' || echo '../../src/'`tests/fetcher_tests.cpp
> In file included from ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/internal/gmock-internal-utils.h:47:0,
>                  from ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock-actions.h:46,
>                  from ../3rdparty/libprocess/3rdparty/gmock-1.6.0/include/gmock/gmock.h:58,
>                  from ../../3rdparty/libprocess/include/process/gmock.hpp:6,
>                  from ../../src/tests/fetcher_tests.cpp:27:
> ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long unsigned int]’:
> ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:1393:30:   required from ‘static testing::AssertionResult testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&, const T2&, typename testing::internal::EnableIf<(! testing::internal::is_pointer<T2>::value)>::type*) [with T1 = int; T2 = long unsigned int; typename testing::internal::EnableIf<(! testing::internal::is_pointer<T2>::value)>::type = void]’
> ../../src/tests/fetcher_tests.cpp:198:3:   required from here
> ../3rdparty/libprocess/3rdparty/gmock-1.6.0/gtest/include/gtest/gtest.h:1316:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
>    if (expected == actual) {
>                 ^
> cc1plus: all warnings being treated as errors
> {code}



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