Source: qtquickcontrols-opensource-src
Version: 5.9.2-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

qtquickcontrols-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 (but not the build step)
succeed. Please consider applying the attached patch and closing this
bug when you do.

Helmut
diff --minimal -Nru qtquickcontrols-opensource-src-5.9.2/debian/changelog 
qtquickcontrols-opensource-src-5.9.2/debian/changelog
--- qtquickcontrols-opensource-src-5.9.2/debian/changelog       2017-10-27 
10:16:53.000000000 +0200
+++ qtquickcontrols-opensource-src-5.9.2/debian/changelog       2017-11-08 
19:56:08.000000000 +0100
@@ -1,3 +1,10 @@
+qtquickcontrols-opensource-src (5.9.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_auto_configure pass cross tools to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 08 Nov 2017 19:56:08 +0100
+
 qtquickcontrols-opensource-src (5.9.2-2) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru qtquickcontrols-opensource-src-5.9.2/debian/rules 
qtquickcontrols-opensource-src-5.9.2/debian/rules
--- qtquickcontrols-opensource-src-5.9.2/debian/rules   2017-10-27 
10:16:53.000000000 +0200
+++ qtquickcontrols-opensource-src-5.9.2/debian/rules   2017-11-08 
19:56:05.000000000 +0100
@@ -19,7 +19,7 @@
        rm -rfv test_root
 
 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 via email to