Package: python-ply
Version: 3.11-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:firefox src:firefox-esr src:libgap-sage src:nml

The affected packages cannot satify their cross Build-Depends, because
their transitive dependency on python-ply or python3-ply is
unsatisfiable. In general, Architecture: all packages can never satify
cross Build-Depends unless marked Multi-Arch: foreign. In these cases,
the only source of architecture-dependence is the Python byte
compilation, because there are no dependencies other than python and
their maintainer scripts do nothing but performing the byte compilation.
Still, python-ply is usable even without byte compiled files, so foreign
embedded interpreters (a very rare use case) continues to work. Marking
them Multi-Arch: foreign is a reasonable trade-off. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru ply-3.11/debian/changelog ply-3.11/debian/changelog
--- ply-3.11/debian/changelog   2018-02-21 19:37:19.000000000 +0100
+++ ply-3.11/debian/changelog   2018-03-23 21:04:41.000000000 +0100
@@ -1,3 +1,10 @@
+ply (3.11-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 23 Mar 2018 21:04:41 +0100
+
 ply (3.11-1) unstable; urgency=medium
 
   [ Stefano Rivera ]
diff --minimal -Nru ply-3.11/debian/control ply-3.11/debian/control
--- ply-3.11/debian/control     2018-02-21 19:37:19.000000000 +0100
+++ ply-3.11/debian/control     2018-03-23 21:04:24.000000000 +0100
@@ -19,6 +19,7 @@
 
 Package: python-ply
 Architecture: all
+Multi-Arch: foreign
 Depends: ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}, ${python-ply:Provides}
 Breaks: ${python:Breaks}
@@ -39,6 +40,7 @@
 
 Package: python3-ply
 Architecture: all
+Multi-Arch: foreign
 Depends: ${python3:Depends}, ${misc:Depends}
 Provides: ${python3:Provides}, ${python3-ply:Provides}
 Breaks: ${python3:Breaks}
@@ -60,6 +62,7 @@
 Package: python-ply-doc
 Section: doc
 Architecture: all
+Multi-Arch: foreign
 Depends: ${misc:Depends}
 Description: Lex and Yacc implementation for Python (documentation)
  PLY   is   yet  another   implementation   of   lex   and  yacc   for

Reply via email to