[Debian-astro-maintainers] Bug#1118160: pyraf: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Oct 15 16:53:02 BST 2025


Source: pyraf
Version: 2.2.3-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
pyraf could not be built reproducibly.

This is because the call to find(1) was almost, but not quite, correct;
it uses "-type d" instead of "-type f". This is understandable, as
it was previously a directory (see #901428).

Patch attached to clarify, but it should be straightforward to spot
now.

(Assuming this file is generated during the test run, this might actually
be easier with PYBUILD_AFTER_TEST.)

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-10-15 08:41:43.391749332 -0700
--- b/debian/rules	2025-10-15 08:45:01.790603185 -0700
@@ -10,4 +10,4 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	find debian -type d -name clcache.sqlite3 -print0 | xargs -0r rm -rfv
+	find debian -type f -name clcache.sqlite3 -print0 | xargs -0r rm -rfv


More information about the Debian-astro-maintainers mailing list