Bug#923170: heudiconv: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Feb 24 18:37:17 GMT 2019


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

This is due to a Python warning embedding the build path which then
ends up in the help output and thus the binary package (!).

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2019-02-24 19:09:44.359548384 +0100
--- b/debian/rules	2019-02-24 19:24:46.455032291 +0100
@@ -31,7 +31,7 @@
 	PYTHONPATH=./debian/heudiconv/usr/lib/python2.7/dist-packages \
 	help2man -n 'DICOM converter for organizing brain imaging data into structured directory layouts' \
 		-N --no-discard-stderr \
-        ./debian/heudiconv/usr/bin/heudiconv >| build/heudiconv.1
+        "python -W ignore ./debian/heudiconv/usr/bin/heudiconv" >| build/heudiconv.1
 	find debian -iname *.pyc -delete
 
 clean::


More information about the Reproducible-bugs mailing list