Source: basic256 Version: 1.1.4.0-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
basic256 fails to cross build from source, because dh_auto_clean fails running the build architecture qmake. Build-Depends only ask for the host architecture qmake. The attached patch forces using the host architecture one. Alternatively, adding a dependency on qt5-qmake:native would also fix the issue. Please consider applying the attached patch. Helmut
diff --minimal -Nru basic256-1.1.4.0/debian/changelog basic256-1.1.4.0/debian/changelog --- basic256-1.1.4.0/debian/changelog 2018-05-03 14:26:00.000000000 +0200 +++ basic256-1.1.4.0/debian/changelog 2019-03-17 21:04:13.000000000 +0100 @@ -1,3 +1,10 @@ +basic256 (1.1.4.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use a cross qmake during dh_auto_clean. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 17 Mar 2019 21:04:13 +0100 + basic256 (1.1.4.0-3) unstable; urgency=medium * Update Vcs-* URIs for move to salsa.debian.org diff --minimal -Nru basic256-1.1.4.0/debian/rules basic256-1.1.4.0/debian/rules --- basic256-1.1.4.0/debian/rules 2018-05-03 13:28:00.000000000 +0200 +++ basic256-1.1.4.0/debian/rules 2019-03-17 21:04:12.000000000 +0100 @@ -3,14 +3,18 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all export QT_SELECT=qt5 +include /usr/share/dpkg/architecture.mk +ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) +QMAKE = qmake +else +QMAKE = $(DEB_HOST_GNU_TYPE)-qmake +endif + %: dh $@ --buildsystem=qmake override_dh_auto_clean: - if [ -f $(CURDIR)/Makefile ]; then \ - sed -i -e 's/\/usr\/lib\/x86_64-linux-gnu\/qt5\/bin\/qmake/\/usr\/bin\/qmake/' $(CURDIR)/Makefile; \ - fi - dh_auto_clean + dh_auto_clean -- QMAKE=$(QMAKE) override_dh_auto_configure: dh_auto_configure -- BASIC256.pro