Public bug reported:
Attempts to rebuild mcloud in artful against a new tinyxml ABI have
failed due to an incompatibility with current gtest and/or gcc:
cd
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/obj-x86_64-linux-gnu/tests/unit/mcloud
&& /usr/bin/c++
-DFAKE_MCLOUD_SERVER=\"/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/server/server.py\"
-I/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/include
-I/usr/src/googletest/googletest/include -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=c++11 -Werror -Wall -fno-strict-aliasing
-fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -o
CMakeFiles/mcloud-rest-test.dir/api/mcloud-rest-test.cpp.o -c
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/unit/mcloud/api/mcloud-rest-test.cpp
In file included from
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/unit/mcloud/api/mcloud-rest-test.cpp:9:0:
/usr/src/googletest/googletest/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]’:
/usr/src/googletest/googletest/include/gtest/gtest.h:1421:23: required from
‘static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>:
:Compare(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 =
long unsigned int; bool lhs_is_null_literal = false]’
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/unit/mcloud/api/mcloud-rest-test.cpp:106:9:
required from here
/usr/src/googletest/googletest/include/gtest/gtest.h:1392:11: error: comparison
between signed and unsigned integer expressions [-Werror=sign-compare]
if (lhs == rhs) {
~~~~^~~~~~
cc1plus: all warnings being treated as errors
See
https://launchpad.net/ubuntu/+source/mcloud/1.0.0+17.04.20161107.3-0ubuntu2/+build/13120497
for full logs.
This build failure now blocks the python3.6 transition in artful. I am
therefore removing mcloud from artful (leaving it in artful-
proposed). Please provide a fixed package to have mcloud included in artful.
** Affects: mcloud (Ubuntu)
Importance: Critical
Assignee: Gary.Wang (gary-wzl77)
Status: Triaged
** Description changed:
Attempts to rebuild mcloud in artful against a new tinyxml ABI have
failed due to an incompatibility with current gtest and/or gcc:
cd
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/obj-x86_64-linux-gnu/tests/unit/mcloud
&& /usr/bin/c++
-DFAKE_MCLOUD_SERVER=\"/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/server/server.py\"
-I/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/include
-I/usr/src/googletest/googletest/include -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -std=c++11 -Werror -Wall -fno-strict-aliasing
-fvisibility=hidden -fvisibility-inlines-hidden -pedantic -Wextra -o
CMakeFiles/mcloud-rest-test.dir/api/mcloud-rest-test.cpp.o -c
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/unit/mcloud/api/mcloud-rest-test.cpp
In file included from
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/unit/mcloud/api/mcloud-rest-test.cpp:9:0:
/usr/src/googletest/googletest/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]’:
/usr/src/googletest/googletest/include/gtest/gtest.h:1421:23: required from
‘static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>:
:Compare(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 =
long unsigned int; bool lhs_is_null_literal = false]’
/<<BUILDDIR>>/mcloud-1.0.0+17.04.20161107.3/tests/unit/mcloud/api/mcloud-rest-test.cpp:106:9:
required from here
/usr/src/googletest/googletest/include/gtest/gtest.h:1392:11: error:
comparison between signed and unsigned integer expressions
[-Werror=sign-compare]
- if (lhs == rhs) {
- ~~~~^~~~~~
+ if (lhs == rhs) {
+ ~~~~^~~~~~
cc1plus: all warnings being treated as errors
+
+ See
+
https://launchpad.net/ubuntu/+source/mcloud/1.0.0+17.04.20161107.3-0ubuntu2/+build/13120497
+ for full logs.
This build failure now blocks the python3.6 transition in artful. I am
therefore removing mcloud from artful (leaving it in artful-
proposed). Please provide a fixed package to have mcloud included in artful.
** Changed in: mcloud (Ubuntu)
Importance: Undecided => Critical
** Changed in: mcloud (Ubuntu)
Status: New => Triaged
** Changed in: mcloud (Ubuntu)
Assignee: (unassigned) => Gary.Wang (gary-wzl77)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1706492
Title:
FTBFS in artful with current gtest
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mcloud/+bug/1706492/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs