Debian Bug report logs - #1000770
perfect-scrollbar: please make the build reproducible

version graph

Package: src:perfect-scrollbar; Maintainer for src:perfect-scrollbar is (unknown);

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Sun, 28 Nov 2021 19:42:04 UTC

Severity: wishlist

Tags: patch

Found in version perfect-scrollbar/1.5.2+ds-1

Fixed in version perfect-scrollbar/1.5.2+ds-1.2

Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


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#1000770; Package src:perfect-scrollbar. (Sun, 28 Nov 2021 19:42:06 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>. (Sun, 28 Nov 2021 19:42:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: perfect-scrollbar: please make the build reproducible
Date: Sun, 28 Nov 2021 11:39:34 -0800
[Message part 1 (text/plain, inline)]
Source: perfect-scrollbar
Version: 1.5.2+ds-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
perfect-scrollbar could not be built reproducibly.

This is because a copyright notice embeds the current build year.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[perfect-scrollbar.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#1000770; Package src:perfect-scrollbar. (Thu, 29 Dec 2022 22:45:03 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, 29 Dec 2022 22:45:03 GMT) (full text, mbox, link).


Message #10 received at 1000770@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 1000770@bugs.debian.org
Subject: Re: Bug#1000770: perfect-scrollbar: please make the build reproducible
Date: Thu, 29 Dec 2022 14:41:50 -0800
[Message part 1 (text/plain, inline)]
Control: tags 1000770 pending

On 2021-11-28, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] we noticed that
> perfect-scrollbar could not be built reproducibly.
>
> This is because a copyright notice embeds the current build year.

I have uploaded an NMU to DELAYED/10 fixing this issue:

diff -Nru perfect-scrollbar-1.5.2+ds/debian/changelog perfect-scrollbar-1.5.2+ds/debian/changelog
--- perfect-scrollbar-1.5.2+ds/debian/changelog	2021-10-08 15:10:40.000000000 -0700
+++ perfect-scrollbar-1.5.2+ds/debian/changelog	2022-12-29 14:26:32.000000000 -0800
@@ -1,3 +1,12 @@
+perfect-scrollbar (1.5.2+ds-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * Make the build reproducible (Closes: #1000770)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org>  Thu, 29 Dec 2022 14:26:32 -0800
+
 perfect-scrollbar (1.5.2+ds-1) unstable; urgency=medium
 
   * Initial release.
diff -Nru perfect-scrollbar-1.5.2+ds/debian/patches/make-the-build-reproducible-closes-10007.patch perfect-scrollbar-1.5.2+ds/debian/patches/make-the-build-reproducible-closes-10007.patch
--- perfect-scrollbar-1.5.2+ds/debian/patches/make-the-build-reproducible-closes-10007.patch	1969-12-31 16:00:00.000000000 -0800
+++ perfect-scrollbar-1.5.2+ds/debian/patches/make-the-build-reproducible-closes-10007.patch	2022-12-29 14:26:32.000000000 -0800
@@ -0,0 +1,19 @@
+From: Chris Lamb <lamby@debian.org>
+Date: Sun, 28 Nov 2021 11:39:34 -0800
+X-Dgit-Generated: 1.5.2+ds-1.1 8b2d1ce6fccd1839a5e8717b9e3469f413ef18b3
+Subject: Make the build reproducible (Closes: #1000770)
+
+
+---
+
+--- perfect-scrollbar-1.5.2+ds.orig/rollup.config.js
++++ perfect-scrollbar-1.5.2+ds/rollup.config.js
+@@ -7,7 +7,7 @@ const version = require('./package.json'
+ const banner =
+   `/*!
+  * perfect-scrollbar v${version}
+- * Copyright ${new Date().getFullYear()} Hyunje Jun, MDBootstrap and Contributors
++ * Copyright ${(new Date(process.env.SOURCE_DATE_EPOCH ? (process.env.SOURCE_DATE_EPOCH * 1000) : new Date().getTime())).getFullYear()} Hyunje Jun, MDBootstrap and Contributors
+  * Licensed under MIT
+  */
+ `;
diff -Nru perfect-scrollbar-1.5.2+ds/debian/patches/series perfect-scrollbar-1.5.2+ds/debian/patches/series
--- perfect-scrollbar-1.5.2+ds/debian/patches/series	2021-10-08 15:10:40.000000000 -0700
+++ perfect-scrollbar-1.5.2+ds/debian/patches/series	2022-12-29 14:26:32.000000000 -0800
@@ -1 +1,2 @@
 do-not-use-rollup-minify.patch
+make-the-build-reproducible-closes-10007.patch


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to 1000770-submit@bugs.debian.org. (Thu, 29 Dec 2022 22:45:03 GMT) (full text, mbox, link).


Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Sun, 08 Jan 2023 23:39:03 GMT) (full text, mbox, link).


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Sun, 08 Jan 2023 23:39:03 GMT) (full text, mbox, link).


Message #17 received at 1000770-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1000770-close@bugs.debian.org
Subject: Bug#1000770: fixed in perfect-scrollbar 1.5.2+ds-1.2
Date: Sun, 08 Jan 2023 23:35:41 +0000
Source: perfect-scrollbar
Source-Version: 1.5.2+ds-1.2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
perfect-scrollbar, 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 1000770@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 perfect-scrollbar 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, 29 Dec 2022 14:26:32 -0800
Source: perfect-scrollbar
Architecture: source
Version: 1.5.2+ds-1.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: 1000770
Changes:
 perfect-scrollbar (1.5.2+ds-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Chris Lamb ]
   * Make the build reproducible (Closes: #1000770)
Checksums-Sha1:
 77a9861094c10a1f0aa16713349391b2dcb16342 1766 perfect-scrollbar_1.5.2+ds-1.2.dsc
 9af989b3db91f6e2b03523f2956dd51b676e71ab 2752 perfect-scrollbar_1.5.2+ds-1.2.debian.tar.xz
Checksums-Sha256:
 2904a03181ac0876ea36104c11ba8b36e584994d2123eadf4cb6d0441235fd94 1766 perfect-scrollbar_1.5.2+ds-1.2.dsc
 5e0215ca30c0368dbd9073bc354c15ae75b8d68d8430f099b101e7ae9a81e71b 2752 perfect-scrollbar_1.5.2+ds-1.2.debian.tar.xz
Files:
 a3d4ef45575edfe74bab3e1bdee8a102 1766 javascript optional perfect-scrollbar_1.5.2+ds-1.2.dsc
 daa22c62151b2e1d4d095ec02340745e 2752 javascript optional perfect-scrollbar_1.5.2+ds-1.2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY64W9yAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqvaaAQDryltP1g6VSja7
u0Fcq4iS75Y1SsxBYqtK2ksplGCddwD+PyEEdEHAZWNTyf4eC6tq+mxWhArJgi0Z
7KRAh+IogwQ=
=bOth
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 06 Feb 2023 07:32:13 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 10:03:18 2023; Machine Name: bembo

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.