[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#880930: qtsvg-opensource-src FTCBFS: doesn't pass cross tools to qmake



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

qtsvg-opensource-src fails to cross build from source, because it
doesn't pass any cross tools to qmake. Now debhelper learned how to do
that for qmake, so using dh_auto_configure should be sufficient. Indeed,
it does make the configure step (but not the build step succeed). Using
dh_auto_configure also ensures that build flags are passed down and that
stripping is deferred to dh_strip, so this seems like a general
improvement. Please consider applying the attached patch.

Helmut
diff --minimal -Nru qtsvg-opensource-src-5.9.2/debian/changelog qtsvg-opensource-src-5.9.2/debian/changelog
--- qtsvg-opensource-src-5.9.2/debian/changelog	2017-10-26 15:49:09.000000000 +0200
+++ qtsvg-opensource-src-5.9.2/debian/changelog	2017-11-05 20:17:50.000000000 +0100
@@ -1,3 +1,10 @@
+qtsvg-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 <helmut@subdivi.de>  Sun, 05 Nov 2017 20:17:50 +0100
+
 qtsvg-opensource-src (5.9.2-2) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru qtsvg-opensource-src-5.9.2/debian/rules qtsvg-opensource-src-5.9.2/debian/rules
--- qtsvg-opensource-src-5.9.2/debian/rules	2017-10-26 15:49:09.000000000 +0200
+++ qtsvg-opensource-src-5.9.2/debian/rules	2017-11-05 20:17:48.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: