Source: simpleproxy Version: 3.5-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
simpleproxy fails to cross build from source, because it builds for the build architecture. Its configure script is too old to understand the --host flag supplied by dh_auto_configure. Rather, one is supposed to export various tool variables. An easy way to do that is using dpkg's buildtools.mk. Please consider applying the attached patch. Helmut
diff --minimal -Nru simpleproxy-3.5/debian/changelog simpleproxy-3.5/debian/changelog --- simpleproxy-3.5/debian/changelog 2016-11-12 07:17:40.000000000 +0100 +++ simpleproxy-3.5/debian/changelog 2020-04-18 20:40:00.000000000 +0200 @@ -1,3 +1,10 @@ +simpleproxy (3.5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply cross tools. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 18 Apr 2020 20:40:00 +0200 + simpleproxy (3.5-1) unstable; urgency=medium * New upstream release (closes: #485573) diff --minimal -Nru simpleproxy-3.5/debian/rules simpleproxy-3.5/debian/rules --- simpleproxy-3.5/debian/rules 2014-05-12 05:52:30.000000000 +0200 +++ simpleproxy-3.5/debian/rules 2020-04-18 20:39:59.000000000 +0200 @@ -1,6 +1,8 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDTOOLS=1 +-include /usr/share/dpkg/buildtools.mk override_dh_auto_install: $(MAKE) install prefix=$(CURDIR)/debian/simpleproxy/usr