Control: tags -1 + patch On Wed, Oct 20, 2021 at 02:59:14PM +0200, Helmut Grohne wrote: > It's an Architecture: all package and those can never satisfy cross > Build-Depends unless marked Multi-Arch: foreign. So clear thing, we mark > it Multi-Arch: foreign and we're done, right? Unfortunately, not. > libpurple-dev Depends on libpurple0 (among other things) and quite > clearly, it exposes libpurple0. Since libpurple0 is > architecture-dependent and exposed by libpurple-dev, libpurple-dev > cannot be Multi-Arch: foreign. The thing is: When we issue a dependency > on libpurple-dev (for a particular architecture), we want a matching > libpurple0 (of the requested architecture). And this constraint cannot > be transferred through Architecture: all packages. That issue is known > as the "multiarch interpreter problem", because it happened with > interpreters first. In any case, the canonical solution to this problem > is to turn libpurple-dev Architecture: any. At that point the resolver > will pick the host architecture libpurple-dev and the dependency will > ensure that we also get the host architecture libpurple0.
I also said "don't file cross build bugs without a patch". Here you go. Helmut
diff --minimal -Nru pidgin-2.14.7/debian/changelog pidgin-2.14.7/debian/changelog --- pidgin-2.14.7/debian/changelog 2021-10-05 02:31:35.000000000 +0200 +++ pidgin-2.14.7/debian/changelog 2021-10-20 17:02:30.000000000 +0200 @@ -1,3 +1,10 @@ +pidgin (2.14.7-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Convert libpidgin-dev to Architecture: any. (Closes: #996699) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 20 Oct 2021 17:02:30 +0200 + pidgin (2.14.7-2) unstable; urgency=medium * Backport fix for XMPP double free (Closes: 995370) diff --minimal -Nru pidgin-2.14.7/debian/control pidgin-2.14.7/debian/control --- pidgin-2.14.7/debian/control 2021-01-23 06:14:46.000000000 +0100 +++ pidgin-2.14.7/debian/control 2021-10-20 17:02:29.000000000 +0200 @@ -153,11 +153,10 @@ Package: libpurple-dev Section: libdevel -Architecture: all +Architecture: any Depends: libdbus-glib-1-dev, libglib2.0-dev, - libpurple0 (<< ${source:Upstream-Version}+1~), - libpurple0 (>= ${source:Upstream-Version}), + libpurple0 (= ${binary:Version}), pkg-config, ${misc:Depends}, Description: multi-protocol instant messaging library - development files