[Debian-med-packaging] Bug#1066085: q2cli: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Mar 12 10:37:41 GMT 2024


Source: q2cli
Version: 2024.2.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
q2cli could not be built reproducibly.

This is because it ships nondeterminstic "parsl.log" files in the
binary package installed by the package's Python build system. A
patch is attached that deletes these files prior to creating the
.deb.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2024-03-12 10:05:22.980824959 +0000
--- b/debian/rules	2024-03-12 10:34:47.399635439 +0000
@@ -21,6 +21,7 @@
 	mkdir -p debian/$(DEB_SOURCE)/usr/share/bash-completion/completions
 	mv debian/$(DEB_SOURCE)/usr/bin/tab-qiime debian/$(DEB_SOURCE)/usr/share/bash-completion/completions/qiime
 	chmod -x debian/$(DEB_SOURCE)/usr/share/bash-completion/completions/qiime
+	find debian/$(DEB_SOURCE) -type f -name parsl.log -delete
 
 debian/control: debian/control.in
 	echo "# This file is autogenerated from control.in to update versioned dependencies" > $@


More information about the Debian-med-packaging mailing list