Package: binutils-common Version: 2.43.90.20250122-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
Hi Matthias, thanks for quickly merging my patch moving gprofng to binutils (from binutils-<triplet>). As a result of this and your binutils-gold split, binutils-common no longer differs between architectures (beyond the Architecture field) as can be seen by comparing the .debs using diffoscope. As a result, we may mark it M-A:foreign now. This is presenting the solution, but I also should tell what problem that solves. If you build targeted cross binutils, you end up receiving binutils-<targettriplet>:<hostarch> and binutils-for-host:<targetarch>, but what you do not end up with is binutils-common for any arch even though both depend on it. For the former that's usually fine, because you tend to already have binutils for the host architecture, but missing binutils-common:<targetarch> is not so easy to solve as cross building it can only be done much later. Thus binutils-for-host remains uninstallable. In marking binutils-common M-A:foreign, the host's instances satisfies the dependency and we can move on. The main alternative is enhancing the targeted binutils build with a binutils-common:<targetarch> package. Given the gprofng and gold are no longer part of it, this is now much easier. Let me know if you prefer that solution. Helmut
diff --minimal -Nru binutils-2.43.90.20250122/debian/changelog binutils-2.43.90.20250122/debian/changelog --- binutils-2.43.90.20250122/debian/changelog 2025-01-23 03:37:28.000000000 +0100 +++ binutils-2.43.90.20250122/debian/changelog 2025-01-25 19:43:12.000000000 +0100 @@ -1,3 +1,10 @@ +binutils (2.43.90.20250122-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark binutils-common Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 25 Jan 2025 19:43:12 +0100 + binutils (2.43.90.20250122-2) unstable; urgency=medium * Fix binutils-gold dependencies. diff --minimal -Nru binutils-2.43.90.20250122/debian/control binutils-2.43.90.20250122/debian/control --- binutils-2.43.90.20250122/debian/control 2025-01-23 03:37:28.000000000 +0100 +++ binutils-2.43.90.20250122/debian/control 2025-01-25 19:42:51.000000000 +0100 @@ -290,7 +290,7 @@ Package: binutils-common Architecture: any -Multi-Arch: same +Multi-Arch: foreign Breaks: binutils (<< 2.38.50.20220527-2), binutils-multiarch (<< 2.38.50.20220527-2) Replaces: binutils (<< 2.38.50.20220527-2), binutils-multiarch (<< 2.38.50.20220527-2) Description: Common files for the GNU assembler, linker and binary utilities diff --minimal -Nru binutils-2.43.90.20250122/debian/control.in binutils-2.43.90.20250122/debian/control.in --- binutils-2.43.90.20250122/debian/control.in 2025-01-22 09:35:59.000000000 +0100 +++ binutils-2.43.90.20250122/debian/control.in 2025-01-25 19:43:09.000000000 +0100 @@ -290,7 +290,7 @@ Package: binutils-common Architecture: any -Multi-Arch: same +Multi-Arch: foreign Breaks: binutils (<< 2.38.50.20220527-2), binutils-multiarch (<< 2.38.50.20220527-2) Replaces: binutils (<< 2.38.50.20220527-2), binutils-multiarch (<< 2.38.50.20220527-2) Description: Common files for the GNU assembler, linker and binary utilities