🚀 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 Tue, 24 Nov 2026 21:00
Bug#1155175: gcsa2 FTCBFS: hard codes a build architecture C++ compiler
#6006
Author: Helmut Grohne
Date: Tue, 24 Nov 2026 21:00
58 lines
3416 bytes
--sGdhJ8gXL52vAjsz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: gcsa2
Version: 1.4+dfsg-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

gcsa2 fails to cross build from source, because debian/rules hard codes
the build architecture C++ compiler as g++. The easiest way of fixing
this is employing dpkg's buildtools.mk to construct a suitable version.
Please consider applying the attached patch.

Helmut

--sGdhJ8gXL52vAjsz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gcsa2_1.4+dfsg-1.1.debdiff"

diff -Nru gcsa2-1.4+dfsg/debian/changelog gcsa2-1.4+dfsg/debian/changelog
--- gcsa2-1.4+dfsg/debian/changelog	2026-10-22 11:30:29.000000000 +0200
+++ gcsa2-1.4+dfsg/debian/changelog	2026-11-22 16:30:56.000000000 +0100
@@ -1,3 +1,10 @@
+gcsa2 (1.4+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply a C++ compiler. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 22 Nov 2026 16:30:56 +0100
+
 gcsa2 (1.4+dfsg-1) unstable; urgency=medium
 
   * Initial release. (Closes: #1151599)
diff -Nru gcsa2-1.4+dfsg/debian/rules gcsa2-1.4+dfsg/debian/rules
--- gcsa2-1.4+dfsg/debian/rules	2026-10-22 11:30:29.000000000 +0200
+++ gcsa2-1.4+dfsg/debian/rules	2026-11-22 16:30:56.000000000 +0100
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/buildtools.mk
+
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
@@ -9,7 +11,7 @@
 	dh $@
 
 override_dh_auto_build:
-	dh_auto_build -- MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
+	dh_auto_build -- MY_CXX=$(CXX) INC_DIR=/usr/include LIB_DIR=/usr/lib
 
 execute_after_dh_install:
 	ln -s libgcsa2.so.1.4 lib/libgcsa2.so.1

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