Public bug reported:

dbus-cpp fails to build on xenial, using ppa:ubuntu-toolchain-r/ppa.

see https://launchpad.net/ubuntu/+archive/test-
rebuild-20160614/+build/9928033

/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp:52:10: 
error: ‘mt19937’ in namespace ‘std’ does not name a type
     std::mt19937 rng{42};
          ^
/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp:52:25: 
error: extra ‘;’ [-Werror=pedantic]
     std::mt19937 rng{42};
                         ^
/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp:53:10: 
error: ‘binomial_distribution’ in namespace ‘std’ does not name a template type
     std::binomial_distribution<> coin{1, 1.-probability_for_failure};
          ^
/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp:53:69: 
error: extra ‘;’ [-Werror=pedantic]
     std::binomial_distribution<> coin{1, 1.-probability_for_failure};
                                                                     ^
/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp: In member 
function ‘bool 
{anonymous}::ChaosMonkey::thinks_that_something_should_go_wrong()’:
/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp:49:21: 
error: ‘rng’ was not declared in this scope
         return coin(rng) == 1;
                     ^
/«BUILDDIR»/dbus-cpp-5.0.0+15.10.20151022.1/tests/executor_test.cpp:49:24: 
error: ‘coin’ was not declared in this scope
         return coin(rng) == 1;
                        ^
cc1plus: all warnings being treated as errors
tests/CMakeFiles/executor_test.dir/build.make:65: recipe for target 
'tests/CMakeFiles/executor_test.dir/executor_test.cpp.o' failed
make[3]: *** [tests/CMakeFiles/executor_test.dir/executor_test.cpp.o] Error 1

** Affects: dbus-cpp (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to dbus-cpp in Ubuntu.
https://bugs.launchpad.net/bugs/1592814

Title:
  dbus-cpp fails to build on xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus-cpp/+bug/1592814/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to