Bug#881854: qtlocation-opensource-src FTCBFS: does not pass cross tools to qmake
Source: qtlocation-opensource-src
Version: 5.9.2+dfsg-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
qtlocation-opensource-src fails to cross build from source, because it
does not pass cross tools to qmake. Deferring that task to
dh_auto_configure makes the configure step succeed and I hope that the
pending debhelper changes will make the build step succeed. Please
consider applying the attached patch.
Helmut
diff --minimal -Nru qtlocation-opensource-src-5.9.2+dfsg/debian/changelog qtlocation-opensource-src-5.9.2+dfsg/debian/changelog
--- qtlocation-opensource-src-5.9.2+dfsg/debian/changelog 2017-10-26 22:55:51.000000000 +0200
+++ qtlocation-opensource-src-5.9.2+dfsg/debian/changelog 2017-11-15 20:16:25.000000000 +0100
@@ -1,3 +1,10 @@
+qtlocation-opensource-src (5.9.2+dfsg-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Let dh_auto_configure pass cross tools to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Wed, 15 Nov 2017 20:16:25 +0100
+
qtlocation-opensource-src (5.9.2+dfsg-2) unstable; urgency=medium
* Upload to unstable.
diff --minimal -Nru qtlocation-opensource-src-5.9.2+dfsg/debian/rules qtlocation-opensource-src-5.9.2+dfsg/debian/rules
--- qtlocation-opensource-src-5.9.2+dfsg/debian/rules 2017-10-26 22:55:51.000000000 +0200
+++ qtlocation-opensource-src-5.9.2+dfsg/debian/rules 2017-11-15 20:16:23.000000000 +0100
@@ -14,7 +14,7 @@
dh $@ --with pkgkde_symbolshelper
override_dh_auto_configure:
- qmake QT_BUILD_PARTS+=tests
+ dh_auto_configure -- QT_BUILD_PARTS+=tests
override_dh_auto_build-indep:
dh_auto_build -Smakefile -- docs
Reply to: