Source: leave Version: 1.12-2.1 Tags: patch User: [email protected] Usertags: ftcbfs
Cross building leave is apparently successful. However, the resulting package contains a build architecture executable. Please consider applying the attached patch to make it use cross tools. Beyond this, I strongly recommend using debhelper. Using dh_strip would have avoided the strip part. Helmut
diff -u leave-1.12/debian/rules leave-1.12/debian/rules --- leave-1.12/debian/rules +++ leave-1.12/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk +STRIP ?= strip + tmp=$(shell pwd)/debian/leave ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -7,11 +10,11 @@ endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - stripflag=-s + stripflag=-s --strip-program=$(STRIP) endif leave: leave.c - cc -g $(optflag) -Wall -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= leave.c -o leave + $(CC) -g $(optflag) -Wall -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= leave.c -o leave # used to have 'pmake CFLAGS="..." leave' here, but why? build: leave diff -u leave-1.12/debian/changelog leave-1.12/debian/changelog --- leave-1.12/debian/changelog +++ leave-1.12/debian/changelog @@ -1,3 +1,10 @@ +leave (1.12-2.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply cross tools. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Mon, 03 Aug 2020 10:18:56 +0200 + leave (1.12-2.1) unstable; urgency=low * Non-maintainer upload.

