Source: faifa
Version: 0.2~svn82-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

faifa fails to cross build from source, because it tries to strip host
architecture elf objects at make install time using the build
architecture strip. Stripping at install time is a bad idea, because it
breaks -dbgsym packages created by dh_strip. Simply skipping the
stripping fixes both cross builds and -dbgsym packages. Please consider
applying the attached patch after stretch is released.

Helmut
diff --minimal -Nru faifa-0.2~svn82/debian/changelog 
faifa-0.2~svn82/debian/changelog
--- faifa-0.2~svn82/debian/changelog    2011-05-10 20:30:31.000000000 +0200
+++ faifa-0.2~svn82/debian/changelog    2017-06-09 17:56:38.000000000 +0200
@@ -1,3 +1,10 @@
+faifa (0.2~svn82-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not strip during install (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 09 Jun 2017 17:56:38 +0200
+
 faifa (0.2~svn82-1) unstable; urgency=low
 
   * New upstream snapshot (r82).
diff --minimal -Nru faifa-0.2~svn82/debian/rules faifa-0.2~svn82/debian/rules
--- faifa-0.2~svn82/debian/rules        2011-05-10 20:30:31.000000000 +0200
+++ faifa-0.2~svn82/debian/rules        2017-06-09 17:56:35.000000000 +0200
@@ -18,6 +18,9 @@
 override_dh_auto_build:
        SVN_REV=$(REVISION) STRIP=strip $(MAKE)
 
+override_dh_auto_install:
+       dh_auto_install -- STRIP=true
+
 override_dh_shlibdeps:
        dh_shlibdeps -Llibfaifa -l$(CURDIR)/$(TMPDIR)/usr/lib/faifa -a
 

Reply via email to