Bug#1067484: node-function-bind: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Mar 22 09:53:33 GMT 2024
Source: node-function-bind
Version: 1.1.2+~cs2.1.14-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
node-function-bind could not be built reproducibly.
This is because it ships test coverage information generated using the
run of the testsuite. These files in turn contain nondeterministic dates:
│ │ │ ├── ./usr/share/nodejs/has/coverage/index.html
│ │ │ │ Code coverage generated by
│ │ │ │ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
│ │ │ │ - at Thu Apr 24 2025 09:17:32 GMT+0000 (GMT)
│ │ │ │ + at Fri Mar 22 2024 02:58:54 GMT+0000 (GMT)
Patch attached that simply removes these files from the binary package.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2024-03-22 09:42:48.097059681 +0000
--- b/debian/rules 2024-03-22 09:51:56.744545540 +0000
@@ -9,6 +9,9 @@
%:
dh $@ --with nodejs
+execute_after_dh_auto_test:
+ rm -rf has/coverage
+
override_dh_installdocs:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
dh_installdocs
More information about the Reproducible-bugs
mailing list