Debian Bug report logs -
#976445
libjs-qunit: please make the build reproducible
Reported by: "Chris Lamb" <lamby@debian.org>
Date: Sat, 5 Dec 2020 10:39:01 UTC
Severity: wishlist
Tags: patch
Found in version libjs-qunit/1.23.1~dfsg-1
Fixed in version libjs-qunit/1.23.1~dfsg-3.2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#976445; Package src:libjs-qunit.
(Sat, 05 Dec 2020 10:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>.
(Sat, 05 Dec 2020 10:39:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: libjs-qunit
Version: 1.23.1~dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
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).
Patch attached that at least strips these dates out in debian/rules.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[libjs-qunit.diff.txt (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#976445; Package src:libjs-qunit.
(Thu, 08 Dec 2022 22:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>.
(Thu, 08 Dec 2022 22:21:02 GMT) (full text, mbox, link).
Message #10 received at 976445@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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@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
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Vagrant Cascadian <vagrant@reproducible-builds.org>
to 976445-submit@bugs.debian.org.
(Thu, 08 Dec 2022 22:21:02 GMT) (full text, mbox, link).
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Mon, 19 Dec 2022 21:03:10 GMT) (full text, mbox, link).
Notification sent
to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer.
(Mon, 19 Dec 2022 21:03:10 GMT) (full text, mbox, link).
Message #17 received at 976445-close@bugs.debian.org (full text, mbox, reply):
Source: libjs-qunit
Source-Version: 1.23.1~dfsg-3.2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
libjs-qunit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 976445@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated libjs-qunit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 08 Dec 2022 14:00:56 -0800
Source: libjs-qunit
Architecture: source
Version: 1.23.1~dfsg-3.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 976445
Changes:
libjs-qunit (1.23.1~dfsg-3.2) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Chris Lamb ]
* Make the build reproducible (Closes: #976445)
Checksums-Sha1:
d1a014cded7029e9ec467c8c957b5703f9118178 1687 libjs-qunit_1.23.1~dfsg-3.2.dsc
3fc987f9d0e9a6db40c7251571814819353b52d1 6516 libjs-qunit_1.23.1~dfsg-3.2.debian.tar.xz
Checksums-Sha256:
a987a6cab81a2214a40a3e3111f82d69cdf2f7ff3447529e336702a2d79deba4 1687 libjs-qunit_1.23.1~dfsg-3.2.dsc
ec66d92a96a241e19f37d0538ef8a9da2cd2c3f9af9cd48d038804397631499b 6516 libjs-qunit_1.23.1~dfsg-3.2.debian.tar.xz
Files:
bbfadd5b16b261190c440829205fd64a 1687 javascript optional libjs-qunit_1.23.1~dfsg-3.2.dsc
d09e5ed888553b17f6f7db95e7cf64b0 6516 javascript optional libjs-qunit_1.23.1~dfsg-3.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY5JhySAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqlgFAQDiQeKT6S1gj5Ee
ATQhPKkm/GY3Fs5aGNrQIYfyU0kXRwD+I/RQ/EQkh0+aczAoPqHccWq9D2tXsABy
tmFt7QsGCw4=
=hVXq
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 22 Jan 2023 07:28:16 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 11:13:17 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.