[Pkg-javascript-devel] Bug#856807: node-mocha: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Mar 4 22:08:43 UTC 2017
Source: node-mocha
Version: 1.20.1-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that node-mocha could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/0004-reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/0004-reproducible_build.patch 2017-03-04 22:08:07.627508560 +0000
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2017-03-04
+
+--- node-mocha-1.20.1.orig/Makefile
++++ node-mocha-1.20.1/Makefile
+@@ -1,7 +1,7 @@
+
+ REPORTER ?= dot
+ TM_BUNDLE = JavaScript\ mocha.tmbundle
+-SRC = $(shell find lib -name "*.js" -type f | sort)
++SRC = $(shell find lib -name "*.js" -type f | LC_ALL=C sort)
+ SUPPORT = $(wildcard support/*.js)
+
+ all: mocha.js
--- a/debian/patches/series 2017-03-04 22:05:17.590246118 +0000
--- b/debian/patches/series 2017-03-04 22:07:21.511163989 +0000
@@ -3,3 +3,4 @@
0002_fix_node_shebang.patch
0003_images_in_usr_share.patch
register-coffeescript.patch
+0004-reproducible_build.patch
More information about the Pkg-javascript-devel
mailing list