Bug#1120883: crasm: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Nov 17 20:32:04 GMT 2025


Source: crasm
Version: 1.11-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
crasm could not be built reproducibly.

This is because it ships a different binary package depending on
whether the testsuite is run or not. Specifically, the testsuite
generates a directory called test_output/ that gets shipped with
the binary package; a patch is attached that removes this directory
after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-17 10:29:42.276997884 -0800
--- b/debian/rules	2025-11-17 10:46:04.106518655 -0800
@@ -7,6 +7,9 @@
 override_dh_auto_install:
 	dh_auto_install -- prefix=$(CURDIR)/debian/crasm/usr
 
+execute_after_dh_auto_test:
+	rm -rfv test/test_output/
+
 %:
 	dh $@
 


More information about the Reproducible-bugs mailing list