Source: qtwebchannel-opensource-src Version: 5.9.2-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
qtwebchannel-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 qtwebchannel-opensource-src-5.9.2/debian/changelog qtwebchannel-opensource-src-5.9.2/debian/changelog --- qtwebchannel-opensource-src-5.9.2/debian/changelog 2017-11-27 20:44:59.000000000 +0100 +++ qtwebchannel-opensource-src-5.9.2/debian/changelog 2017-12-14 19:35:56.000000000 +0100 @@ -1,3 +1,10 @@ +qtwebchannel-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 <hel...@subdivi.de> Thu, 14 Dec 2017 19:35:56 +0100 + qtwebchannel-opensource-src (5.9.2-3) unstable; urgency=medium * Team upload. diff --minimal -Nru qtwebchannel-opensource-src-5.9.2/debian/control qtwebchannel-opensource-src-5.9.2/debian/control --- qtwebchannel-opensource-src-5.9.2/debian/control 2017-11-27 19:36:51.000000000 +0100 +++ qtwebchannel-opensource-src-5.9.2/debian/control 2017-12-14 19:35:56.000000000 +0100 @@ -6,7 +6,7 @@ Simon Quigley <tsimo...@ubuntu.com> Section: libs Priority: optional -Build-Depends: debhelper (>= 10.3), +Build-Depends: debhelper (>= 10.9.2~), libqt5websockets5-dev (>= 5.9.2~), pkg-kde-tools, qml-module-qttest (>= 5.9.2~), diff --minimal -Nru qtwebchannel-opensource-src-5.9.2/debian/rules qtwebchannel-opensource-src-5.9.2/debian/rules --- qtwebchannel-opensource-src-5.9.2/debian/rules 2017-11-27 17:41:59.000000000 +0100 +++ qtwebchannel-opensource-src-5.9.2/debian/rules 2017-12-14 19:35:54.000000000 +0100 @@ -24,7 +24,7 @@ rm -f src/webchannel/QtWebChannel.version.in 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