Source: dv4l
Version: 1.0-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

dv4l fails to cross build from source. It replaces cdbs' configure flags
and thereby removes --build/--host flags while retaining its CC
environment variable. The configure script rightly becomes confused
about whether that is really a cross build. Please consider applying the
attached patch to put back the missing flags.

Helmut
diff -u dv4l-1.0/debian/changelog dv4l-1.0/debian/changelog
--- dv4l-1.0/debian/changelog
+++ dv4l-1.0/debian/changelog
@@ -1,3 +1,10 @@
+dv4l (1.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass --host to configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 17 Dec 2020 20:58:53 +0100
+
 dv4l (1.0-5) unstable; urgency=low
 
   * Remove vloopback-source from Recommends.
diff -u dv4l-1.0/debian/rules dv4l-1.0/debian/rules
--- dv4l-1.0/debian/rules
+++ dv4l-1.0/debian/rules
@@ -1,11 +1,14 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 DEB_CONFIGURE_NORMAL_ARGS = --prefix=/usr --libdir=/lib/dv4l \
-                       --datarootdir=/share 
+                       --datarootdir=/share \
+                       --build=$(DEB_BUILD_GNU_TYPE) \
+                       --host=$(DEB_HOST_GNU_TYPE)
 
 install/dv4l::
        install -m 0644 -D debian/lintian-override \

Reply via email to