Source: fortran-stdlib
Version: 0.8.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to