[buildd-tools-devel] Bug#794612: schroot: Undefined `__cxx11' references

John David Anglin dave.anglin at bell.net
Tue Aug 4 20:38:32 UTC 2015


Package: schroot
Version: 1.6.10-1+b1
Severity: normal

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.

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.18.19+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages schroot depends on:
ii  libboost-filesystem1.55.0       1.55.0+dfsg-4
ii  libboost-iostreams1.55.0        1.55.0+dfsg-4
ii  libboost-program-options1.55.0  1.55.0+dfsg-4
ii  libboost-regex1.55.0            1.55.0+dfsg-4
ii  libboost-system1.55.0           1.55.0+dfsg-4
ii  libc6                           2.19-19+b1
ii  libgcc4                         5.1.1-14
ii  libpam0g                        1.1.8-3.1
ii  libstdc++6                      5.1.1-14
ii  libuuid1                        2.26.2-6
ii  schroot-common                  1.6.10-1

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-modules  <none>
ii  btrfs-tools                     4.0-2
ii  debootstrap                     1.0.72
pn  lvm2                            <none>
pn  qemu-user-static                <none>

-- no debconf information



More information about the Buildd-tools-devel mailing list