Bug#875792: doit: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Sep 14 14:03:13 UTC 2017


Source: doit
Version: 0.30.3-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that doit could not be built reproducibly. This is because it
includes the buildpath in the generated manpage.

(I don't really want to patch that out - it's clearly useful to them
for some reason? - so I simply strip it when creating the manpage.)


Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-09-14 14:42:12.120237989 +0100
--- b/debian/rules	2017-09-14 14:57:22.560094056 +0100
@@ -25,8 +25,8 @@
 
 override_dh_auto_install:
 	dh_auto_install
-	# Generate manpages
-	help2man debian/doit.sh > debian/doit.1
+	# Generate manpages, stripping out the non-reproducible 'lib @ <dir>' line.
+	help2man debian/doit.sh | grep -v 'lib @' > debian/doit.1
 	# build the html pages for the -doc package
 	set -ex; \
 		cd doc; \


More information about the Reproducible-bugs mailing list