Source: spline
Version: 1.2-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

spline fails to cross build from source, because it strips with the
build architecture strip during make install. Doing so also breaks
generation of -dbgsym packages, but DEB_BUILD_OPTIONS=nostrip is
surprisingly honoured by the upstream Makefile. Please consider applying
the attached patch to disable such stripping and leaving it up to
dh_strip, which uses the correct strip.

Helmut
diff --minimal -Nru spline-1.2/debian/changelog spline-1.2/debian/changelog
--- spline-1.2/debian/changelog 2019-01-27 13:44:20.000000000 +0100
+++ spline-1.2/debian/changelog 2021-09-07 12:43:48.000000000 +0200
@@ -1,3 +1,10 @@
+spline (1.2-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 07 Sep 2021 12:43:48 +0200
+
 spline (1.2-4) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --minimal -Nru spline-1.2/debian/rules spline-1.2/debian/rules
--- spline-1.2/debian/rules     2019-01-27 13:44:20.000000000 +0100
+++ spline-1.2/debian/rules     2021-09-07 12:43:47.000000000 +0200
@@ -6,6 +6,9 @@
 %:
        dh $@
 
+override_dh_auto_install:
+       DEB_BUILD_OPTIONS="nostrip ${DEB_BUILD_OPTIONS}" dh_auto_install
+
 override_dh_auto_test:
        # don't run the tests if suppressed with DEB_BUILD_OPTIONS=nocheck
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))

Reply via email to