Package: libqoi-dev Version: 0+git20251213+ds-1 Tags: patch User: [email protected] Usertags: cross-satisfiability Control: affects -1 + src:gimp
gimp cannot be cross built from source, because its dependency on libqoi-dev is not satisfiable. In general, Arch:all packages can never satisfy cross Build-Depends unless they're marked Multi-Arch:foreign or are annotated :native. While libqoi-dev only contains a header, marking it M-A:foreign would be wrong. It exposes libstb-dev and the foreign marking would discard the architecture constraint for the transitive dependency. That also means that annotating it :native is not going to help here. What we need here is for an architecture constraint on libqoi-dev to be forwarded to libstb-dev and Arch:all cannot do that. This is known as the "multiarch interpreter problem" (as it was first observed with interpreters) and the "multiarch interpreter workaround" is to convert the package to Arch:any. That's what I'm proposing here. I know this is causing more packages, but we're doing so for a reason. Please find my patch attached. Helmut
diff -Nru qoi-0+git20251213+ds/debian/changelog qoi-0+git20251213+ds/debian/changelog --- qoi-0+git20251213+ds/debian/changelog 2025-12-13 16:11:17.000000000 +0100 +++ qoi-0+git20251213+ds/debian/changelog 2026-01-01 20:05:19.000000000 +0100 @@ -1,3 +1,10 @@ +qoi (0+git20251213+ds-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Convert libqoi-dev to Arch:any + M-A:same. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 01 Jan 2026 20:05:19 +0100 + qoi (0+git20251213+ds-1) unstable; urgency=medium * New upstream version. diff -Nru qoi-0+git20251213+ds/debian/control qoi-0+git20251213+ds/debian/control --- qoi-0+git20251213+ds/debian/control 2025-12-13 16:11:17.000000000 +0100 +++ qoi-0+git20251213+ds/debian/control 2026-01-01 20:05:16.000000000 +0100 @@ -21,7 +21,8 @@ Package: libqoi-dev Section: libdevel -Architecture: all +Architecture: any +Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends},

