Source: xyscan Version: 4.30-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
xyscan fails to cross build from source, because it runs qmake for the build architecture. The easiest way of fixing that is letting dh_auto_configure run qmake. It also runs lrelease without the required dependency on qt5-qmake:native. After fixing both, xyscan cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru xyscan-4.30/debian/changelog xyscan-4.30/debian/changelog --- xyscan-4.30/debian/changelog 2017-10-24 17:11:51.000000000 +0200 +++ xyscan-4.30/debian/changelog 2018-06-23 10:34:36.000000000 +0200 @@ -1,3 +1,12 @@ +xyscan (4.30-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_configure run cross qmake. + + Missing Build-Depends: qt5-qmake:native for lrelease + + -- Helmut Grohne <hel...@subdivi.de> Sat, 23 Jun 2018 10:34:36 +0200 + xyscan (4.30-1) unstable; urgency=medium * updated the file debian/watch to reflect upstream's location change diff --minimal -Nru xyscan-4.30/debian/control xyscan-4.30/debian/control --- xyscan-4.30/debian/control 2017-10-24 17:11:51.000000000 +0200 +++ xyscan-4.30/debian/control 2018-06-23 10:34:33.000000000 +0200 @@ -2,7 +2,7 @@ Section: science Priority: extra Maintainer: Georges Khaznadar <georg...@debian.org> -Build-Depends: debhelper (>= 10), qt5-qmake, qtbase5-dev, qtbase5-dev-tools, +Build-Depends: debhelper (>= 10), qt5-qmake, qt5-qmake:native, qtbase5-dev, qtbase5-dev-tools, qtmultimedia5-dev, qttools5-dev-tools, libpoppler-qt5-dev Standards-Version: 4.1.3 Vcs-Browser: https://salsa.debian.org/georgesk/xyscan.git diff --minimal -Nru xyscan-4.30/debian/rules xyscan-4.30/debian/rules --- xyscan-4.30/debian/rules 2017-10-24 17:11:51.000000000 +0200 +++ xyscan-4.30/debian/rules 2018-06-23 10:34:22.000000000 +0200 @@ -22,9 +22,8 @@ dh_clean override_dh_auto_configure: - qmake -qt=5 -o Makefile xyscan.pro + dh_auto_configure lrelease xyscan.pro - make override_dh_auto_install: install -d $(CURDIR)/debian/xyscan/usr/share/qt5/translations