Source: wraplinux Version: 1.7-11 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
We'd like to remove the gcc-multilib package. wraplinux has a genuine need for it as it uses gcc -m32 to build i686 code. This need is also addressed by the gcc-i686-linux-gnu package which is provided by the native toolchain on i386 and provided as a cross toolchain on amd64. I'm proposing a patch to switch wraplinux over to this toolchain and thus remove its need for gcc-multilib. As a result, it also becomes cross buildable. Helmut
diff --minimal -Nru wraplinux-1.7/debian/changelog wraplinux-1.7/debian/changelog --- wraplinux-1.7/debian/changelog 2024-05-02 22:36:50.000000000 +0200 +++ wraplinux-1.7/debian/changelog 2025-06-01 10:47:19.000000000 +0200 @@ -1,3 +1,9 @@ +wraplinux (1.7-12) UNRELEASED; urgency=medium + + * Use a cross toolchain instead of gcc-multilib. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 01 Jun 2025 10:47:19 +0200 + wraplinux (1.7-11) unstable; urgency=medium * QA upload. diff --minimal -Nru wraplinux-1.7/debian/control wraplinux-1.7/debian/control --- wraplinux-1.7/debian/control 2024-05-02 22:34:30.000000000 +0200 +++ wraplinux-1.7/debian/control 2025-06-01 10:47:19.000000000 +0200 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian QA Group <packa...@qa.debian.org> Build-Depends: debhelper-compat (= 13), - gcc-multilib [amd64], + gcc-i686-linux-gnu, Standards-Version: 4.7.0 Homepage: https://cdn.kernel.org/pub/linux/utils/boot/wraplinux Vcs-Browser: https://salsa.debian.org/debian/wraplinux diff --minimal -Nru wraplinux-1.7/debian/rules wraplinux-1.7/debian/rules --- wraplinux-1.7/debian/rules 2024-05-02 22:33:37.000000000 +0200 +++ wraplinux-1.7/debian/rules 2025-06-01 10:47:10.000000000 +0200 @@ -8,5 +8,8 @@ rm -f version.h +override_dh_auto_build: + dh_auto_build -- CC_FOR_TARGET='i686-linux-gnu-gcc' LD_FOR_TARGET='i686-linux-gnu-ld' + override_dh_auto_install: dh_auto_install -- INSTALLROOT=$(CURDIR)/debian/wraplinux