[Debian-astro-maintainers] Bug#1152373: pluto-jpl-eph FTCBFS: uses non-standard tool variables

Helmut Grohne helmut at subdivi.de
Tue Oct 27 12:25:01 GMT 2026


Source: pluto-jpl-eph
Version: 0.0~git20260709.a73f25e-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

pluto-jpl-eph fails to cross build from source, because it uses
unconventional tool variables. Specifically it uses CPP for the C++
compiler. Unfortunately, debhelper supplies the C++ compiler via CXX and
provides a C preprocessor via CPP and this ends up not going well. I'm
attaching a patch to perform the necessary renaming. Please consider
applying it.

Helmut
-------------- next part --------------
diff -Nru pluto-jpl-eph-0.0~git20260709.a73f25e/debian/changelog pluto-jpl-eph-0.0~git20260709.a73f25e/debian/changelog
--- pluto-jpl-eph-0.0~git20260709.a73f25e/debian/changelog	2026-08-01 17:40:00.000000000 +0200
+++ pluto-jpl-eph-0.0~git20260709.a73f25e/debian/changelog	2026-10-27 13:21:50.000000000 +0100
@@ -1,3 +1,10 @@
+pluto-jpl-eph (0.0~git20260709.a73f25e-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Rename tool variables. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 27 Oct 2026 13:21:50 +0100
+
 pluto-jpl-eph (0.0~git20260709.a73f25e-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru pluto-jpl-eph-0.0~git20260709.a73f25e/debian/rules pluto-jpl-eph-0.0~git20260709.a73f25e/debian/rules
--- pluto-jpl-eph-0.0~git20260709.a73f25e/debian/rules	2026-08-01 17:40:00.000000000 +0200
+++ pluto-jpl-eph-0.0~git20260709.a73f25e/debian/rules	2026-10-27 13:21:47.000000000 +0100
@@ -9,5 +9,8 @@
 %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build -- 'CPP=$$(CXX)'
+
 override_dh_auto_install:
 	@echo "Not invoking installation by Makefile to protect home directory"


More information about the Debian-astro-maintainers mailing list