Bug#884558: proftpd-dfsg FTCBFS: fails stripping with the build architecture strip

Helmut Grohne helmut at subdivi.de
Sat Dec 16 19:59:41 UTC 2017


Source: proftpd-dfsg
Version: 1.3.5d-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

proftpd-dfsg fails to cross build from source, because make install
tries to strip proftpd (via install -s) with the build architecture
strip and fails doing so. Stripping is best performed by dh_strip to get
useful -dbgsym packages. Thus the easy solution is to pass
--disable-strip and just doing so makes the cross build succeed. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru proftpd-dfsg-1.3.5d/debian/changelog proftpd-dfsg-1.3.5d/debian/changelog
--- proftpd-dfsg-1.3.5d/debian/changelog	2017-01-26 13:23:53.000000000 +0100
+++ proftpd-dfsg-1.3.5d/debian/changelog	2017-12-16 18:06:47.000000000 +0100
@@ -1,3 +1,10 @@
+proftpd-dfsg (1.3.5d-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Configure with --disable-strip (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 16 Dec 2017 18:06:47 +0100
+
 proftpd-dfsg (1.3.5d-1) unstable; urgency=medium
 
   [ Hilmar Preu??e ]
diff --minimal -Nru proftpd-dfsg-1.3.5d/debian/rules proftpd-dfsg-1.3.5d/debian/rules
--- proftpd-dfsg-1.3.5d/debian/rules	2017-01-26 13:23:53.000000000 +0100
+++ proftpd-dfsg-1.3.5d/debian/rules	2017-12-16 18:06:45.000000000 +0100
@@ -40,7 +40,7 @@
 	     --with-includes=$(shell pg_config --includedir):$(shell mysql_config --include|sed -e 's/-I//') \
 	     --mandir=/usr/share/man --sysconfdir=/etc/$(NAME) --localstatedir=/run --libexecdir=/usr/lib/$(NAME) \
 	     --enable-sendfile --enable-facl --enable-dso --enable-autoshadow --enable-ctrls --with-modules=mod_readme \
-	     --enable-ipv6 --enable-nls --enable-memcache --with-lastlog=/var/log/lastlog --enable-pcre $(DEVELOPT)
+	     --enable-ipv6 --enable-nls --enable-memcache --with-lastlog=/var/log/lastlog --enable-pcre $(DEVELOPT) --disable-strip
 
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
   CONF_ARGS += --build $(DEB_HOST_GNU_TYPE)


More information about the Pkg-proftpd-maintainers mailing list