Package: pyppd
Version: 1.0.2-4
Tags: patch
Usertags: rebootstrap
Control: affects -1 + src:dymo-cups-drivers src:epson-inkjet-printer-escpr 
src:fxlinuxprint src:hplip src:m2300w src:pxljr

The packages listed under affects cannot satisfy their cross
Build-Depends, because their dependency on pyppd is unsatisfiable. In
general, Architecture: all packages can never satisfy cross
Build-Depends unless marked Multi-Arch: foreign. As an Architecture: all
package its content cannot be architecture-dependent. The maintainer
scripts invoke py3compile. This is generally unsuitable for M-A:foreign
packages, but it can be argued that the pyppd Python module is not part
of the supported interface of pyppd and that in general one uses the
pyppd command line tool. This view is supported by the lack of reverse
dependencies. (It only has reverse build dependencies.) Its python:any
and xz-utils dependencies do not transfer an architecture-constraint,
but the perl dependency (theoretically) does. Yet, the way perl is used
does not seem to expose perl's architecture through dh_pyppd or the
debhelper sequence.

TL;DR: I think pyppd should be marked Multi-Arch: foreign. The attached
       patch implements that.

diff --minimal -Nru pyppd-1.0.2/debian/changelog pyppd-1.0.2/debian/changelog
--- pyppd-1.0.2/debian/changelog        2016-02-25 09:52:54.000000000 +0100
+++ pyppd-1.0.2/debian/changelog        2017-08-08 21:30:22.000000000 +0200
@@ -1,3 +1,10 @@
+pyppd (1.0.2-4.1) UNRELEASED; urgency=medium
+  * Non-maintainer upload.
+  * Mark pyppd Multi-Arch: foreign.
+ -- Helmut Grohne <>  Tue, 08 Aug 2017 21:30:22 +0200
 pyppd (1.0.2-4) unstable; urgency=medium
   * Upload to unstable; reproducibility and regression tests successful
diff --minimal -Nru pyppd-1.0.2/debian/control pyppd-1.0.2/debian/control
--- pyppd-1.0.2/debian/control  2016-02-17 22:07:46.000000000 +0100
+++ pyppd-1.0.2/debian/control  2017-08-08 21:29:56.000000000 +0200
@@ -11,6 +11,7 @@
 Package: pyppd
 Architecture: all
+Multi-Arch: foreign
 Depends: ${python3:Depends},

Reply via email to