Source: audit
Version: 1:2.6.7-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

When cross building audit in a non-boottrap setting (i.e. not #840262),
the build fails because it requests the host architecture python, which
can neither be installed nor executed. The attached patch fixes these
dependencies and produces a working cross build (including python
modules).

Helmut
diff --minimal -Nru audit-2.6.7/debian/changelog audit-2.6.7/debian/changelog
--- audit-2.6.7/debian/changelog        2016-09-27 22:44:56.000000000 +0200
+++ audit-2.6.7/debian/changelog        2016-10-15 22:57:58.000000000 +0200
@@ -1,3 +1,10 @@
+audit (1:2.6.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Cross compatibe python Build-Depends (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 15 Oct 2016 22:57:41 +0200
+
 audit (1:2.6.7-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru audit-2.6.7/debian/control audit-2.6.7/debian/control
--- audit-2.6.7/debian/control  2016-09-27 22:44:56.000000000 +0200
+++ audit-2.6.7/debian/control  2016-10-15 22:57:39.000000000 +0200
@@ -15,8 +15,10 @@
                libldap2-dev,
                libprelude-dev,
                libwrap0-dev,
-               python-all-dev (>= 2.6.6-3~),
-               python3-all-dev,
+               python-all-dev:any (>= 2.6.6-3~),
+               libpython-all-dev (>= 2.6.6-3~),
+               python3-all-dev:any,
+               libpython3-all-dev,
                swig
 Build-Depends-Indep: golang-go
 Standards-Version: 3.9.8

Reply via email to