Source: acetoneiso Version: 2.4-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
acetoneiso fails to cross build from source. The first issue is not a hard failure, but is broken anyway: lrelease says WARNING: Could not find qmake configuration file linux-g++. lrelease error: cannot process project file 'acetoneiso/acetoneiso.pro'. and exits successfully. Arguably, this looks like a policy 4.6 violation. In any case, adding qt5-qmake:native and libqt5webkit5-dev:native to Build-Depends fixes this. Next up qmake is run for the build architecture as cdbs' cross support is less than working. Using dh_auto_configure fixes that. In the end it runs the build architecture compiler g++ for linking. I guess that this last issue is a problem that needs solving in debhelper or qmake. The attached patch thus only addresses the first two aspects. Please consider applying it and close this bug when doing so. Helmut
diff --minimal -Nru acetoneiso-2.4/debian/changelog acetoneiso-2.4/debian/changelog --- acetoneiso-2.4/debian/changelog 2017-11-29 04:25:19.000000000 +0100 +++ acetoneiso-2.4/debian/changelog 2018-02-06 20:31:11.000000000 +0100 @@ -1,3 +1,13 @@ +acetoneiso (2.4-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Partially fix FTCBFS: (Closes: #-1) + + Add missing Build-Depends qt5-qmake:native and libqt5webkit5-dev:native + needed for being able to run lrelease. + + Let dh_auto_configure pass cross flags to qmake. + + -- Helmut Grohne <hel...@subdivi.de> Tue, 06 Feb 2018 20:31:11 +0100 + acetoneiso (2.4-3) unstable; urgency=medium * Port code to Qt 5 (Closes: #784449, #875929, #874814) diff --minimal -Nru acetoneiso-2.4/debian/control acetoneiso-2.4/debian/control --- acetoneiso-2.4/debian/control 2017-11-29 04:07:36.000000000 +0100 +++ acetoneiso-2.4/debian/control 2018-02-06 20:31:11.000000000 +0100 @@ -5,7 +5,7 @@ Vcs-Bzr: lp:acetoneiso Vcs-Browser: https://code.launchpad.net/~andrikos/acetoneiso/acetoneiso Build-Depends: cdbs, debhelper (>= 9), - qttools5-dev-tools, libqt5webkit5-dev, libphonon4qt5-dev + qttools5-dev-tools, libqt5webkit5-dev, libphonon4qt5-dev, qt5-qmake:native, libqt5webkit5-dev:native Standards-Version: 4.1.1 # Homepage: http://www.acetoneteam.org/ diff --minimal -Nru acetoneiso-2.4/debian/rules acetoneiso-2.4/debian/rules --- acetoneiso-2.4/debian/rules 2017-11-29 00:33:06.000000000 +0100 +++ acetoneiso-2.4/debian/rules 2018-02-06 20:31:11.000000000 +0100 @@ -13,5 +13,8 @@ update-config:: lrelease ${DEB_BUILDDIR}/acetoneiso.pro +$(DEB_BUILDDIR)/Makefile: + dh_auto_configure --builddirectory=$(DEB_BUILDDIR) + install/acetoneiso:: rm -f ${DEB_BUILDDIR}/locale/*.qm