[
https://issues.apache.org/jira/browse/MESOS-3603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947802#comment-14947802
]
Kapil Arya commented on MESOS-3603:
-----------------------------------
The fix is already in Master branch. Just need to cherry-pick into rc2.
bfeb070a2aef52f445eb057076d344fd184eb461
> Test build failure due to comparison between signed and unsigned integers
> -------------------------------------------------------------------------
>
> Key: MESOS-3603
> URL: https://issues.apache.org/jira/browse/MESOS-3603
> Project: Mesos
> Issue Type: Bug
> Environment: {code}
> $ uname -a
> Linux thinkpad 4.1.6-3-desktop #1 SMP PREEMPT Fri Aug 28 10:59:34 UTC 2015
> (d867e86) x86_64 x86_64 x86_64 GNU/Linux
> $ gcc --version
> gcc (SUSE Linux) 5.1.1 20150713 [gcc-5-branch revision 225736]
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> $ /lib64/libc.so.6
> GNU C Library (GNU libc) stable release version 2.22 (git bbab82c25da9), by
> Roland McGrath et al.
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Configured for x86_64-suse-linux.
> Compiled by GNU CC version 5.1.1 20150713 [gcc-5-branch revision 225736].
> Available extensions:
> crypt add-on version 2.1 by Michael Glad and others
> GNU Libidn by Simon Josefsson
> Native POSIX Threads Library by Ulrich Drepper et al
> BIND-8.2.3-T5B
> libc ABIs: UNIQUE IFUNC
> For bug reporting instructions, please see:
> <http://bugs.opensuse.org>.
> $ cat /etc/SuSE-release
> openSUSE 20150909 (x86_64)
> VERSION = 20150909
> CODENAME = Tumbleweed
> # /etc/SuSE-release is deprecated and will be removed in the future, use
> /etc/os-release instead
> {code}
> Reporter: Kapil Arya
> Assignee: Kapil Arya
> Priority: Blocker
> Labels: mesosphere
>
> Compilation fails on OpenSUSE Tumbleweed (Linux 4.1.6, gcc 5.1.1, glibc 2.22)
> with the following errors:
> {code}
> In file included from ../../src/tests/values_tests.cpp:22:0:
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h: In
> instantiatio
> n 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.7.0/gtest/include/gtest/gtest.h:1484:23:
> requi
> red from ‘static testing::AssertionResult
> testing::internal::EqHelper<lhs_is_null_litera
> l>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int;
> T2 = long un
> signed int; bool lhs_is_null_literal = false]’
> ../../src/tests/values_tests.cpp:287:3: required from here
> ../3rdparty/libprocess/3rdparty/gmock-1.7.0/gtest/include/gtest/gtest.h:1448:16:
> error:
> comparison between signed and unsigned integer expressions
> [-Werror=sign-compare]
> if (expected == actual) {
> ^
> CXX tests/containerizer/mesos_tests-provisioner_docker_tests.o
> ^CMakefile:6779: recipe for target 'tests/mesos_tests-values_tests.o' failed
> make[3]: *** [tests/mesos_tests-values_tests.o] Interrupt
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)