Source: genwqe-user Version: 4.0.18-3.1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
genwqe-user fails to cross build from source, because it builds for the build architecture. The makefile at hand can be instructed to perform a cross build by setting the CROSS variable. The attached patch implements that. Unfortunately, doing so does not make genwqe-user cross buildable as it uses help2man. Fixing help2man is non-trivial and often times, the best way is not using help2man at all. Please consider applying the attached patch to add the CROSS assignment leaving the help2man issue unresolved. Helmut
diff --minimal -Nru genwqe-user-4.0.18/debian/changelog genwqe-user-4.0.18/debian/changelog --- genwqe-user-4.0.18/debian/changelog 2020-04-10 15:38:27.000000000 +0200 +++ genwqe-user-4.0.18/debian/changelog 2020-05-31 22:09:13.000000000 +0200 @@ -1,3 +1,10 @@ +genwqe-user (4.0.18-3.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Improve cross building: pass CROSS= to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 31 May 2020 22:09:13 +0200 + genwqe-user (4.0.18-3.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru genwqe-user-4.0.18/debian/rules genwqe-user-4.0.18/debian/rules --- genwqe-user-4.0.18/debian/rules 2020-04-10 14:47:52.000000000 +0200 +++ genwqe-user-4.0.18/debian/rules 2020-05-31 22:09:13.000000000 +0200 @@ -21,7 +21,7 @@ # The tarball below is a workaround so the test does not need to # download it. tar czvf cantrbry.tar.gz -C misc . - $(MAKE) tools lib VERSION=$(VERSION) V=2 + $(MAKE) tools lib VERSION=$(VERSION) V=2 $(if $(filter $(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)),,CROSS=$(DEB_HOST_GNU_TYPE)-) override_dh_auto_install: dh_auto_install -- \