Source: cfingerd Version: 1.4.3-3.2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
cfingerd fails to cross build from source, because it does not pass cross tools to make. The easiest way of doing so - using dh_auto_build - does not entirely fix the build. One also needs to skip stripping during install. This is a good idea anyway as such stripping breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym packages. Please consider applying the attached patch. Helmut
diff -u cfingerd-1.4.3/debian/changelog cfingerd-1.4.3/debian/changelog --- cfingerd-1.4.3/debian/changelog +++ cfingerd-1.4.3/debian/changelog @@ -1,3 +1,12 @@ +cfingerd (1.4.3-3.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Defer stripping to dh_strip. + + -- Helmut Grohne <hel...@subdivi.de> Wed, 15 Apr 2020 16:42:41 +0200 + cfingerd (1.4.3-3.2) unstable; urgency=medium * Non-maintainer upload. diff -u cfingerd-1.4.3/debian/rules cfingerd-1.4.3/debian/rules --- cfingerd-1.4.3/debian/rules +++ cfingerd-1.4.3/debian/rules @@ -32,15 +32,12 @@ else CFLAGS = -O2 -Wall endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) -STRIP = -s -endif build: -test -f Makefile.cfg || ./Configure -c config=/etc/cfingerd/cfingerd.conf \ -c mandir=/usr/share/man -c man_owner=root -c man_group=root \ -c cflags="$(CFLAGS)" - $(MAKE) all + dh_auto_build -- all touch stamp-build clean: debclean