1017920">

Debian Bug report logs - #1017920
sysfsutils: please make the build reproducible

version graph

Package: src:sysfsutils; Maintainer for src:sysfsutils is Guillem Jover <guillem@debian.org>;

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

Date: Mon, 22 Aug 2022 14:57:02 UTC

Severity: wishlist

Tags: patch

Found in version sysfsutils/2.1.1-2

Fixed in version sysfsutils/2.1.1-3

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

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, Guillem Jover <guillem@debian.org>:
Bug#1017920; Package src:sysfsutils. (Mon, 22 Aug 2022 14:57: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, Guillem Jover <guillem@debian.org>. (Mon, 22 Aug 2022 14:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, wrote: > Source: sysfsutils > Version: 2.1.1-2 > 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 > sysfsutils could not be built reproducibly. > > This is because the call to date(1) was missing the -u/--utc flag, > so that the manpage date based on the value of SOURCE_DATE_EPOCH > would vary depending on the host system's timezone setting. > > Patch attached that appends -u to the pod2man call. > > [0] https://reproducible-builds.org/ > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` lamby@debian.org / chris-lamb.co.uk > `- ">reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: sysfsutils: please make the build reproducible
Date: Mon, 22 Aug 2022 07:52:46 -0700
[Message part 1 (text/plain, inline)]
Source: sysfsutils
Version: 2.1.1-2
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
sysfsutils could not be built reproducibly.

This is because the call to date(1) was missing the -u/--utc flag,
so that the manpage date based on the value of SOURCE_DATE_EPOCH
would vary depending on the host system's timezone setting.

Patch attached that appends -u to the pod2man call.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[sysfsutils.diff.txt (text/plain, attachment)]

Message sent on to "Chris Lamb" <lamby@debian.org>:
Bug#1017920. (Mon, 22 Aug 2022 18:45:04 GMT) (full text, mbox, link).


Message #8 received at 1017920-submitter@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 1017920-submitter@bugs.debian.org
Subject: Bug#1017920 in package sysfsutils marked as pending
Date: Mon, 22 Aug 2022 20:43:27 +0200
Control: tag 1017920 pending

Hi!

Bug #1017920 that you reported in package sysfsutils has been fixed
in the debian/pkgs/sysfsutils.git git repository. You can see the changelog below,
and you can check the diff of the fix at:

    https://git.hadrons.org/cgit/debian/pkgs/sysfsutils.git/diff/?id=e77f5b8

---
commit e77f5b89bda8a395fa599f1f9db000e27ea3a11a
Author: Chris Lamb <lamby@debian.org>
Date:   Mon Aug 22 20:26:43 2022 +0200

    Pass -u to date(1) to make build reproducible again
    
    Closes: #1017920
    Signed-off-by: Guillem Jover <guillem@debian.org>

diff --git a/debian/changelog b/debian/changelog
index 175d53d..b5729d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sysfsutils (2.1.1-3) UNRELEASED; urgency=medium
+
+  * Pass -u to date(1) to make build reproducible again.
+    Thanks to Chris Lamb <lamby@debian.org>. Closes: #1017920
+
+ -- Guillem Jover <guillem@debian.org>  Mon, 22 Aug 2022 20:38:25 +0200
+
 sysfsutils (2.1.1-2) unstable; urgency=medium
 
   * Improve init script:



Added tag(s) pending. Request was from Guillem Jover <guillem@debian.org> to 1017920-submitter@bugs.debian.org. (Mon, 22 Aug 2022 18:45:04 GMT) (full text, mbox, link).


Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (Mon, 22 Aug 2022 19:15:06 GMT) (full text, mbox, link).


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Mon, 22 Aug 2022 19:15:06 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1017920-close@bugs.debian.org
Subject: Bug#1017920: fixed in sysfsutils 2.1.1-3
Date: Mon, 22 Aug 2022 19:10:28 +0000
Source: sysfsutils
Source-Version: 2.1.1-3
Done: Guillem Jover <guillem@debian.org>

