Source: suricata
Version: 1:4.0.5-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

suricata fails to cross build from source, because the python
build dependency cannot be installed. python is requested for the host
architecture, but the interpreter fails to install for architectures
that cannot be executed. Since suricata actually installs a python
module, the interpreter is actually needed for the build architecture
though. After annotating it with :any, suricata cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru suricata-4.0.5/debian/changelog 
suricata-4.0.5/debian/changelog
--- suricata-4.0.5/debian/changelog     2018-07-18 17:14:02.000000000 +0200
+++ suricata-4.0.5/debian/changelog     2018-09-25 17:49:24.000000000 +0200
@@ -1,3 +1,10 @@
+suricata (1:4.0.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate python Build-Depends with :any. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 25 Sep 2018 17:49:24 +0200
+
 suricata (1:4.0.5-1) unstable; urgency=medium
 
   [ Sascha Steinbiss ]
diff --minimal -Nru suricata-4.0.5/debian/control suricata-4.0.5/debian/control
--- suricata-4.0.5/debian/control       2018-07-18 14:39:06.000000000 +0200
+++ suricata-4.0.5/debian/control       2018-09-25 17:49:00.000000000 +0200
@@ -22,7 +22,7 @@
                libpcre3-dev,
                libprelude-dev,
                libyaml-dev,
-               python,
+               python:any,
                zlib1g-dev | libz-dev,
                libhtp-dev (>= 1:0.5.25),
                procps

Reply via email to