Source: gcsa2 Version: 1.4+dfsg-1 Tags: patch User: [email protected] 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
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 <[email protected]> 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

