Source: jove Version: 4.16.0.73-4 Tags: patch User: [email protected] Usertags: rebootstrap
jove fails to cross build from source, because it uses the build architecture compiler as a make default. After letting dh_auto_build pass cross compilers to make, the only missing piece to the puzzle is providing a suitable LOCALCC and then jove cross builds successfully. Please consider applying the attached patch. Helmut
diff -u jove-4.16.0.73/debian/changelog jove-4.16.0.73/debian/changelog --- jove-4.16.0.73/debian/changelog +++ jove-4.16.0.73/debian/changelog @@ -1,3 +1,10 @@ +jove (4.16.0.73-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 29 Nov 2017 21:43:54 +0100 + jove (4.16.0.73-4) unstable; urgency=low * force nroff to ascii to work towards reproducable builds. diff -u jove-4.16.0.73/debian/rules jove-4.16.0.73/debian/rules --- jove-4.16.0.73/debian/rules +++ jove-4.16.0.73/debian/rules @@ -9,6 +9,8 @@ # Hardening export DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +-include /usr/share/dpkg/buildtools.mk +CC_FOR_BUILD ?= cc # does nothing. build: @@ -18,7 +20,7 @@ build-jove: dh_testdir # $(MAKE) - $(MAKE) SYSDEFS="$(CFLAGS) $(CPPFLAGS) -DSYSVR4 -D_XOPEN_SOURCE=500 -DJLGBUFSIZ=14" + dh_auto_build -- SYSDEFS="$(CFLAGS) $(CPPFLAGS) -DSYSVR4 -D_XOPEN_SOURCE=500 -DJLGBUFSIZ=14" 'LOCALCC=$(CC_FOR_BUILD)' binary: binary-arch binary-indep

