Source: nat Version: 1:1.0-6 Tags: patch User: helm...@debian.org Usertags: rebootstrap
nat fails to cross build from source, because it uses the build architecture compiler. The easiest way of fixing that is letting dh_auto_build pass cross compilers to make. After doing so, nat cross builds successfully. Please consider applying the attached patch. Helmut
diff -u nat-1.0/debian/changelog nat-1.0/debian/changelog --- nat-1.0/debian/changelog +++ nat-1.0/debian/changelog @@ -1,3 +1,12 @@ +nat (1:1.0-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Defer all stripping to dh_strip. + + -- Helmut Grohne <hel...@subdivi.de> Wed, 04 Apr 2018 21:40:32 +0200 + nat (1:1.0-6) unstable; urgency=medium * include.h: Apply patch provided by Cyril Roelandt to fix diff -u nat-1.0/debian/control nat-1.0/debian/control --- nat-1.0/debian/control +++ nat-1.0/debian/control @@ -2,7 +2,7 @@ Section: admin Priority: extra Maintainer: Javier Fernandez-Sanguino Peña <j...@debian.org> -Build-Depends: debhelper (>> 3.0.0) +Build-Depends: debhelper (>= 7) Standards-Version: 3.9.6 Homepage: http://www.tux.org/pub/security/secnet/tools/nat10/ diff -u nat-1.0/debian/rules nat-1.0/debian/rules --- nat-1.0/debian/rules +++ nat-1.0/debian/rules @@ -13,9 +13,6 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif configure: configure-stamp configure-stamp: @@ -29,7 +26,7 @@ build-stamp: configure-stamp dh_testdir - $(MAKE) + dh_auto_build touch build-stamp clean: