🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2497

Bug#1152364: mysqmail FTCBFS: builds for the build architecture

#2497
From: 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--
Technical Details
Message-ID: <NTeed-8rU2-21@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152364: mysqmail FTCBFS: builds for the build architecture
Date: Wed, 28 Oct 2026 17:00:01 +0100
Message-ID: <NTeed-8rU2-21@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 15:51:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1152364@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: zigo@debian.org
X-Debian-Pr-Message: report 1152364
X-Debian-Pr-Package: src:mysqmail
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: mysqmail
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="3mn3FoCt6y/yruty"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999382
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 28 Oct 2026 07:32:01 +0100
X-Original-Message-ID: <20261028063201.GA1110409@subdivi.de>