[Pkg-clamav-devel] Bug#844066: clamav FTCBFS: build-depends on host architecture perl and python
Helmut Grohne
helmut at subdivi.de
Sat Nov 12 08:42:18 UTC 2016
Source: clamav
Version: 0.99.2+dfsg-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
clamav fails to cross build from source, because it Build-Depends on the
host architecture perl and python, both of which are neither installable
nor executable. Indeed clamav only uses both interpreters as build
tools. Thus it should ask for the build architecture instances of them.
This can be achieved by annotating the respective dependencies with
:native. After doing so cross building clamav succeeds. Please consider
applying the attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru clamav-0.99.2+dfsg/debian/changelog clamav-0.99.2+dfsg/debian/changelog
--- clamav-0.99.2+dfsg/debian/changelog 2016-10-06 21:13:04.000000000 +0200
+++ clamav-0.99.2+dfsg/debian/changelog 2016-11-12 09:27:36.000000000 +0100
@@ -1,3 +1,10 @@
+clamav (0.99.2+dfsg-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Annotate interpreter dependencies with :native (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 12 Nov 2016 09:27:36 +0100
+
clamav (0.99.2+dfsg-4) unstable; urgency=medium
* Remove Stephen Gran as Uploader and thank you for your work
diff --minimal -Nru clamav-0.99.2+dfsg/debian/control clamav-0.99.2+dfsg/debian/control
--- clamav-0.99.2+dfsg/debian/control 2016-10-06 20:56:41.000000000 +0200
+++ clamav-0.99.2+dfsg/debian/control 2016-11-12 09:27:34.000000000 +0100
@@ -27,10 +27,10 @@
libsystemd-dev [linux-any],
libtfm-dev,
libxml2-dev,
- perl,
+ perl:native,
pkg-config,
po-debconf,
- python,
+ python:native,
zlib1g-dev
Standards-Version: 3.9.7
Vcs-Git: https://anonscm.debian.org/git/pkg-clamav/clamav.git
More information about the Pkg-clamav-devel
mailing list