[Debian-astro-maintainers] Bug#1112635: supernovas FTCBFS: detects absence of calceph support

Helmut Grohne helmut at subdivi.de
Fri Aug 29 21:18:00 BST 2025


Source: supernovas
Version: 1.4.2-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

supernovas fails to cross build from source, because calceph support is 
detected as absent via ldconfig, which gives results for the build 
architecture rather than the host architecture. In order to maximize 
build reproducibility, I suggest skipping detection and being explicit 
about optional features are supposed to be enabled. Once doing so, the 
cross build succeeds. I'm attaching a patch for your convenience.

Helmut
-------------- next part --------------
diff -Nru supernovas-1.4.2/debian/changelog supernovas-1.4.2/debian/changelog
--- supernovas-1.4.2/debian/changelog	2025-08-24 19:46:14.000000000 +0200
+++ supernovas-1.4.2/debian/changelog	2025-08-29 22:13:15.000000000 +0200
@@ -1,3 +1,10 @@
+supernovas (1.4.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't autodetect calceph and cspice. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 29 Aug 2025 22:13:15 +0200
+
 supernovas (1.4.2-1) unstable; urgency=medium
 
   * Update to upstream v1.4.2 -- bug fix release with updated nutation model.
diff -Nru supernovas-1.4.2/debian/rules supernovas-1.4.2/debian/rules
--- supernovas-1.4.2/debian/rules	2025-08-24 19:46:14.000000000 +0200
+++ supernovas-1.4.2/debian/rules	2025-08-29 22:13:10.000000000 +0200
@@ -6,5 +6,8 @@
 %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build -- CALCEPH_SUPPORT=1 CSPICE_SUPPORT=0
+
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGELOG.md


More information about the Debian-astro-maintainers mailing list