#1151669 node-uplot: please make the build reproducible

#1151669#5
Date:
2026-10-22 19:57:03 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
node-uplot could not be built reproducibly. This is because the .js files
shipped in the binary embed the current build year for the copyright year
range.

A patch is attached that seeds this date from SOURCE_DATE_EPOCH (if it is
available).

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


Regards,

#1151669#10
Date:
2026-11-03 16:25:59 UTC
From:
To:
Hi,

I've prepared an MR with Chris's patch for the JavaScript team:

https://salsa.debian.org/js-team/node-uplot/-/merge_requests/1

One small change: it reads the year with getUTCFullYear(), so the build
time zone can't change it near New Year. Tested in a sid sbuild; both
autopkgtests pass.

Regards,
Ayushman

#1151669#15
Date:
2026-11-12 06:22:47 UTC
From:
To:
Hi Andrew,

Gentle ping on this one: the fix is ready as a merge request on Salsa,

https://salsa.debian.org/js-team/node-uplot/-/merge_requests/1

It takes the banner year from SOURCE_DATE_EPOCH, read in UTC, building
on Chris Lamb's original patch. Is there anything you'd like me to
change? Happy to adjust, or to send it as a plain patch here if you
prefer.

Thanks,
Ayushman

#1151669#20
Date:
2026-11-12 07:05:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-uplot, 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 1151669@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Lal <kapouer@melix.org> (supplier of updated node-uplot 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)
Format: 1.8
Date: Thu, 12 Nov 2026 07:46:06 +0100
Source: node-uplot
Architecture: source
Version: 1.6.32+ds3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Jérémy Lal <kapouer@melix.org>
Closes: 1151669
Changes:
 node-uplot (1.6.32+ds3-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Ayushman Bhattacharya ]
   * Make the build reproducible: take the copyright year in the bundle
     banner from SOURCE_DATE_EPOCH, read in UTC. Thanks to Chris Lamb for
     the patch. (Closes: #1151669)
Checksums-Sha1:
 bf397bd282ed997857290dfc3659995013327201 2126 node-uplot_1.6.32+ds3-2.dsc
 b8054afad71aeecac7a0b355c1b3bbbbe1041155 3320 node-uplot_1.6.32+ds3-2.debian.tar.xz
 480f9cdc5db81d4441c39ed45579eb2f0b07ef77 13012 node-uplot_1.6.32+ds3-2_source.buildinfo
Checksums-Sha256:
 6b0251eaf6bdfd77e7398674d15bc22dd4ac6d899790f2f1a26141541d17ba70 2126 node-uplot_1.6.32+ds3-2.dsc
 565a36294db5456ccc6c6cc24c9cc1349350cbe075422ec6a0dfdb21e47ee29e 3320 node-uplot_1.6.32+ds3-2.debian.tar.xz
 a189843c163e1c5d24064db08aa1ecd658e8fab77de795949b464d5566082760 13012 node-uplot_1.6.32+ds3-2_source.buildinfo
Files:
 c2bbf55ca8e3c913a6f9caaf30395330 2126 javascript optional node-uplot_1.6.32+ds3-2.dsc
 42cf07bb7a98ede5014029f614041b6f 3320 javascript optional node-uplot_1.6.32+ds3-2.debian.tar.xz
 c14f7eac4546fe2aa7eac2e5a815e748 13012 javascript optional node-uplot_1.6.32+ds3-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmr1YXUPHGplcnJ5QGVk
YS5zYXJsAAoJEGYRwF7dOfN0zQEQAJVqC55Uz4H//DjnSOIwQ+mCaWtguUrr/kkQ
g9CsypV3b/eklDsfPIMLUST35F1A/j/fmwtf+e3UaF8TvKLO0ID/SaGmvsgH4dgz
aiPRkkSe0jdhhul09JKTi6px7GXJw+QlceeuM3+YyT9/a8PHujjdqbCFCtGcokTB
3UfdACA5QiVSNCA2ceFFMRXtlgpFQZ1yLorB0pd7otz4mTuSG92VNEL+Dg5MVuzT
nQvT9Khq8dbTS1iWNsF4LNwBCfJlsomvmVB09F6oqF0WnOKGo7DWJhgtvr1AAk2R
StR6xjNhVg5Lg1wYNPTpGaC4+jXchpkheFBtBpvyGm+1E0A9yg8SaQ8KdR9Gwdgh
lofycgbHrVJoT/KAxlNmyELUW7x6QSGpLjlC3DYMU0wy0gZ3PfhcxZvYrlhqJwd5
IfNuEH4sWRx0B46jWkrWwu2wUJnixkIMpaffiBna/iu/ajp8du3N6awnJTk2JPep
QMI6ueIci80MYe1z56Wele48IL0Vwq5WAFIB7z0Jjvy6b/ob3Y2a7v9+AlA56/qx
w4UGTjOwJodKNdu3HZIuml6wemSuSS+e/1E2ekxFRbWKu9lp/02BYHfJg02s7uxp
KJV+VZZorAJbcJPB/bnVVeq1x2Cb+UbvH2Dvp2jPP2XTDqMqrP963MtdSx334Vk2
ehVgWV+k
=x6H5
-----END PGP SIGNATURE-----