dbus-cpp fails to build on xenial

Bug #1592814 reported by Matthias Klose on 2016-06-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp (Ubuntu)
High
Unassigned

Bug Description

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

Related branches

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers