Source: qtsensors-opensource-src Version: 5.9.2-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
qtsensors-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 qtsensors-opensource-src-5.9.2/debian/changelog qtsensors-opensource-src-5.9.2/debian/changelog --- qtsensors-opensource-src-5.9.2/debian/changelog 2017-10-26 23:20:55.000000000 +0200 +++ qtsensors-opensource-src-5.9.2/debian/changelog 2017-12-09 21:22:47.000000000 +0100 @@ -1,3 +1,10 @@ +qtsensors-opensource-src (5.9.2-2.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> Sat, 09 Dec 2017 21:22:47 +0100 + qtsensors-opensource-src (5.9.2-2) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru qtsensors-opensource-src-5.9.2/debian/control qtsensors-opensource-src-5.9.2/debian/control --- qtsensors-opensource-src-5.9.2/debian/control 2017-10-26 23:20:55.000000000 +0200 +++ qtsensors-opensource-src-5.9.2/debian/control 2017-12-09 21:22:44.000000000 +0100 @@ -8,7 +8,7 @@ Timo Jyrinki <t...@debian.org>, Dmitry Shachnev <mity...@debian.org>, Simon Quigley <tsimo...@ubuntu.com> -Build-Depends: debhelper (>= 10), +Build-Depends: debhelper (>= 10.9.2~), pkg-kde-tools, qtbase5-private-dev (>= 5.9.2+dfsg~), qtdeclarative5-private-dev (>= 5.9.2~), diff --minimal -Nru qtsensors-opensource-src-5.9.2/debian/rules qtsensors-opensource-src-5.9.2/debian/rules --- qtsensors-opensource-src-5.9.2/debian/rules 2017-10-26 23:20:55.000000000 +0200 +++ qtsensors-opensource-src-5.9.2/debian/rules 2017-12-09 21:22:19.000000000 +0100 @@ -20,7 +20,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