Package: sbuild
Version: 0.86.0
Severity: important

Hi!

Starting with version 0.86.0, sbuild using the unshare backend does not
build gcc packages successfully, at least on arm64 and amd64. The
version immediately before that, 0.85.11, works. Similar failures have
been seen on other architectures, I think. Both gcc-13 and gcc-14 are
affected, and probably others as well.

The following logs show sbuild 0.85.11 successfully building gcc-14:
https://people.debian.org/~ema/gcc-14_14.2.0-9_arm64-2024-12-03T13:36:47Z.build

The issue occurs when running tests. To try and reduce the search space
in terms of where the problem may be, as well as reduce build times a
little bit, I've tried to single out one language for which the build
fails. Such language seems to be D.

 DEB_BUILD_OPTIONS=nolang=ada,go,c,c++,fortran,objc,obj-c++,m2,rust

The above DEB_BUILD_OPTIONS results in gcc being built with:

 --enable-languages=c,d

This is 0.85.0 building gcc-14 correctly. I haven't tried 0.85.11, but
it's very likely going to work as well.
https://people.debian.org/~ema/gcc-14_14.2.0-9_arm64-2024-12-03T20:26:06Z.build

The following logs show sbuild 0.86.0 failing to build gcc-14, all other
things being equal (including --enable-languages=c,d).
https://people.debian.org/~ema/gcc-14_14.2.0-9_arm64-2024-12-03T18:58:58Z.build

Reply via email to