Bug#1135873: fortran-stdlib: please make the build reproducible

Chris Lamb lamby at debian.org
Wed May 6 21:00:40 BST 2026


Source: fortran-stdlib
Version: 0.8.1-1
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-stdlib could not be built reproducibly.

This is because the testsuite generates a number of .mod files, so if
the tests are skipped the binary package will contain different contents.

I have attached a patch that removes these files after running the
tests. However, if the package actually needs these files then the
packaging will need rejiggering.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-05-06 11:09:36.541181175 -0700
--- b/debian/rules	2026-05-06 12:59:12.363936227 -0700
@@ -19,3 +19,5 @@
 
 override_dh_auto_test:
 	fpm test --flag -I${FMODDIR}/testdrive --link-flag -L${FLIBDIR}
+	rm -rf $(CURDIR)/build/*/test_*.*mod
+	rm -rf $(CURDIR)/build/*/modchash.mod


More information about the Reproducible-bugs mailing list