[Debichem-devel] Bug#1150989: massxpert3 FTCBFS: configures for the build architecture

Helmut Grohne helmut at subdivi.de
Wed Oct 14 17:13:28 BST 2026


Source: massxpert3
Version: 10.5.8-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

massxpert3 fails to cross build from source, because it does not pass
any cross compilation flags to CMake and therefore attempts to configure
for the build architecture. The easiest way of passing the necessary
flags is using dh_auto_configure. I'm attaching a patch for your
convenience. Please consider applying it.

Helmut
-------------- next part --------------
diff -Nru massxpert3-10.5.8/debian/changelog massxpert3-10.5.8/debian/changelog
--- massxpert3-10.5.8/debian/changelog	2026-10-07 14:40:31.000000000 +0200
+++ massxpert3-10.5.8/debian/changelog	2026-10-14 16:23:42.000000000 +0200
@@ -1,3 +1,10 @@
+massxpert3 (10.5.8-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>  Wed, 14 Oct 2026 16:23:42 +0200
+
 massxpert3 (10.5.8-1) unstable; urgency=low
 
   * Use the sequence purification mechanism when pasting in the sequence
diff -Nru massxpert3-10.5.8/debian/rules massxpert3-10.5.8/debian/rules
--- massxpert3-10.5.8/debian/rules	2026-10-07 14:40:31.000000000 +0200
+++ massxpert3-10.5.8/debian/rules	2026-10-14 16:23:39.000000000 +0200
@@ -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 --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DBUILD_USER_MANUAL=Off
 
 override_dh_auto_build:
 	cd debian/build && make


More information about the Debichem-devel mailing list