[Debian-med-packaging] Bug#1122223: microbiomeutil: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 8 23:04:52 GMT 2025


Source: microbiomeutil
Version: 20101212+dfsg1-6
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
microbiomeutil could not be built reproducibly.

This is because the tests clean up a number of files, so if the tests
are skipped (i.e. via "nocheck"), then the package will actually contain
these files instead.

Patch attached that moves the deletion of these files to part of
debian/rules that is executed unconditionally.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-08 14:51:29.426708173 -0800
--- b/debian/rules	2025-12-08 15:02:25.692156156 -0800
@@ -22,13 +22,17 @@
 	cd ${CURDIR}/ChimeraSlayer/sample_data && $(MAKE) clean
 	cd ${CURDIR}/NAST-iEr/sample_data && $(MAKE) clean
 	cd ${CURDIR}/WigeoN/sample_data && $(MAKE) clean
-	rm -f RESOURCES/rRNA16S.gold.fasta.n* RESOURCES/*.cidx
+	rm -f RESOURCES/*.cidx
 	rm -f formatdb.log
 #else
 #	echo "Do not run test suite when building on architecture $(DEB_HOST_ARCH)"
 #endif
 endif
 
+execute_before_dh_auto_install:
+	rm -f RESOURCES/rRNA16S.gold.fasta.n*
+	rm -f RESOURCES/rRNA16S.gold.NAST_ALIGNED.fasta.cidx
+
 override_dh_auto_build:
 	dh_auto_build
 	#Pre-make indexes for ChimeraSlayer, otherwise it tries to write them


More information about the Debian-med-packaging mailing list