Your message dated Wed, 17 Nov 2021 21:05:40 +0000
with message-id <[email protected]>
and subject line Bug#999848: fixed in node-cssstyle 2.3.0-2
has caused the Debian Bug report #999848,
regarding node-cssstyle: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
999848: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999848
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: node-cssstyle
Version: 2.3.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
node-cssstyle could not be built reproducibly.
This is because the latest version includes the build date (commented out)
in files that have been autogenerated.
Patch attached that simply drops these lines.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1969-12-31 16:00:00.000000000
-0800
--- b/debian/patches/reproducible-build.patch 2021-11-17 07:52:07.789701056
-0800
@@ -0,0 +1,52 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2021-11-17
+
+--- node-cssstyle-2.3.0.orig/scripts/download_latest_properties.js
++++ node-cssstyle-2.3.0/scripts/download_latest_properties.js
+@@ -60,12 +60,7 @@ request(url, function(error, response, b
+ encoding: 'utf-8',
+ });
+
+- var date_today = new Date();
+- out_file.write(
+- "'use strict';\n\n// autogenerated - " +
+- (date_today.getMonth() + 1 + '/' + date_today.getDate() + '/' +
date_today.getFullYear()) +
+- '\n\n'
+- );
++ out_file.write("'use strict';\n\n");
+ out_file.write('/*\n *\n *
https://www.w3.org/Style/CSS/all-properties.en.html\n */\n\n');
+ out_file.write(
+ 'module.exports = new Set(' +
+--- node-cssstyle-2.3.0.orig/scripts/generate_implemented_properties.js
++++ node-cssstyle-2.3.0/scripts/generate_implemented_properties.js
+@@ -14,12 +14,7 @@ const dashedProperties = fs
+ const out_file = fs.createWriteStream(path.resolve(__dirname,
'../lib/implementedProperties.js'), {
+ encoding: 'utf-8',
+ });
+-var date_today = new Date();
+-out_file.write(
+- "'use strict';\n\n// autogenerated - " +
+- (date_today.getMonth() + 1 + '/' + date_today.getDate() + '/' +
date_today.getFullYear()) +
+- '\n\n'
+-);
++out_file.write("'use strict';\n\n");
+ out_file.write('/*\n *\n *
https://www.w3.org/Style/CSS/all-properties.en.html\n */\n\n');
+
+ const statements = [];
+--- node-cssstyle-2.3.0.orig/scripts/generate_properties.js
++++ node-cssstyle-2.3.0/scripts/generate_properties.js
+@@ -26,12 +26,7 @@ var property_files = fs
+ var out_file = fs.createWriteStream(path.resolve(__dirname,
'../lib/properties.js'), {
+ encoding: 'utf-8',
+ });
+-var date_today = new Date();
+-out_file.write(
+- "'use strict';\n\n// autogenerated - " +
+- (date_today.getMonth() + 1 + '/' + date_today.getDate() + '/' +
date_today.getFullYear()) +
+- '\n\n'
+-);
++out_file.write("'use strict';\n\n");
+ out_file.write('/*\n *\n *
https://www.w3.org/Style/CSS/all-properties.en.html\n */\n\n');
+
+ function isModuleDotExports(node) {
--- a/debian/patches/series 2021-11-17 07:23:44.796541523 -0800
--- b/debian/patches/series 2021-11-17 07:52:06.773706298 -0800
@@ -1 +1,2 @@
fix-for-babel7.patch
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: node-cssstyle
Source-Version: 2.3.0-2
Done: Yadd <[email protected]>
We believe that the bug you reported is fixed in the latest version of
node-cssstyle, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yadd <[email protected]> (supplier of updated node-cssstyle 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 17 Nov 2021 21:42:54 +0100
Source: node-cssstyle
Architecture: source
Version: 2.3.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: Yadd <[email protected]>
Closes: 999848
Changes:
node-cssstyle (2.3.0-2) unstable; urgency=medium
.
[ Chris Lamb ]
* Make the build reproducible (Closes: #999848)
Checksums-Sha1:
3d577fcd8a75afc4cb4b3bd08ebbd5ad6d379bce 2081 node-cssstyle_2.3.0-2.dsc
0ac59c662a8c45f34424f0b0f726f75b9d267520 3776
node-cssstyle_2.3.0-2.debian.tar.xz
Checksums-Sha256:
b720d9eb9a3e9b62ad25a23ac33ee37fc0800c6fc745ec521be7df10837e0382 2081
node-cssstyle_2.3.0-2.dsc
c43b2e5d7699032b0b93bb8144da2d817a9c9d1218bd39aed437af6b789e35ee 3776
node-cssstyle_2.3.0-2.debian.tar.xz
Files:
571fd22189ed77331a4d11655f63b8d9 2081 javascript optional
node-cssstyle_2.3.0-2.dsc
e4466050e5e557ea2c437e4aace79d19 3776 javascript optional
node-cssstyle_2.3.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmGVadQACgkQ9tdMp8mZ
7ukQzA/+K/yHO73rgQ9DiJocgGH3SyCieXTlKvevvTns4u2Gwq7i/Pw2Dj6zavoO
nQvOOCIgw91PTSszxrA0B9Y+MHEpqUFY6cV88PV2r/6yofAPuXjzzzUhqnfDGiez
Dpr69IKNxrQ4SmHZZJW1EYCAZpEiUtiGODFg4LIxg99UFM3wMFBh1YCaljZC+ZdT
T8ilT8FHI96JrDQSi4uRdh0lFFd+kpsBo1RQSC7TSM1AEPkaGdpMTTDy20mTONlp
ILuPYc5EjFRvoWE6WX10YF2y8KqfKk4nAHFVR0U603+ea8yNKr88OcvPI0USINkZ
7Zr1O+H8u481VzRBFMKr1AfscKChRKLfy+9tBGO5QU51kli25+rT8CPIZbVH4RZI
uB2qkoNPkJdCEnKmS3wIdCj/UfRC8qCAItUi8ZHrdflfnS1Ssbohfuq2EucCazsL
zGkcpxBNLN6rZYWHgHOFYwYFso9qvKjDBcXJumgT/ap7imvgIVCG24fMJOXZhsyQ
F4pVoqC2FROq5E5H8c7ba0AsJvz+U6Gp2mQBXAOsqEIpKyVDvqsP8GBi9PHp5WVX
xGUyduTCp+G0xo4mvnFOTluCkEG8cTYWJ4ARJs49bpMhMWggBJ9hhOBtXb1My8hq
4igx1JDnchTPZCP5cZYMQBeX6AXwZGqX3PGNHzRPcJ/0Bv6kmPk=
=B79R
-----END PGP SIGNATURE-----
--- End Message ---