Source: fteqcc
Version: 3343+svn3400-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

fteqcc fails to cross build from source, because debian/rules strips via
install -s with the build architecture strip. Beyond breaking cross
compilation, this also breaks DEB_BUILD_OPTIONS=nocheck as well as
generation of -dbgsym packages. Please consider applying the attached
patch to drop the -s flag and fixing all of these issues as dh_strip
knows when to strip and how.

Helmut
diff --minimal -Nru fteqcc-3343+svn3400/debian/changelog 
fteqcc-3343+svn3400/debian/changelog
--- fteqcc-3343+svn3400/debian/changelog        2020-08-10 12:15:41.000000000 
+0200
+++ fteqcc-3343+svn3400/debian/changelog        2020-08-16 23:17:13.000000000 
+0200
@@ -1,3 +1,10 @@
+fteqcc (3343+svn3400-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 16 Aug 2020 23:17:13 +0200
+
 fteqcc (3343+svn3400-4) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru fteqcc-3343+svn3400/debian/rules 
fteqcc-3343+svn3400/debian/rules
--- fteqcc-3343+svn3400/debian/rules    2020-08-10 12:15:41.000000000 +0200
+++ fteqcc-3343+svn3400/debian/rules    2020-08-16 23:17:11.000000000 +0200
@@ -6,7 +6,7 @@
 
 override_dh_auto_install:
        mkdir -p debian/fteqcc/usr/bin
-       install -s fteqcc.bin debian/fteqcc/usr/bin/fteqcc
+       install fteqcc.bin debian/fteqcc/usr/bin/fteqcc
 
 override_dh_auto_clean:
        rm -f *.o fteqcc.bin fteqcc.log

Reply via email to