Source: libva
Version: 1.7.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

libva fails to cross build from source, because its build dependency on
perl is unsatisfiable. It seems that libva only uses perl as a build
tool, so it should be requested for the build architecture instead of
the host architecture and thus annotated with :any. After applying the
attached patch, libva cross builds just fine.

Helmut
diff --minimal -Nru libva-1.7.2/debian/changelog libva-1.7.2/debian/changelog
--- libva-1.7.2/debian/changelog        2016-09-05 09:46:04.000000000 +0200
+++ libva-1.7.2/debian/changelog        2016-10-17 20:46:09.000000000 +0200
@@ -1,3 +1,10 @@
+libva (1.7.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate Build-Depends: perl with :any. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 17 Oct 2016 20:46:08 +0200
+
 libva (1.7.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru libva-1.7.2/debian/control libva-1.7.2/debian/control
--- libva-1.7.2/debian/control  2016-05-11 17:29:39.000000000 +0200
+++ libva-1.7.2/debian/control  2016-10-17 20:46:21.000000000 +0200
@@ -18,7 +18,7 @@
  libxext-dev,
  libxfixes-dev,
  pkg-config,
- perl
+ perl:any
 Standards-Version: 3.9.8
 Homepage: http://www.freedesktop.org/wiki/Software/vaapi
 Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/libva.git

Reply via email to