Source: memstat
Version: 1.0
Tags: patch
User: [email protected]
Usertags: rebootstrap

memstat fails to cross build from source, because it uses the build
architecture strip during make install. stripping is bad anyway, and
debhelper will disable it in compat 11. After disabling it, memstat
cross builds, generates useful -dbgsym packages and honours
DEB_BUILD_OPTIONS=nostrip. Please consider applying the attached patch
... or switching to compat 11.

Helmut
diff --minimal -Nru memstat-1.0/debian/changelog 
memstat-1.0+nmu1/debian/changelog
--- memstat-1.0/debian/changelog        2013-11-10 16:36:02.000000000 +0100
+++ memstat-1.0+nmu1/debian/changelog   2017-06-26 20:31:47.000000000 +0200
@@ -1,3 +1,10 @@
+memstat (1.0+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not strip during install. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 26 Jun 2017 20:31:47 +0200
+
 memstat (1.0) unstable; urgency=low
 
   * Updated copyright statement
diff --minimal -Nru memstat-1.0/debian/rules memstat-1.0+nmu1/debian/rules
--- memstat-1.0/debian/rules    2013-11-10 16:35:04.000000000 +0100
+++ memstat-1.0+nmu1/debian/rules       2017-06-26 20:30:31.000000000 +0200
@@ -2,3 +2,5 @@
 %:
        dh $@
 
+override_dh_auto_install: # default in since compat 11
+       dh_auto_install -- INSTALL="install --strip-program=true"

Reply via email to