Source: wmcalclock Version: 1.25-16 Tags: patch User: helm...@debian.org Usertags: rebootstrap
wmcalclock fails to cross build from source, because it strips with the build architecture strip via the -s flag to install. Stripping at make install time is a bad idea, because it prevents dh_strip from doing its work of generating a -dbgsym package. It also happens to break cross compilation here. Simply not passing -s at all produces the correct result in all cases and makes wmcalclock cross build successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru wmcalclock-1.25/debian/changelog wmcalclock-1.25/debian/changelog --- wmcalclock-1.25/debian/changelog 2016-10-27 02:33:54.000000000 +0200 +++ wmcalclock-1.25/debian/changelog 2018-09-19 20:39:06.000000000 +0200 @@ -1,3 +1,10 @@ +wmcalclock (1.25-16.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Defer all stripping to dh_strip. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 19 Sep 2018 20:39:06 +0200 + wmcalclock (1.25-16) unstable; urgency=low * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt". diff --minimal -Nru wmcalclock-1.25/debian/rules wmcalclock-1.25/debian/rules --- wmcalclock-1.25/debian/rules 2016-10-27 02:27:28.000000000 +0200 +++ wmcalclock-1.25/debian/rules 2018-09-19 20:39:01.000000000 +0200 @@ -15,9 +15,6 @@ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else