Source: libglibutil
Version: 1.0.83-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

libglibutil fails to cross build from source, because it strips using
the build architecture strip. In doing so, it not only fails to cross
build for using the wrong strip. It also fails generating a -dbgsym
package and renders DEB_BUILD_OPTIONS=nostrip useless. I'm proposing to
defer all stripping to dh_strip by skipping the buildsystem step. Please
consider applying the attached patch.

Helmut
diff -Nru libglibutil-1.0.83/debian/changelog 
libglibutil-1.0.83/debian/changelog
--- libglibutil-1.0.83/debian/changelog 2026-10-07 19:27:18.000000000 +0200
+++ libglibutil-1.0.83/debian/changelog 2026-10-09 14:23:01.000000000 +0200
@@ -1,3 +1,10 @@
+libglibutil (1.0.83-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Defer all stripping to dh_strip. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 09 Oct 2026 14:23:01 +0200
+
 libglibutil (1.0.83-1) unstable; urgency=medium
 
   [ Lucas de Castro Borges ]
diff -Nru libglibutil-1.0.83/debian/rules libglibutil-1.0.83/debian/rules
--- libglibutil-1.0.83/debian/rules     2026-10-07 19:27:18.000000000 +0200
+++ libglibutil-1.0.83/debian/rules     2026-10-09 14:22:59.000000000 +0200
@@ -10,6 +10,9 @@
 %:
        dh $@
 
+override_dh_auto_build:
+       dh_auto_build -- STRIP=true
+
 override_dh_auto_install:
        dh_auto_install -- LIBDIR=$(LIBDIR) install-dev
 

Reply via email to