Source: sortedcontainers
Version: 1.5.7-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:aff4

aff4 cannot satisfy its cross Build-Depends, because its transitive
dependency on python-sortedcontainers is unsatisfiable. In general,
Architecture: all packages can never satisfy cross Build-Depends unless
marked Multi-Arch: foreign. For all packages built from sortedcontainers
we can observe:
 * They're Architecture: all.
 * All of their dependencies are annotated :any.
 * All their maintainer scripts do is perform byte compilation.

The last aspect is architecture-dependent, but it will work with
whatever architecture happens to provide the respective Python
interpreter. The byte compiled files will not work with an embedded
interpreter for a different architecture, but this usecase is rare and
Python degrades nicely in the absence of .pyc files. Thus I think using
Multi-Arch: foreign is a reasonable tradeoff.

Helmut
diff --minimal -Nru sortedcontainers-1.5.7/debian/changelog 
sortedcontainers-1.5.7/debian/changelog
--- sortedcontainers-1.5.7/debian/changelog     2017-01-05 20:42:14.000000000 
+0100
+++ sortedcontainers-1.5.7/debian/changelog     2018-04-11 16:21:24.000000000 
+0200
@@ -1,3 +1,10 @@
+sortedcontainers (1.5.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 11 Apr 2018 16:21:24 +0200
+
 sortedcontainers (1.5.7-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru sortedcontainers-1.5.7/debian/control 
sortedcontainers-1.5.7/debian/control
--- sortedcontainers-1.5.7/debian/control       2017-01-05 20:42:14.000000000 
+0100
+++ sortedcontainers-1.5.7/debian/control       2018-04-11 16:21:22.000000000 
+0200
@@ -11,6 +11,7 @@
 
 Package: python-sortedcontainers
 Architecture: all
+Multi-Arch: foreign
 Depends: ${python:Depends}, ${misc:Depends}
 Suggests: python-sortedcontainers-doc
 Description: sorted container types: SortedList, SortedDict, and SortedSet
@@ -22,6 +23,7 @@
 
 Package: python3-sortedcontainers
 Architecture: all
+Multi-Arch: foreign
 Depends: ${python3:Depends}, ${misc:Depends}
 Suggests: python-sortedcontainers-doc
 Description: sorted container types: SortedList, SortedDict, and SortedSet 
(Python 3)
@@ -35,6 +37,7 @@
 
 Package: python-sortedcontainers-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
 Description: sorted container types: SortedList, SortedDict, and SortedSet 
(Documentation)

Reply via email to