Source: brotli
Version: 1.0.7-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

brotli fails to cross build from source, because its python-ish
Build-Depends are not installable. It requests the host architecture
python, which fails postinst. What it really needs is a runnable python
interpreter and host architecture python libraries. This usally amounts
to replacing python-something with libpython-something plus
python-something:any. Indeed, doing so makes brotli cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru brotli-1.0.7/debian/changelog brotli-1.0.7/debian/changelog
--- brotli-1.0.7/debian/changelog       2019-01-07 23:11:10.000000000 +0100
+++ brotli-1.0.7/debian/changelog       2019-09-17 22:06:18.000000000 +0200
@@ -1,3 +1,10 @@
+brotli (1.0.7-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Multiarchify python Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 17 Sep 2019 22:06:18 +0200
+
 brotli (1.0.7-2) unstable; urgency=medium
 
   * Refresh packaging (std-ver, compat=12)
diff --minimal -Nru brotli-1.0.7/debian/control brotli-1.0.7/debian/control
--- brotli-1.0.7/debian/control 2019-01-07 23:11:10.000000000 +0100
+++ brotli-1.0.7/debian/control 2019-09-17 22:06:16.000000000 +0200
@@ -7,11 +7,13 @@
                debhelper (>= 12),
                debhelper-compat (= 12),
                dh-python,
-               python,
-               python-dev,
+               python:any,
+               libpython-dev,
+               python-dev:any,
                python-setuptools,
-               python3,
-               python3-all-dev,
+               python3:any,
+               libpython3-all-dev,
+               python3-all-dev:any,
                python3-setuptools
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/debian/brotli

Reply via email to