[From nobody Mon Nov  2 18:17:07 2026
Received: (at submit) by bugs.debian.org; 31 Oct 2026 20:39:42 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 required=4.0 tests=BAYES_00, DATE_IN_PAST_12_24, 
 DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF,
 SPF_HELO_NONE, 
 SPF_NONE,WORD_WITHOUT_VOWELS autolearn=no autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 42; spammy,
 0. spammytokens: hammytokens:0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian, 0.000-+--HTo:N*Bug, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Tracking
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:49774)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;helmut@subdivi.de&gt;) id 1xNFrZ-008qWO-37
 for submit@bugs.debian.org; Sat, 31 Oct 2026 20:39:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k33.isilmar-4; t=1793479179;
 bh=XvdI6K8xHBZ2ns8KXwwZkzJqVeoqcq1NVF36ttBsnSc=;
 h=Date:From:To:Subject:From;
 b=P2wWyuZV7P3hzV5653WVVLBXQzwMz0W3cd7O0Gwn1BTFAr7UP2eMRWCAT6Ci+Fjol
 I3U3rY45BIqlq/qW7Y1CU6mX0Zljnqttk/W3WTw9dPsYrDPYY/LRQGCWnDHDpc8868
 NI0qoqqZghCYkdAxCIkHE9BtVUgMKyCJOAeMr8OChCac+6K3GWMev2cROmfsXDN87+
 jbnnLnS+wXFdgApcNqJR7Fzzn4EgdgBGYennRWkHWyzEaKtZsTDIphaYcx+nNvHdQu
 KrAGWQ5pVUOGqQ8O9Zrmda3rmpSuwEPpzENU5VKFnUurIaSrcGMqVkVQWTYzdNSAXF
 Pj/Ft3BHPaisg==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id A8E40200A33
 for &lt;submit@bugs.debian.org&gt;; Sat, 31 Oct 2026 20:39:39 +0000 (UTC)
Date: Fri, 30 Oct 2026 23:48:19 +0100
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: minexpert3 FTCBFS: configures for the build architecture
Message-ID: &lt;20261030224819.GA4130942@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;ACV/78OwB6RdZeSD&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org


--ACV/78OwB6RdZeSD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: minexpert3
Version: 12.3.7-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

minexpert3 fails to cross build from source, because it does not pass
any cross flags to cmake and therefore configures for the build
architecture. The easiest way of passing those flags is using
dh_auto_configure. I'm attaching a patch that makes minexpert3 cross
buildable that way. Please consider applying it.

Helmut

--ACV/78OwB6RdZeSD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=&quot;minexpert3_12.3.7-1.1.debdiff&quot;

diff -Nru minexpert3-12.3.7/debian/changelog minexpert3-12.3.7/debian/changelog
--- minexpert3-12.3.7/debian/changelog	2026-10-29 21:08:30.000000000 +0100
+++ minexpert3-12.3.7/debian/changelog	2026-10-30 23:30:59.000000000 +0100
@@ -1,3 +1,10 @@
+minexpert3 (12.3.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1)
+
+ -- Helmut Grohne &lt;helmut@subdivi.de&gt;  Fri, 30 Oct 2026 23:30:59 +0100
+
 minexpert3 (12.3.7-1) unstable; urgency=low
 
   * Add configuration for the generation of an AppImage bundle.
diff -Nru minexpert3-12.3.7/debian/rules minexpert3-12.3.7/debian/rules
--- minexpert3-12.3.7/debian/rules	2026-10-29 21:08:30.000000000 +0100
+++ minexpert3-12.3.7/debian/rules	2026-10-30 23:30:59.000000000 +0100
@@ -34,9 +34,8 @@
 	rm -f doc/user-manual/DC-user-manual
 
 override_dh_auto_configure:
-	mkdir -p debian/build
 	mkdir -p debian/tmp
-	cd debian/build &amp;&amp; cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_USER_MANUAL=Off -DCMAKE_INSTALL_PREFIX=/usr ../..
+	dh_auto_configure --builddirectory=debian/build -- -DCMAKE_BUILD_TYPE=Release -DBUILD_USER_MANUAL=Off
 
 override_dh_auto_build:
 	cd debian/build &amp;&amp; make

--ACV/78OwB6RdZeSD--
]