Bug#870862: directfb FTCBFS: configure: error: Could not find a directfb-csource in your PATH
Helmut Grohne
helmut at subdivi.de
Sat Aug 5 20:17:35 UTC 2017
Source: directfb
Version: 1.2.10.0-9
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
directfb fails to cross build from source:
| checking for directfb-csource... no
| configure: error: Could not find a directfb-csource in your PATH
It seems that for cross builds directfb expects to be able to run a
system-provided directfb-csource. That lives in libdirectfb-bin. So
directfb is missing a cross-specific dependency on libdirectfb-bin.
Since it wants to run directfb-csource, it needs to be installed for the
build architecture. That can be achieved by either marking the
libdirectfb-bin dependency with :native or by marking libdirectfb-bin
Multi-Arch: foreign. I think the latter is appropriate here, because
libdirectfb-bin contains only command line utilities. As far as I
understand their behaviour does not depend on the architecture of the
package. If that statement is wrong, it must not be marked M-A:foreign.
Please consider applying the attached patch after verifying that
M-A:foreign is indeed correct on libdirectfb-bin.
Helmut
-------------- next part --------------
diff --minimal -Nru directfb-1.2.10.0/debian/changelog directfb-1.2.10.0/debian/changelog
--- directfb-1.2.10.0/debian/changelog 2017-01-30 20:56:58.000000000 +0100
+++ directfb-1.2.10.0/debian/changelog 2017-08-05 22:10:01.000000000 +0200
@@ -1,3 +1,12 @@
+directfb (1.2.10.0-9.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Add missing cross build dependency on libdirectfb-bin.
+ + Mark libdirectfb-bin Multi-Arch: foreign.
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 05 Aug 2017 22:10:01 +0200
+
directfb (1.2.10.0-9) unstable; urgency=medium
* debian/libdirectfb-1.2-9.install: Fix architecture-based filter to
diff --minimal -Nru directfb-1.2.10.0/debian/control directfb-1.2.10.0/debian/control
--- directfb-1.2.10.0/debian/control 2017-01-30 20:53:05.000000000 +0100
+++ directfb-1.2.10.0/debian/control 2017-08-05 22:10:01.000000000 +0200
@@ -6,6 +6,7 @@
Build-Depends:
debhelper (>= 10),
dh-exec,
+ libdirectfb-bin <cross>,
libfreetype6-dev,
libgl1-mesa-dev,
libjpeg-dev,
@@ -61,6 +62,7 @@
Package: libdirectfb-bin
Architecture: any
+Multi-Arch: foreign
Depends:
${misc:Depends},
${shlibs:Depends}
More information about the pkg-multimedia-maintainers
mailing list