Source: openfst
Version: 1.6.3-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

openfst fails to cross build from source, because its Build-Depends:
python requests a host architecture python, which fails installation.
What it really needs is a runnable python interpreter (i.e. build
architecture) though. We can achieve that by annotating the dependency
:any. After doing so, openfst cross builds successfully. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru openfst-1.6.3/debian/changelog 
openfst-1.6.3/debian/changelog
--- openfst-1.6.3/debian/changelog      2017-08-30 22:30:48.000000000 +0200
+++ openfst-1.6.3/debian/changelog      2018-03-23 06:10:12.000000000 +0100
@@ -1,3 +1,10 @@
+openfst (1.6.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate python build dependency with :any. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 23 Mar 2018 06:10:12 +0100
+
 openfst (1.6.3-2) unstable; urgency=medium
 
   * Disable compilation optimizations for the test suite on kfreebsd-i386
diff --minimal -Nru openfst-1.6.3/debian/control openfst-1.6.3/debian/control
--- openfst-1.6.3/debian/control        2017-08-30 22:30:48.000000000 +0200
+++ openfst-1.6.3/debian/control        2018-03-23 06:10:09.000000000 +0100
@@ -12,7 +12,7 @@
  debhelper (>= 9~),
  dpkg-dev (>= 1.16.1~),
  zlib1g-dev,
- python,
+ python:any,
  bash-completion
 Standards-Version: 4.0.1
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/openfst.git

Reply via email to