Source: libzeep Version: 3.0.2-7 Tags: patch User: helm...@debian.org Usertags: rebootstrap
libzeep fails to cross build from source, because it does not pass cross tools to make. The easiest way of fixing that - using dh_auto_build - almost fixes the build if it were not running strip directly. Doing so not only breaks cross compilation, but also breaks DEB_BUILD_OPTIONS=nostrip and generation of -dbgsym packages, so it is best to remove the call. The attached patch fixes all of that. Please consider applying it. Helmut
diff --minimal -Nru libzeep-3.0.2/debian/changelog libzeep-3.0.2/debian/changelog --- libzeep-3.0.2/debian/changelog 2018-10-26 08:07:31.000000000 +0200 +++ libzeep-3.0.2/debian/changelog 2019-05-20 17:36:30.000000000 +0200 @@ -1,3 +1,12 @@ +libzeep (3.0.2-7.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + nostrip.patch: Defer all stripping to dh_strip. + + -- Helmut Grohne <hel...@subdivi.de> Mon, 20 May 2019 17:36:30 +0200 + libzeep (3.0.2-7) unstable; urgency=medium [ Andreas Tille ] diff --minimal -Nru libzeep-3.0.2/debian/patches/nostrip.diff libzeep-3.0.2/debian/patches/nostrip.diff --- libzeep-3.0.2/debian/patches/nostrip.diff 1970-01-01 01:00:00.000000000 +0100 +++ libzeep-3.0.2/debian/patches/nostrip.diff 2019-05-20 17:36:30.000000000 +0200 @@ -0,0 +1,10 @@ +--- libzeep-3.0.2.orig/makefile ++++ libzeep-3.0.2/makefile +@@ -78,7 +78,6 @@ + install -d $(LIBDIR) + install $(LIB_NAME) $(LIBDIR)/$(LIB_NAME) + ln -Tfs $(LIB_NAME) $(LIBDIR)/$(SO_NAME) +- strip --strip-unneeded $(LIBDIR)/$(LIB_NAME) + + install-dev: + install -d $(MANDIR) $(LIBDIR) $(INCDIR)/zeep/xml $(INCDIR)/zeep/http $(INCDIR)/zeep/http/webapp diff --minimal -Nru libzeep-3.0.2/debian/patches/series libzeep-3.0.2/debian/patches/series --- libzeep-3.0.2/debian/patches/series 2018-10-26 08:07:31.000000000 +0200 +++ libzeep-3.0.2/debian/patches/series 2019-05-20 17:36:30.000000000 +0200 @@ -5,3 +5,4 @@ spelling.patch boost-1.65-compat.patch 0007-Fix-for-Boost-version-1.67.patch +nostrip.diff diff --minimal -Nru libzeep-3.0.2/debian/rules libzeep-3.0.2/debian/rules --- libzeep-3.0.2/debian/rules 2018-10-26 08:07:31.000000000 +0200 +++ libzeep-3.0.2/debian/rules 2019-05-20 17:36:29.000000000 +0200 @@ -8,7 +8,7 @@ dh $@ override_dh_auto_build: - $(MAKE) lib + dh_auto_build -- lib override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/libzeep3.0v5 install-libs