[buildd-tools-devel] Bug#778112: Bug#778112: schroot: ftbfs with GCC-5
Roger Leigh
rleigh at codelibre.net
Sun Jul 26 15:11:23 UTC 2015
tags 778112 + patch
thanks
On 15/07/2015 14:50, Cyril Brulebois wrote:
> Matthias Klose <doko at debian.org> (2015-02-12):
>> The following tests FAILED:
>> Errors while running CTest
>> 2 - sbuild-chroot-chroot (Failed)
>> 6 - sbuild-run-parts (Failed)
>> make[2]: *** [test] Error 8
>> Makefile:117: recipe for target 'test' failed
>> make[2]: Leaving directory '/«PKGBUILDDIR»/debian/build'
>> make[1]: *** [install-arch] Error 2
>> debian/rules:83: recipe for target 'install-arch' failed
>> make[1]: Leaving directory '/«PKGBUILDDIR»'
>> make: *** [binary-arch] Error 2
>> debian/rules:39: recipe for target 'binary-arch' failed
>> dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2
>
> FWIW this isn't specific to gcc-5, the same happens with 4.9 in a sid
> development chroot.
A patch to work around the issue has been merged here:
https://github.com/codelibre-net/schroot/pull/4
(mainline at https://github.com/codelibre-net/schroot/pull/2)
The primary change is to update the cmake regex tests to identify a
broken std::regex and fall back to boost::regex. I also updated the
unit tests for good measure in case anything passes the cmake tests but
is still broken. There's also a test tweak to fix an additional issue
with GCC5 in converting a stream to bool.
Feel free to pick up the above two commits in the first pull request to
patch schroot in unstable.
Regards,
Roger
More information about the Buildd-tools-devel
mailing list