#794612 schroot: Undefined `__cxx11' references

Package:
schroot
Source:
schroot
Description:
Execute commands in a chroot environment
Submitter:
John David Anglin
Date:
2015-08-04 20:42:05 UTC
Severity:
normal
#794612#5
Date:
2015-08-04 20:38:32 UTC
From:
To:
The build fails here:
/«PKGBUILDDIR»/test/sbuild-chroot-facet-userdata.cc:95: undefined reference to `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o: In function `CppUnit::ExceptionTestCaseDecorator<sbuild::custom_error<sbuild::chroot_facet_userdata::error_code> >::runTest()':
/usr/include/cppunit/extensions/ExceptionTestCaseDecorator.h:80: undefined reference to `CppUnit::TypeInfoHelper::getClassName[abi:cxx11](std::type_info const&)'
/usr/include/cppunit/extensions/ExceptionTestCaseDecorator.h:80: undefined reference to `CppUnit::Message::Message(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE[_ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE]+0x20): undefined reference to `CppUnit::TestCase::getName[abi:cxx11]() const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE[_ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE]+0x24): undefined reference to `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppUnit::TestPath&) const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE[_ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE]+0x2c): undefined reference to `CppUnit::Test::findTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE[_ZTVN7CppUnit10TestCallerI26test_chroot_facet_userdataEE]+0x30): undefined reference to `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE[_ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE]+0x20): undefined reference to `CppUnit::TestCaseDecorator::getName[abi:cxx11]() const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE[_ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE]+0x24): undefined reference to `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppUnit::TestPath&) const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE[_ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE]+0x2c): undefined reference to `CppUnit::Test::findTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/sbuild-chroot-chroot.dir/sbuild-chroot-facet-userdata.cc.o:(.data.rel.ro._ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE[_ZTVN7CppUnit26ExceptionTestCaseDecoratorIN6sbuild12custom_errorINS1_21chroot_facet_userdata10error_codeEEEEE]+0x30): undefined reference to `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
libtestmain.a(testmain.cc.o): In function `main':
/«PKGBUILDDIR»/test/testmain.cc:41: undefined reference to `CppUnit::TestFactoryRegistry::getRegistry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/«PKGBUILDDIR»/test/testmain.cc:44: undefined reference to `CppUnit::TextTestRunner::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, bool)'
collect2: error: ld returned 1 exit status
make[4]: *** [test/sbuild-chroot-chroot] Error 1
test/CMakeFiles/sbuild-chroot-chroot.dir/build.make:291: recipe for target 'test/sbuild-chroot-chroot' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/debian/build'
make[3]: *** [test/CMakeFiles/sbuild-chroot-chroot.dir/all] Error 2

Full log is here:
http://buildd.debian-ports.org/status/fetch.php?pkg=schroot&arch=hppa&ver=1.6.10-1%2Bb2&stamp=1438708110

Regex bug bites with gcc-4.9.3.