Package: docbook2x Version: 0.8.8-15 Tags: patch User: helm...@debian.org Usertags: rebootstrap
expat fails to cross build from source, because its build dependency on docbook2x is unsatisfiable. docbook2x depends on libtext-wrapi18n-perl, which is Architecture: all and (implicitly) Multi-Arch: no. Thus docbook2x can only ever be for the native architecture. There are multiple solutions to this problem. expat could annotate the dependency with :native, docbook2x could become Multi-Arch: foreign or the "multiarch interpreter workaround" could be applied for libtext-wrapi18n-perl. Of these the one marking docbook2x seems preferrable to me, because the package only contains executables (/usr/bin) and architecture-independent files (/usr/share). I briefly looked and determined that the programs contained are primarily used for transforming text. Thus their behaviour should not vary with the processor architecture. That suggests that the Multi-Arch: foreign marking is indeed correct and when it is correct, it is to be preferred. The attached patch adds that marking. Please consider applying it. Helmut
diff --minimal -Nru docbook2x-0.8.8/debian/changelog docbook2x-0.8.8/debian/changelog --- docbook2x-0.8.8/debian/changelog 2016-07-28 08:37:07.000000000 +0200 +++ docbook2x-0.8.8/debian/changelog 2017-12-21 14:03:26.000000000 +0100 @@ -1,3 +1,10 @@ +docbook2x (0.8.8-15.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark docbook2x Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 21 Dec 2017 14:03:26 +0100 + docbook2x (0.8.8-15) unstable; urgency=medium * Team upload diff --minimal -Nru docbook2x-0.8.8/debian/control docbook2x-0.8.8/debian/control --- docbook2x-0.8.8/debian/control 2016-07-28 08:37:01.000000000 +0200 +++ docbook2x-0.8.8/debian/control 2017-12-21 14:03:23.000000000 +0100 @@ -19,6 +19,7 @@ Package: docbook2x Architecture: any +Multi-Arch: foreign Depends: libtext-wrapi18n-perl, libxml-sax-expat-perl, opensp,