🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Helmut Grohne Mon, 12 Oct 2026 17:20
Bug#1150712: libglibutil FTCBFS: hard codes the build architecture strip
#603
Author: Helmut Grohne
Date: Mon, 12 Oct 2026 17:20
53 lines
3341 bytes
--mmh7+Lz5cVnjCUgU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: libglibutil
Version: 1.0.83-1
Tags: patch
User: debian-cross@lists.debian.org
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

--mmh7+Lz5cVnjCUgU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libglibutil_1.0.83-1.1.debdiff"

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 <helmut@subdivi.de>  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
 

--mmh7+Lz5cVnjCUgU--
Bug#1150712: libglibutil FTCBFS: hard codes the build architecture strip
#793
Author: Jeremy Bícha
Date: Tue, 13 Oct 2026 23:00
16 lines
3264 bytes
On Mon, Oct 12, 2026 at 7:15 PM Helmut Grohne <helmut@subdivi.de> wrote:
> 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.

I applied your patch and upload to Debian. If you also want to provide
a patch to change the Makefile for libglibutil or libgbinder to
support Debian's crossbuilding easier, I could forward it upstream for
you.

Thank you,
Jeremy Bícha
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads