Source: libppd Version: 2:0.10-7.3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
libppd fails to cross build from source. The ./configure script is invoked without the relevant --host flag. dh_auto_configure takes care of that. Then install -s uses the wrong strip. It is best to avoid stripping at install time as that breaks generation of -dbgsym packages by dh_strip. The attached patch makes libppd cross buildable. Please consider applying it. Helmut
diff -u libppd-0.10/debian/changelog libppd-0.10/debian/changelog --- libppd-0.10/debian/changelog +++ libppd-0.10/debian/changelog @@ -1,3 +1,12 @@ +libppd (2:0.10-7.4) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_configure pass --host to ./configure. + + Defer all stripping to dh_strip. + + -- Helmut Grohne <hel...@subdivi.de> Fri, 02 Nov 2018 21:54:39 +0100 + libppd (2:0.10-7.3) unstable; urgency=medium * Non-maintainer upload diff -u libppd-0.10/debian/rules libppd-0.10/debian/rules --- libppd-0.10/debian/rules +++ libppd-0.10/debian/rules @@ -21,9 +21,6 @@ else CFLAGS += -O2 endif -ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) @@ -34,7 +31,7 @@ dh_testdir # avoid time skews dh_autoreconf - ./configure --prefix=/usr --with-glib=2 --mandir=/usr/share/man + dh_auto_configure -- --with-glib=2 --libdir='$${prefix}/lib' touch build-stamp clean: