🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Wed, 28 Oct 2026 16:00
Bug#1152364: mysqmail FTCBFS: builds for the build architecture
#2497
Author: Helmut Grohne
Date: Wed, 28 Oct 2026 16:00
56 lines
3385 bytes
--3mn3FoCt6y/yruty
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: mysqmail
Version: 0.4.9-10.4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

mysqmail fails to cross build from source, because debian/rules does not
pass any cross tools to make. The easiest way of doing so is using
dh_auto_build. While this fixes the build, the use of the build
architecture strip is the next problem. The explicit stripping step has
other downsides. It also breaks generation of -dbgsym packages as well
as DEB_BUILD_OPTIONS=nostrip. It is best to rely on dh_strip alone. I'm
attaching a patch that fixes both problems for your convenience.

Helmut

--3mn3FoCt6y/yruty
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mysqmail_0.4.9-10.5.debdiff"

diff -Nru mysqmail-0.4.9/debian/changelog mysqmail-0.4.9/debian/changelog
--- mysqmail-0.4.9/debian/changelog	2025-03-13 19:39:06.000000000 +0100
+++ mysqmail-0.4.9/debian/changelog	2026-10-28 07:26:25.000000000 +0100
@@ -1,3 +1,12 @@
+mysqmail (0.4.9-10.5) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Defer all stripping to dh_strip.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 28 Oct 2026 07:26:25 +0100
+
 mysqmail (0.4.9-10.4) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru mysqmail-0.4.9/debian/rules mysqmail-0.4.9/debian/rules
--- mysqmail-0.4.9/debian/rules	2022-01-17 01:55:24.000000000 +0100
+++ mysqmail-0.4.9/debian/rules	2026-10-28 07:26:25.000000000 +0100
@@ -13,8 +13,7 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
-	$(MAKE)
-	$(MAKE) strip
+	dh_auto_build
 	touch $@
 
 clean:

--3mn3FoCt6y/yruty--
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