Source: nim-hts
Version: 0.3.25+ds-3
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
nim-hts could not be built reproducibly.

This was because it ships a different binary package depending
on whether the tests are run or not. Specifically, the testsuite
generated two files (HG02002.bam.csi & sample.fa.fai) that ended
up in the .deb.

A patch is attached that deletes these files immediately after
running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-19 12:49:50.370463092 -0800
--- b/debian/rules      2025-11-19 12:55:46.294768668 -0800
@@ -18,6 +18,7 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        nim c --nimcache:$(CURDIR)/tests/nimcache --mm:refc  -d:useSysAssert 
-d:useGcAssert --lineDir:on --debuginfo -r tests/all
+       rm -v tests/HG02002.bam.csi tests/sample.fa.fai
 endif
 
 override_dh_auto_clean:

Reply via email to