Source: ftplib Version: 4.0-1-3 Tags: patch User: [email protected] Usertags: rebootstrap
ftplib fails to cross build from source, because it uses the build architecture compiler. The easiest way of fixing that is using dh_auto_build. After doing so, ftplib cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru ftplib-4.0-1/debian/changelog ftplib-4.0-1/debian/changelog --- ftplib-4.0-1/debian/changelog 2018-02-06 11:23:46.000000000 +0100 +++ ftplib-4.0-1/debian/changelog 2018-06-10 11:14:49.000000000 +0200 @@ -1,3 +1,10 @@ +ftplib (4.0-1-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 10 Jun 2018 11:14:49 +0200 + ftplib (4.0-1-3) unstable; urgency=medium * Switch Vcs-* fields to salsa.debian.org. diff --minimal -Nru ftplib-4.0-1/debian/rules ftplib-4.0-1/debian/rules --- ftplib-4.0-1/debian/rules 2018-02-06 11:23:46.000000000 +0100 +++ ftplib-4.0-1/debian/rules 2018-06-10 11:14:43.000000000 +0200 @@ -3,10 +3,10 @@ include /usr/share/dpkg/architecture.mk %: - dh $@ + dh $@ --sourcedirectory=src override_dh_auto_build: - $(MAKE) -C src DEBUG="$(DEBUG)" + dh_auto_build -- DEBUG="$(DEBUG)" override_dh_auto_clean: $(MAKE) -C src clobber

