Package: rsass,librust-rsass-dev Version: 0.28.10-5 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs Control: affects -1 + src:transmission
Hi Jonas, transmission fails to cross build from source, because it fails running rsass with an Exec format error. In many cases, this is solved by marking the relevant package (rsass in this case) Multi-Arch: foreign. I see that you marked it Multi-Arch: allowed, but found no reason for it to be allowed. As far as I can see, it only transforms textual content to other forms of textual content and there is no architecture-dependent behavior at all. Can you explain why you marked it Multi-Arch: allowed? Then I also looked at the library and it is marked Multi-Arch: foreign. Libraries (except source-only libraries lacking dependencies) must never be marked Multi-Arch: foreign. As it happens the rsass library has architecture-dependent dependencies and thus it must not be marked Multi-Arch: foreign. I propose changing it to Multi-Arch: same as that's what we typically want libraries to be. I am expecting that both annotations are in error and am attaching a patch for what I think is right. Please give reasons for your unusual usage of Multi-Arch or apply my patch. Helmut
diff --minimal -Nru rsass-0.28.10/debian/changelog rsass-0.28.10/debian/changelog --- rsass-0.28.10/debian/changelog 2024-07-12 17:16:15.000000000 +0200 +++ rsass-0.28.10/debian/changelog 2024-09-27 14:34:02.000000000 +0200 @@ -1,3 +1,12 @@ +rsass (0.28.10-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix multiarch metadata: (Closes: #-1) + + Mark library M-A:same. + + Mark cli M-A:foreign. + + -- Helmut Grohne <hel...@subdivi.de> Fri, 27 Sep 2024 14:34:02 +0200 + rsass (0.28.10-5) unstable; urgency=medium * fix: set buildsystem=rust in overridden debhelper targets diff --minimal -Nru rsass-0.28.10/debian/control rsass-0.28.10/debian/control --- rsass-0.28.10/debian/control 2024-07-11 12:09:14.000000000 +0200 +++ rsass-0.28.10/debian/control 2024-09-27 14:34:00.000000000 +0200 @@ -40,7 +40,7 @@ Package: librust-rsass-dev Architecture: any -Multi-Arch: foreign +Multi-Arch: same Depends: librust-arc-swap-1+default-dev, librust-fastrand-2+default-dev, @@ -81,7 +81,7 @@ X-Cargo-Crates: rsass-cli, Architecture: any -Multi-Arch: allowed +Multi-Arch: foreign Section: web Depends: ${cargo:Depends},