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

Bug#880937: qttools-opensource-src FTCBFS: does not pass cross tools to qmake



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

qttools-opensource-src does not cross build from source, because it does
not pass cross tools to qmake. Using debhelper should fix that.
qttools-opensource-src added an override for dh_auto_configure to work
around https://bugreports.qt.io/browse/QTBUG-30735, but that bug is
fixed now. Thus removing the override seems logical. Doing so makes the
configure step (but not the build step) succeed. Please consider
applying the attached patch and close this bug when doing so.

Helmut
diff --minimal -Nru qttools-opensource-src-5.9.2/debian/changelog qttools-opensource-src-5.9.2/debian/changelog
--- qttools-opensource-src-5.9.2/debian/changelog	2017-10-26 23:35:11.000000000 +0200
+++ qttools-opensource-src-5.9.2/debian/changelog	2017-11-05 20:48:58.000000000 +0100
@@ -1,3 +1,10 @@
+qttools-opensource-src (5.9.2-3.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:48:58 +0100
+
 qttools-opensource-src (5.9.2-3) unstable; urgency=medium
 
   * Move Qt5LinguistTools*.cmake from qttools5-dev-tools to qttools5-dev.
diff --minimal -Nru qttools-opensource-src-5.9.2/debian/rules qttools-opensource-src-5.9.2/debian/rules
--- qttools-opensource-src-5.9.2/debian/rules	2017-10-26 23:35:11.000000000 +0200
+++ qttools-opensource-src-5.9.2/debian/rules	2017-11-05 20:48:55.000000000 +0100
@@ -16,11 +16,6 @@
 %:
 	dh $@ --with pkgkde_symbolshelper
 
-# We override qmake until https://bugreports.qt.io/browse/QTBUG-30735
-# gets solved (FTBFS with -nocache).
-override_dh_auto_configure:
-	qmake 
-
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -fv .qmake.cache

Reply to: