← Back to team overview

touch-packages team mailing list archive

[Bug 1478750] Re: location-service ftbfs with GCC 5

 

** Changed in: location-service (Ubuntu)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1478750

Title:
  location-service ftbfs with GCC 5

Status in location-service package in Ubuntu:
  In Progress

Bug description:
  see https://launchpad.net/~ci-train-ppa-
  service/+archive/ubuntu/landing-016/+sourcepub/5261660/+listing-
  archive-extra

  cd /«BUILDDIR»/location-service-2.1+15.10.20150727/obj-x86_64-linux-gnu/tests && /usr/bin/g++   -DBOOST_ASIO_DISABLE_MOVE -DCORE_DBUS_ENABLE_GOOGLE_TEST_FIXTURE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -std=c++11 -Wall -fno-strict-aliasing -pedantic -Wextra -fPIC -Wno-error=unused-local-typedefs -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/json-c -I/«BUILDDIR»/location-service-2.1+15.10.20150727/include/location_service -I/«BUILDDIR»/location-service-2.1+15.10.20150727/src/location_service -I/«BUILDDIR»/location-service-2.1+15.10.20150727/obj-x86_64-linux-gnu/src/location_service -I/usr/include/gmock/include -I/usr/src/gmock/gtest/include    -o CMakeFiles/position_test.dir/position_test.cpp.o -c /«BUILDDIR»/location-service-2.1+15.10.20150727/tests/position_test.cpp
  In file included from /usr/include/gtest/gtest.h:58:0,
                   from /«BUILDDIR»/location-service-2.1+15.10.20150727/tests/position_test.cpp:20:
  /«BUILDDIR»/location-service-2.1+15.10.20150727/tests/position_test.cpp: In member function 'virtual void Position_InitWithLatLonAltGivesValidFieldsForLatLonAlt_Test::TestBody()':
  /«BUILDDIR»/location-service-2.1+15.10.20150727/tests/position_test.cpp:43:5: error: no matching function for call to 'testing::AssertionResult::AssertionResult(com::ubuntu::location::Optional<com::ubuntu::location::wgs84::Coordinate<com::ubuntu::location::wgs84::tag::Altitude, boost::units::unit<boost::units::list<boost::units::dim<boost::units::length_base_dimension, boost::units::static_rational<1l> >, boost::units::dimensionless_type>, boost::units::homogeneous_system<boost::units::list<boost::units::si::meter_base_unit, boost::units::list<boost::units::scaled_base_unit<boost::units::cgs::gram_base_unit, boost::units::scale<10l, boost::units::static_rational<3l> > >, boost::units::list<boost::units::si::second_base_unit, boost::units::list<boost::units::si::ampere_base_unit, boost::units::list<boost::units::si::kelvin_base_unit, boost::units::list<boost::units::si::mole_base_unit, boost::units::list<boost::units::si::candela_base_unit, boost::units::list<boost::units::angle::radian_base_unit, boost::units::list<boost::units::angle::steradian_base_unit, boost::units::dimensionless_type> > > > > > > > > > > > >&)'
       EXPECT_TRUE(p.altitude);
       ^
  In file included from /«BUILDDIR»/location-service-2.1+15.10.20150727/tests/position_test.cpp:20:0:
  /usr/include/gtest/gtest.h:262:12: note: candidate: testing::AssertionResult::AssertionResult(bool)
     explicit AssertionResult(bool success) : success_(success) {}
              ^
  /usr/include/gtest/gtest.h:262:12: note:   no known conversion for argument 1 from 'com::ubuntu::location::Optional<com::ubuntu::location::wgs84::Coordinate<com::ubuntu::location::wgs84::tag::Altitude, boost::units::unit<boost::units::list<boost::units::dim<boost::units::length_base_dimension, boost::units::static_rational<1l> >, boost::units::dimensionless_type>, boost::units::homogeneous_system<boost::units::list<boost::units::si::meter_base_unit, boost::units::list<boost::units::scaled_base_unit<boost::units::cgs::gram_base_unit, boost::units::scale<10l, boost::units::static_rational<3l> > >, boost::units::list<boost::units::si::second_base_unit, boost::units::list<boost::units::si::ampere_base_unit, boost::units::list<boost::units::si::kelvin_base_unit, boost::units::list<boost::units::si::mole_base_unit, boost::units::list<boost::units::si::candela_base_unit, boost::units::list<boost::units::angle::radian_base_unit, boost::units::list<boost::units::angle::steradian_base_unit, boost::units::dimensionless_type> > > > > > > > > > > > > {aka boost::optional<com::ubuntu::location::wgs84::Coordinate<com::ubuntu::location::wgs84::tag::Altitude, boost::units::unit<boost::units::list<boost::units::dim<boost::units::length_base_dimension, boost::units::static_rational<1l> >, boost::units::dimensionless_type>, boost::units::homogeneous_system<boost::units::list<boost::units::si::meter_base_unit, boost::units::list<boost::units::scaled_base_unit<boost::units::cgs::gram_base_unit, boost::units::scale<10l, boost::units::static_rational<3l> > >, boost::units::list<boost::units::si::second_base_unit, boost::units::list<boost::units::si::ampere_base_unit, boost::units::list<boost::units::si::kelvin_base_unit, boost::units::list<boost::units::si::mole_base_unit, boost::units::list<boost::units::si::candela_base_unit, boost::units::list<boost::units::angle::radian_base_unit, boost::units::list<boost::units::angle::steradian_base_unit, boost::units::dimensionless_type> > > > > > > > > > > > >}' to 'bool'
  /usr/include/gtest/gtest.h:260:3: note: candidate: testing::AssertionResult::AssertionResult(const testing::AssertionResult&)
     AssertionResult(const AssertionResult& other);
     ^
  /usr/include/gtest/gtest.h:260:3: note:   no known conversion for argument 1 from 'com::ubuntu::location::Optional<com::ubuntu::location::wgs84::Coordinate<com::ubuntu::location::wgs84::tag::Altitude, boost::units::unit<boost::units::list<boost::units::dim<boost::units::length_base_dimension, boost::units::static_rational<1l> >, boost::units::dimensionless_type>, boost::units::homogeneous_system<boost::units::list<boost::units::si::meter_base_unit, boost::units::list<boost::units::scaled_base_unit<boost::units::cgs::gram_base_unit, boost::units::scale<10l, boost::units::static_rational<3l> > >, boost::units::list<boost::units::si::second_base_unit, boost::units::list<boost::units::si::ampere_base_unit, boost::units::list<boost::units::si::kelvin_base_unit, boost::units::list<boost::units::si::mole_base_unit, boost::units::list<boost::units::si::candela_base_unit, boost::units::list<boost::units::angle::radian_base_unit, boost::units::list<boost::units::angle::steradian_base_unit, boost::units::dimensionless_type> > > > > > > > > > > > > {aka boost::optional<com::ubuntu::location::wgs84::Coordinate<com::ubuntu::location::wgs84::tag::Altitude, boost::units::unit<boost::units::list<boost::units::dim<boost::units::length_base_dimension, boost::units::static_rational<1l> >, boost::units::dimensionless_type>, boost::units::homogeneous_system<boost::units::list<boost::units::si::meter_base_unit, boost::units::list<boost::units::scaled_base_unit<boost::units::cgs::gram_base_unit, boost::units::scale<10l, boost::units::static_rational<3l> > >, boost::units::list<boost::units::si::second_base_unit, boost::units::list<boost::units::si::ampere_base_unit, boost::units::list<boost::units::si::kelvin_base_unit, boost::units::list<boost::units::si::mole_base_unit, boost::units::list<boost::units::si::candela_base_unit, boost::units::list<boost::units::angle::radian_base_unit, boost::units::list<boost::units::angle::steradian_base_unit, boost::units::dimensionless_type> > > > > > > > > > > > >}' to 'const testing::AssertionResult&'
  tests/CMakeFiles/position_test.dir/build.make:57: recipe for target 'tests/CMakeFiles/position_test.dir/position_test.cpp.o' failed
  make[3]: *** [tests/CMakeFiles/position_test.dir/position_test.cpp.o] Error 1
  make[3]: Leaving directory '/«BUILDDIR»/location-service-2.1+15.10.20150727/obj-x86_64-linux-gnu'
  CMakeFiles/Makefile2:5230: recipe for target 'tests/CMakeFiles/position_test.dir/all' failed
  make[2]: *** [tests/CMakeFiles/position_test.dir/all] Error 2
  make[2]: *** Waiting for unfinished jobs....
  Linking CXX executable harvester_test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1478750/+subscriptions


References