Bug#1107127: syslinux: drop gcc-multilib dependency

Helmut Grohne <[email protected]> Sun, 1 Jun 2025 11:12:52 +0200
Newsgroups gmane.linux.debian.devel.cd
Message-ID <20250601091252.GA3592542__24090.3629850195$1748808771$gmane$org@subdivi.de>
Source: syslinux
Version: 3:6.04~git20190206.bf6db5b4+dfsg1-3.1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

We'd like to remove the gcc-multilib package from unstable. Instead,
targeted toolchains such as i686-linux-gnu-gcc should be used. In this
case, we are in the fortunate position that syslinux uses the 32bit
toolchain as freestanding. The standard gcc package includes this
functionality (including -m32) as long as no libc is being used. As
syslinux builds 32bit firmware, that's the case and we may drop both
gcc-multilib and libc6-dev-i386 from Build-Depends. Using reproducible
builds, we may see that output artifacts are entirely unaffected by this
change. I'm attaching a patch for your convenience. While I consider it
safe for inclusion in trixie (due to reproducibility), I recommend
deferring it to forky to avoid disrupting the release process.

Helmut
syslinux_6.04~git20190206.bf6db5b4+dfsg1-3.2.debdiff (text/plain, 1.2 KB)
diff --minimal -Nru syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/changelog syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/changelog
--- syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/changelog	2025-04-13 11:31:54.000000000 +0200
+++ syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/changelog	2025-06-01 10:53:06.000000000 +0200
@@ -1,3 +1,10 @@
+syslinux (3:6.04~git20190206.bf6db5b4+dfsg1-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop unused gcc-multilib and libc6-dev-i386 build dependencies. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 01 Jun 2025 10:53:06 +0200
+
 syslinux (3:6.04~git20190206.bf6db5b4+dfsg1-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/control syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/control
--- syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/control	2025-04-13 11:31:54.000000000 +0200
+++ syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/control	2025-06-01 10:53:06.000000000 +0200
@@ -6,8 +6,6 @@
 Build-Depends:
  debhelper-compat (= 12),
  libext2fs-dev,
- gcc-multilib [amd64 x32],
- libc6-dev-i386 [amd64 x32],
  nasm,
  python3,
  uuid-dev,