[Python-modules-team] Bug#916616: mark python-enum34 Multi-Arch: foreign

Helmut Grohne helmut at subdivi.de
Sun Dec 16 16:58:06 GMT 2018


Package: python-enum34
Version: 1.1.6-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:ball src:code-saturne src:gphoto2-cffi src:libserial src:llvmlite src:openteacher src:pyqwt5 src:tulip

The affected packages fail to satisfy their cross Build-Depends, because
their (transitive) dependency on python-enum34 is not satisfiable. In
general, Architecture: all packages can never satisfy cross
Build-Depends unless marked Multi-Arch: foreign. In this case, the
marking is mostly correct: python-enum34's Depends are annotated with
:any already. The maintainer scripts generate architecture-dependent
byte code for whatever architecture python was installed as. Foreign
embedded interpreters will miss the byte code compilation, but that can
be considered a minor issue (and presently they cannot use python-enum34
at all). Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru enum34-1.1.6/debian/changelog enum34-1.1.6/debian/changelog
--- enum34-1.1.6/debian/changelog	2017-11-18 16:52:41.000000000 +0100
+++ enum34-1.1.6/debian/changelog	2018-12-16 08:45:57.000000000 +0100
@@ -1,3 +1,11 @@
+enum34 (1.1.6-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark python-enum34 and python-enum34-doc Multi-Arch: foreign. (Closes:
+    #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 16 Dec 2018 08:45:57 +0100
+
 enum34 (1.1.6-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru enum34-1.1.6/debian/control enum34-1.1.6/debian/control
--- enum34-1.1.6/debian/control	2017-11-18 11:30:57.000000000 +0100
+++ enum34-1.1.6/debian/control	2018-12-16 08:45:55.000000000 +0100
@@ -19,6 +19,7 @@
 
 Package: python-enum34-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
 Description: backport of Python 3.4's enum package (documentation)
@@ -31,6 +32,7 @@
 
 Package: python-enum34
 Architecture: all
+Multi-Arch: foreign
 Depends: ${misc:Depends}, ${python:Depends}
 Suggests: python-enum34-doc
 Breaks: python-enum


More information about the Python-modules-team mailing list