[Pkg-javascript-devel] Bug#976445: libjs-qunit: please make the build reproducible
Vagrant Cascadian
vagrant at reproducible-builds.org
Thu Dec 8 22:17:00 GMT 2022
Control: tags 976445 pending
On 2020-12-05, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] we noticed that
> libjs-qunit could not be built reproducibly.
>
> This is because it includes the current date in some generated files.
> I tried to use SOURCE_DATE_EPOCH in the Gruntfile.js but I couldn't
> access process.env (I'm not a JS expert, alas).
I have uploaded an NMU to DELAYED/10 fixing this issue:
diff -Nru libjs-qunit-1.23.1~dfsg/debian/changelog libjs-qunit-1.23.1~dfsg/debian/changelog
--- libjs-qunit-1.23.1~dfsg/debian/changelog 2022-12-06 06:09:01.000000000 -0800
+++ libjs-qunit-1.23.1~dfsg/debian/changelog 2022-12-08 14:00:56.000000000 -0800
@@ -1,3 +1,12 @@
+libjs-qunit (1.23.1~dfsg-3.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Chris Lamb ]
+ * Make the build reproducible (Closes: #976445)
+
+ -- Vagrant Cascadian <vagrant at reproducible-builds.org> Thu, 08 Dec 2022 14:00:56 -0800
+
libjs-qunit (1.23.1~dfsg-3) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru libjs-qunit-1.23.1~dfsg/debian/rules libjs-qunit-1.23.1~dfsg/debian/rules
--- libjs-qunit-1.23.1~dfsg/debian/rules 2022-12-06 06:09:01.000000000 -0800
+++ libjs-qunit-1.23.1~dfsg/debian/rules 2022-12-08 14:00:56.000000000 -0800
@@ -34,6 +34,7 @@
$(GRUNT) concat:src-js concat:src-css
override_dh_auto_build: $(DOCS) $(CHANGELOGS) dist/qunit.min.js.gz
+ sed -i '/ Date: /d' dist/qunit.*
override_dh_auto_test:
$(GRUNT) test-on-node
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20221208/cd7d64e5/attachment.sig>
More information about the Pkg-javascript-devel
mailing list