🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Sat, 31 Oct 2026 20:50
Bug#1152736: minexpert3 FTCBFS: configures for the build architecture
#2835
Author: Helmut Grohne
Date: Sat, 31 Oct 2026 20:50
53 lines
3584 bytes
--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="minexpert3_12.3.7-1.1.debdiff"

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

--ACV/78OwB6RdZeSD--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads