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

Bug#883970: qtwebsockets-opensource-src FTCBFS: does not pass cross tools to qmake



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

qtwebsockets-opensource-src fails to cross build from source, because it
does not pass cross tools to qmake. Nowadays, debhelper should handle
that task and simply deferring it to dh_auto_configure makes the cross
build succeed. Please consider applying the attached.

Helmut
diff --minimal -Nru qtwebsockets-opensource-src-5.9.2/debian/changelog qtwebsockets-opensource-src-5.9.2/debian/changelog
--- qtwebsockets-opensource-src-5.9.2/debian/changelog	2017-10-28 10:26:24.000000000 +0200
+++ qtwebsockets-opensource-src-5.9.2/debian/changelog	2017-12-09 22:07:12.000000000 +0100
@@ -1,3 +1,10 @@
+qtwebsockets-opensource-src (5.9.2-3.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>  Sat, 09 Dec 2017 22:07:12 +0100
+
 qtwebsockets-opensource-src (5.9.2-3) unstable; urgency=medium
 
   * Make the tests results not fatal also on mips64el.
diff --minimal -Nru qtwebsockets-opensource-src-5.9.2/debian/control qtwebsockets-opensource-src-5.9.2/debian/control
--- qtwebsockets-opensource-src-5.9.2/debian/control	2017-10-28 10:26:24.000000000 +0200
+++ qtwebsockets-opensource-src-5.9.2/debian/control	2017-12-09 22:07:10.000000000 +0100
@@ -8,7 +8,7 @@
            Timo Jyrinki <timo@debian.org>,
            Dmitry Shachnev <mitya57@debian.org>,
            Simon Quigley <tsimonq2@ubuntu.com>
-Build-Depends: debhelper (>= 10.3),
+Build-Depends: debhelper (>= 10.9.2~),
                libssl1.0-dev,
                pkg-kde-tools,
                qml-module-qtquick2,
diff --minimal -Nru qtwebsockets-opensource-src-5.9.2/debian/rules qtwebsockets-opensource-src-5.9.2/debian/rules
--- qtwebsockets-opensource-src-5.9.2/debian/rules	2017-10-28 10:26:24.000000000 +0200
+++ qtwebsockets-opensource-src-5.9.2/debian/rules	2017-12-09 22:06:51.000000000 +0100
@@ -20,7 +20,7 @@
 	rm -fv include/QtWebSockets/QtWebSocketsDepends
 
 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: