🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1150989: massxpert3 FTCBFS: configures for the build architecture

#961
From: Helmut Grohne
Date: Thu, 15 Oct 2026 12:30
53 lines
3582 bytes
--U2Cnsd3kVD9umsoV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: massxpert3
Version: 10.5.8-1
Tags: patch
User: debian-cross@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

--U2Cnsd3kVD9umsoV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="massxpert3_10.5.8-1.1.debdiff"

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@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

--U2Cnsd3kVD9umsoV--
Technical Details
Message-ID: <NOsKR-5GFG-21@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.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!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150989: massxpert3 FTCBFS: configures for the build architecture
Date: Thu, 15 Oct 2026 14:30:01 +0200
Message-ID: <NOsKR-5GFG-21@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 15 12:23:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1150989@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debichem-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1150989
X-Debian-Pr-Package: src:massxpert3
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: massxpert3
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="U2Cnsd3kVD9umsoV"
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/1996931
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 53
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 18:13:28 +0200
X-Original-Message-ID: <20261014161328.GA3013725@subdivi.de>