Source: heudiconv Version: 0.9.0-2 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that heudiconv could not be built reproducibly. This is because the call to help2man fails, so the manual page includes a Python traceback. This traceback contains the absolute build path, so the build is not reproducible. Patch attached that exports PYTHONPATH to the help2man call. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2021-03-08 10:04:22.098010727 +0000 --- b/debian/rules 2021-03-08 10:17:06.205214545 +0000 @@ -28,7 +28,7 @@ override_dh_auto_install: dh_auto_install mkdir -p build - PYTHONPATH=$$(/bin/ls -d ./debian/heudiconv/usr/lib/python*/*-packages | head -n 1) + PYTHONPATH=$$(/bin/ls -d ./debian/heudiconv/usr/lib/python*/*-packages | head -n 1) \ help2man -n 'DICOM converter for organizing brain imaging data into structured directory layouts' \ -N --no-discard-stderr \ "python3 -W ignore ./debian/heudiconv/usr/bin/heudiconv" >| build/heudiconv.1