Source: minexpert3
Version: 12.3.7-1
Tags: patch
User: [email protected]
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
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 <[email protected]>  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 && 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 && make

Reply via email to