Bug#1121865: fortran-regex: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Dec 3 20:03:22 GMT 2025


Source: fortran-regex
Version: 1.1.2-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the testsuite did not 100% clean up after itself,
leading to the distribution of regex_test_1.mod (etc.), but only
if the tests are run.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-03 11:43:07.899080653 -0800
--- b/debian/rules	2025-12-03 12:02:29.850730002 -0800
@@ -15,3 +15,6 @@
 
 override_dh_auto_install:
 	fpm install --prefix=debian/tmp/usr
+
+execute_after_dh_auto_test:
+	rm -rfv build/*/regex_test_*.mod


More information about the debian-science-maintainers mailing list