[Python-modules-team] Bug#892938: mark nose packages Multi-Arch: foreign

Helmut Grohne helmut at subdivi.de
Wed Mar 14 17:50:27 UTC 2018


Source: nose
Version: 1.3.7-3
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:aff4 src:gamera src:imposm-parser src:ioprocess src:libvigraimpex src:nvme-cli src:odil src:pdf2djvu src:py-radix src:pykdtree src:python-lz4 src:python-maxminddb src:python-pygraphviz src:python-qcli src:python-setproctitle src:simpleparse

The affected packages cannot satisfy their cross Build-Depends, because
their dependency on python-nose or python3-nose 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 enterpreters for a foreign architecture
   (a very uncommon case) continue to work (albeit a bit slower).

Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru nose-1.3.7/debian/changelog nose-1.3.7/debian/changelog
--- nose-1.3.7/debian/changelog	2017-10-30 21:46:01.000000000 +0100
+++ nose-1.3.7/debian/changelog	2018-03-14 18:44:46.000000000 +0100
@@ -1,3 +1,10 @@
+nose (1.3.7-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-Arch: foreign (closes: #-1).
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 14 Mar 2018 18:44:46 +0100
+
 nose (1.3.7-3) unstable; urgency=medium
 
   * Add a patch to fix test failures with Python 3.6 (closes: #880232).
diff --minimal -Nru nose-1.3.7/debian/control nose-1.3.7/debian/control
--- nose-1.3.7/debian/control	2017-10-30 21:46:01.000000000 +0100
+++ nose-1.3.7/debian/control	2018-03-14 18:44:44.000000000 +0100
@@ -27,6 +27,7 @@
 
 Package: python-nose-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Breaks: python-nose (<< 1.1.2)
 Replaces: python-nose (<< 1.1.2)
@@ -40,6 +41,7 @@
 
 Package: python-nose
 Architecture: all
+Multi-Arch: foreign
 Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
 Suggests: python-coverage, python-nose-doc
 Description: test discovery and running of Python's unittest
@@ -49,6 +51,7 @@
 
 Package: python3-nose
 Architecture: all
+Multi-Arch: foreign
 Depends: python3-pkg-resources, ${misc:Depends}, ${python3:Depends}
 Suggests: python-nose-doc
 Description: test discovery and running for Python3 unittest


More information about the Python-modules-team mailing list