[Debichem-devel] Bug#1152736: minexpert3 FTCBFS: configures for the build architecture

Helmut Grohne helmut at subdivi.de
Fri Oct 30 22:48:19 GMT 2026


Source: minexpert3
Version: 12.3.7-1
Tags: patch
User: debian-cross at 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
-------------- next part --------------
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 <helmut at subdivi.de>  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


More information about the Debichem-devel mailing list