[Pkg-javascript-devel] Bug#1004676: node-istanbul: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Jan 31 15:48:41 GMT 2022


Source: node-istanbul
Version: 0.4.5+repack10+~cs97.25.57-1
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
node-istanbul could not be built reproducibly.

This is because it embedded the current working directory in the
generated manpage, which means that the current working directory
is embedded.

A patch is attached that strips this out.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2022-01-31 07:33:34.236984222 -0800
--- b/debian/rules	2022-01-31 07:45:32.099399485 -0800
@@ -9,6 +9,7 @@
 
 override_dh_auto_build:
 	help2man -N -n 'istanbul command line interface' nyc/bin/nyc.js >nyc.1
+	sed -i -e 's at default: "/.*"@default: current dir at g' nyc.1
 
 override_dh_fixperms:
 	dh_fixperms


More information about the Pkg-javascript-devel mailing list