Debian Bug report logs - #1022777
tpm2-pytss: please make the build reproducible

version graph

Package: src:tpm2-pytss; Maintainer for src:tpm2-pytss is Debian Python Team <team+python@tracker.debian.org>;

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

Date: Tue, 25 Oct 2022 17:42:01 UTC

Severity: wishlist

Tags: fixed-upstream, patch

Found in version tpm2-pytss/1.2.0-2

Forwarded to https://github.com/tpm2-software/tpm2-pytss/pull/376

Reply or subscribe to this bug.

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 Python Team <team+python@tracker.debian.org>:
Bug#1022777; Package src:tpm2-pytss. (Tue, 25 Oct 2022 17:42: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 Python Team <team+python@tracker.debian.org>. (Tue, 25 Oct 2022 17:42:04 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: tpm2-pytss: please make the build reproducible
Date: Tue, 25 Oct 2022 10:39:05 -0700
[Message part 1 (text/plain, inline)]
Source: tpm2-pytss
Version: 1.2.0-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
tpm2-pytss could not be built reproducibly.

This is because it embedded the current "build" year by calling out
to datetime.datetime.utcnow() when building the documentation. 

Patch attached that seeds this value from SOURCE_DATE_EPOCH if it
exists in the surrounding environment.

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


Regards,

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

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1022777; Package src:tpm2-pytss. (Tue, 25 Oct 2022 19:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Team <team+python@tracker.debian.org>. (Tue, 25 Oct 2022 19:15:02 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 1022777@bugs.debian.org
Subject: Re: tpm2-pytss: please make the build reproducible
Date: Tue, 25 Oct 2022 12:12:27 -0700
forwarded 1022777 https://github.com/tpm2-software/tpm2-pytss/pull/376
thanks

I've forwarded this upstream here:

  https://github.com/tpm2-software/tpm2-pytss/pull/376


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Set Bug forwarded-to-address to 'https://github.com/tpm2-software/tpm2-pytss/pull/376'. Request was from "Chris Lamb" <lamby@debian.org> to control@bugs.debian.org. (Tue, 25 Oct 2022 19:15:04 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Mon, 31 Oct 2022 17:39:06 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 12:44:26 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.