Source: python-defaults
Version: 2.7.11-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

python-defaults fails to cross build from source, because it requests
the host architecture python via its Build-Depends. Those cannot be
installed nor executed. Please consider applying the attached patch,
which adds :any annotations and makes a cross build succeed.

Helmut
diff --minimal -Nru python-defaults-2.7.11/debian/changelog 
python-defaults-2.7.11/debian/changelog
--- python-defaults-2.7.11/debian/changelog     2016-06-03 16:38:47.000000000 
+0200
+++ python-defaults-2.7.11/debian/changelog     2016-10-22 10:52:58.000000000 
+0200
@@ -1,3 +1,10 @@
+python-defaults (2.7.11-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate python Build-Depends with :any (closes: #-1).
+
+ -- Helmut Grohne <[email protected]>  Sat, 22 Oct 2016 10:52:38 +0200
+
 python-defaults (2.7.11-2) unstable; urgency=medium
 
   [ Scott Kitterman ]
diff --minimal -Nru python-defaults-2.7.11/debian/control 
python-defaults-2.7.11/debian/control
--- python-defaults-2.7.11/debian/control       2016-06-03 01:32:12.000000000 
+0200
+++ python-defaults-2.7.11/debian/control       2016-10-22 10:52:36.000000000 
+0200
@@ -3,10 +3,9 @@
 Priority: optional
 Maintainer: Matthias Klose <[email protected]>
 Uploaders: Scott Kitterman <[email protected]>, Piotr Ożarowski 
<[email protected]>, Barry Warsaw <[email protected]>
-Build-Depends: debhelper (>= 9~), dpkg-dev (>= 1.17.11), python2.7 (>= 
2.7.11-11),
+Build-Depends: debhelper (>= 9~), dpkg-dev (>= 1.17.11), python2.7:any (>= 
2.7.11-11),
   lsb-release,
-  python-all,
-  python2.7 (>= 2.7.11-11~),
+  python-all:any,
   debiandoc-sgml,
 Standards-Version: 3.9.8
 Homepage: http://www.python.org/

Reply via email to