Bug#1072345: gcc-14: FTBFS on x32 due to missing package gccrs-14-x86-64-linux-gnux32

2024-06-01 Thread John Paul Adrian Glaubitz
OK, it seems that this is because of x32 being part of "rs_no_cpu"
in debian/rules.defs.

So, please remove x32 from the Rust exclusion list and add cargo to
BuildDepends in debian/control.

It remains to be resolved why the build tries to enable Rust support
despite x32 being in "rs_no_cpu" in debian/rules.defs.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1072345: gcc-14: FTBFS on x32 due to missing package gccrs-14-x86-64-linux-gnux32

2024-06-01 Thread John Paul Adrian Glaubitz
Source: gcc-14
Version: 14.1.0-1
Severity: normal

Hello,

trying to build gcc-14 on x32 fails because the package 
gccrs-14-x86-64-linux-gnux32
is missing in debian/control so that the call to dh_installdirs fails:

dh_installdirs -pgccrs-14-x86-64-linux-gnux32 usr/bin usr/share/man/man1 
usr/libexec/gcc/x86_64-linux-gnux32/14 usr/share/lintian/overrides
dh_installdirs: error: Requested unknown package gccrs-14-x86-64-linux-gnux32 
via -p/--package, expected one of: gcc-14-base libgcc-s1
(...)
gccrs-14-for-build gccrs-14 gcc-14-source
dh_installdirs: error: unknown option or error during option parsing; aborting

I assume the oversight was that on x32, the architecture is not used as a 
package prefix
but a package suffix, i.e. gccrs-14-x86-64-linux-gnux32 instead of 
gccrs-14-x32-linux-gnu.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913