We believe that the bug you reported is fixed in the latest version of
sysfsutils, 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 1017920@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated sysfsutils 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: Mon, 22 Aug 2022 20:40:21 +0200
Source: sysfsutils
Architecture: source
Version: 2.1.1-3
Distribution: unstable
Urgency: medium
Maintainer: Guillem Jover <guillem@debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Closes: 1017920
Changes:
 sysfsutils (2.1.1-3) unstable; urgency=medium
 .
   * Pass -u to date(1) to make build reproducible again.
     Thanks to Chris Lamb <lamby@debian.org>. Closes: #1017920
   * Remove filenamemangle option from debian/watch.
Checksums-Sha1:
 ed7ac375a5f6b55d4c82f27e58bf9285e0d54ed4 2067 sysfsutils_2.1.1-3.dsc
 41cd118d76867c230a18e0b3fd06174db5033b28 10536 sysfsutils_2.1.1-3.debian.tar.xz
 df1d02286aad5a12d42aa72378240ac1282d4960 7128 sysfsutils_2.1.1-3_amd64.buildinfo
Checksums-Sha256:
 fbb1bed9e9f8d442a38b025954a03e3abbe29a49dbe9a716f682d64f25b4845d 2067 sysfsutils_2.1.1-3.dsc
 65b7b0bd0f8b38af77e52c0729499766b016a02b3c93a68559ab7a2216259b7e 10536 sysfsutils_2.1.1-3.debian.tar.xz
 064d78c49cf3bf3651d39dd17aeafacb48638f1724a31ef9df7c6164da79e467 7128 sysfsutils_2.1.1-3_amd64.buildinfo
Files:
 1feabe73471653dc90d9215fb6c92d2f 2067 libs optional sysfsutils_2.1.1-3.dsc
 244b8dbe19765e23ce8a06af0f6b4eb0 10536 libs optional sysfsutils_2.1.1-3.debian.tar.xz
 e967f8d671140b83f5f8553b446c2329 7128 libs optional sysfsutils_2.1.1-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAmMDzkUACgkQuXK/PqSu
V6N/rQ/6AstTMqG6a9188z+BtVEMpNes9Mrm6/G5evv4hTDwxIGU3h0MJDZ7lkMh
gOswg/WscsIZ44jxKYlIGCdhzxpnj7b9BZ76jibt49XZO7ecENh9Il4kScrnXZ1R
voeqTsDyk7S3HwnT3ww3CM7lUp7Ev6Yy9W6WmYHyXVjQKZ+ks8rm7E4/nvMAzxE6
lS9aNDPq6sj6+zN1IEhrQOkwVBYwx6KUZdJ4KRDStrYH9ct0VPXtPzRcj4xlVoVe
25uiVw67EnrIsdZIa7BobFpOneFIwZn8WWS3Vnu9t0fY0Z5tB6DdyU97cC3TZn35
4Jj24Ta2CBTjuby2QeVVIZggEUSM1H3cWe3RSPlyxE8i3OiK7N0dafsOj14uSnFt
cV+nPGXvP4SJOvL/iPjDYC++b8Tqfke5q3ZqT9VInH52rw7EuPTeqq2yM88vmOsr
l75rRD17otgFsoeucIvxAzWf5nMRF57vfsoTqADkOVrUMXeSNSP8bGQSbOcxeUMf
6/Ze49VtWOjqGGQ815Ik4FkHv50DIjShZVS0cdyhDeuo8wxq70GLWVLZ+SxbhjUw
ICtbXsmThxBC/EAcF9CM09VzazZQTsqrWwHAfqTy4XHFiCDpfEN8rN5BGpv4YKka
P0otaVv7TCKI/SdmihDSzE00PCauas+2EDelM3GmgopOgMqRkU8=
=cC4/
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 25 Sep 2022 07:25:37 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: Fri Jan 31 00:32:13 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.