Bug#888406: qtcharts-opensource-src FTCBFS: does not pass cross flags to qmake
Source: qtcharts-opensource-src
Version: 5.9.2-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
qtcharts-opensource-src fails to cross build from source, because it
doesn't pass cross flags (such as -specs) to qmake. The easiest way of
doing so is letting dh_auto_configure handle that. After doing so,
qtcharts-opensource-src cross builds successfully. Please consider
applying the attached patch.
Helmut
diff --minimal -Nru qtcharts-opensource-src-5.9.2/debian/changelog qtcharts-opensource-src-5.9.2/debian/changelog
--- qtcharts-opensource-src-5.9.2/debian/changelog 2017-10-26 22:49:05.000000000 +0200
+++ qtcharts-opensource-src-5.9.2/debian/changelog 2018-01-25 06:14:03.000000000 +0100
@@ -1,3 +1,10 @@
+qtcharts-opensource-src (5.9.2-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_configure pass cross flags to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 25 Jan 2018 06:14:03 +0100
+
qtcharts-opensource-src (5.9.2-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru qtcharts-opensource-src-5.9.2/debian/rules qtcharts-opensource-src-5.9.2/debian/rules
--- qtcharts-opensource-src-5.9.2/debian/rules 2017-10-26 22:49:05.000000000 +0200
+++ qtcharts-opensource-src-5.9.2/debian/rules 2018-01-25 06:13:56.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 -- docs
Reply to: