Bug#880995: qtmultimedia-opensource-src FTCBFS: does not pass cross tools to qmake
Source: qtmultimedia-opensource-src
Version: 5.9.2-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
qtmultimedia-opensource-src does not cross build from source, because it
does not pass cross tools to qmake. Deferring that task to
dh_auto_configure very slightly improves the situation as it does pass
cross tools to the initial qmake, but the first qmake fails to pass them
down to further qmake invocations and continues running checks natively.
Thus e.g. alsa is detected as missing. I don't have a clue how to fix
this, but please close this bug once the outer qmake receives cross
tools e.g. by using the attached patch.
Helmut
diff --minimal -Nru qtmultimedia-opensource-src-5.9.2/debian/changelog qtmultimedia-opensource-src-5.9.2/debian/changelog
--- qtmultimedia-opensource-src-5.9.2/debian/changelog 2017-10-26 13:40:20.000000000 +0200
+++ qtmultimedia-opensource-src-5.9.2/debian/changelog 2017-11-05 21:44:32.000000000 +0100
@@ -1,3 +1,10 @@
+qtmultimedia-opensource-src (5.9.2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Let dh_auto_configure pass cross tools to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 05 Nov 2017 21:44:32 +0100
+
qtmultimedia-opensource-src (5.9.2-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru qtmultimedia-opensource-src-5.9.2/debian/rules qtmultimedia-opensource-src-5.9.2/debian/rules
--- qtmultimedia-opensource-src-5.9.2/debian/rules 2017-10-26 13:40:20.000000000 +0200
+++ qtmultimedia-opensource-src-5.9.2/debian/rules 2017-11-05 21:43:33.000000000 +0100
@@ -20,7 +20,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: