Source: libgbinder
Version: 1.1.54-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

libgbinder fails to cross build from source. On the surface, it uses
the build architecture strip during build. Doing so not only breaks
cross compilation, but also generation of -dbgsym packages as well as
DEB_BUILD_OPTIONS=nostrip. Beyond that, it also skips building tools, so
tools end up being built during dh_auto_install where debhelper does not
pass any cross tools. The tools should be built during the dh_auto_build
phase. I'm attaching a patch fixing all of this. Please consider
applying it.

Helmut
diff -Nru libgbinder-1.1.54/debian/changelog libgbinder-1.1.54/debian/changelog
--- libgbinder-1.1.54/debian/changelog  2026-10-07 19:41:47.000000000 +0200
+++ libgbinder-1.1.54/debian/changelog  2026-10-09 14:30:32.000000000 +0200
@@ -1,3 +1,12 @@
+libgbinder (1.1.54-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Build all of the package during dh_auto_build.
+    + Don't strip during dh_auto_build.
+
+ -- Helmut Grohne <[email protected]>  Fri, 09 Oct 2026 14:30:32 +0200
+
 libgbinder (1.1.54-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libgbinder-1.1.54/debian/rules libgbinder-1.1.54/debian/rules
--- libgbinder-1.1.54/debian/rules      2026-10-07 19:41:47.000000000 +0200
+++ libgbinder-1.1.54/debian/rules      2026-10-09 14:30:32.000000000 +0200
@@ -11,6 +11,10 @@
 %:
        dh $@
 
+override_dh_auto_build:
+       dh_auto_build -- STRIP=true
+       dh_auto_build --sourcedirectory=tools -- KEEP_SYMBOLS=1
+
 override_dh_auto_install:
        dh_auto_install -- LIBDIR=$(LIBDIR) install-dev
        dh_auto_install -- -C tools

Reply via email to