Source: pygments Version: 2.2.0+dfsg-1 Tags: patch User: [email protected] Usertags: rebootstrap Control: affects -1 + src:entropybroker src:gcc-python-plugin src:httping src:olm src:psensor src:witty
The affected packages cannot satisfy their cross Build-Depends, because their dependency on python-pygments or python3-pygments is unsatisfiable. In general, Architecture: all packages can never satisfy cross Build-Depends unless marked Multi-Arch: foreign. I think that marking these packages Multi-Arch: foreign is correct because: * All of them are Architecture: all. * All of their Depends are either annotated :any or marked Multi-Arch: foreign themselves. * While the maintainer scripts produce architecture-specific Python bytecode files, this bytecode matches whatever Python happens to be installed. Also Python modules can be used without pre-compiled bytecode files, so embedded interpreters for a foreign architecture (a very uncommon case) continue to work (albeit a bit slower). Please consider applying the attached patch. Helmut
diff --minimal -Nru pygments-2.2.0+dfsg/debian/changelog pygments-2.2.0+dfsg/debian/changelog --- pygments-2.2.0+dfsg/debian/changelog 2017-01-23 23:25:26.000000000 +0100 +++ pygments-2.2.0+dfsg/debian/changelog 2018-03-14 19:47:51.000000000 +0100 @@ -1,3 +1,10 @@ +pygments (2.2.0+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark all packages Multi-Arch: foreign. (closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 14 Mar 2018 19:47:51 +0100 + pygments (2.2.0+dfsg-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru pygments-2.2.0+dfsg/debian/control pygments-2.2.0+dfsg/debian/control --- pygments-2.2.0+dfsg/debian/control 2017-01-23 23:25:00.000000000 +0100 +++ pygments-2.2.0+dfsg/debian/control 2018-03-14 19:47:48.000000000 +0100 @@ -15,6 +15,7 @@ Package: python-pygments Architecture: all +Multi-Arch: foreign Depends: ${python:Depends}, ${misc:Depends}, ${sphinxdoc:Depends} Recommends: python-chardet, python-pkg-resources Suggests: ttf-bitstream-vera @@ -32,6 +33,7 @@ Package: python3-pygments Architecture: all +Multi-Arch: foreign Depends: ${python3:Depends}, ${misc:Depends} Recommends: python3-pkg-resources Suggests: ttf-bitstream-vera @@ -50,6 +52,7 @@ Package: python-pygments-doc Section: doc Architecture: all +Multi-Arch: foreign Priority: extra Depends: ${misc:Depends}, ${sphinxdoc:Depends} Recommends: python-pygments

