Control: clone -1 -2
Control: retitle -2 gcc-13: missing debhelper dependency for cross toolchain 
builds
Control: tags -2 =
Control: severity -2 normal

Hi Matthias,

On Sun, Jul 30, 2023 at 09:40:35PM +0200, Helmut Grohne wrote:
> On Sun, Jul 30, 2023 at 07:10:09AM +0200, Matthias Klose wrote:
> > see src/libsanitizer/configure.tgt, it's unsupported, the empty packages
> > don't hurt. Feel free to send a patch not to build these packages, tested
> > please for amd64 and i386 builds, plus cross builds targeting these
> > architectures.
> 
> Thank you for pointing there. A key insight there is that lsan does not
> work for 32bit architectures at all. Therefore, we can entirely remove
> the 32bit lsan multilib packages. Surprisingly, the lib64lsan0 package
> is already commented, so we don't have to consider that. I've
> implemented the requested change and performed a local native build on
> amd64. I've also performed the requested i386 build (though lintian
> OOMed there). I've not performed cross builds since we know that those
> are broken.

You privately clarified that you meant cross toolchain builds (build =
host != target) rather than cross builds (build != host = target).

I also attempted building a cross toolchain for i386 on amd64. Such
builds fail, because Build-Depends lack debhelper and therefore dh_clean
fails. DEBHELPER_BUILD_DEP is never set when DEB_CROSS equals yes and
therefore no debhelper dependency is emitted. This failure is unrelated
to my patch. Therefore, my patch does not regress this aspect.

> Do you need any artifacts? .debs? build logs? I think the patch is
> pretty straight forward.

Is there anything else you need?

Helmut

Reply via email to