Debian Bug report logs - #963600
critcl: please make the teapot.txt files reproducible

version graph

Package: src:critcl; Maintainer for src:critcl is Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>;

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

Date: Wed, 24 Jun 2020 09:27:02 UTC

Severity: wishlist

Tags: patch

Found in version critcl/3.1.18.1+dfsg-3

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, Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>:
Bug#963600; Package src:critcl. (Wed, 24 Jun 2020 09:27: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, Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>. (Wed, 24 Jun 2020 09:27: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: critcl: please make the teapot.txt files reproducible
Date: Wed, 24 Jun 2020 10:22:29 +0100
[Message part 1 (text/plain, inline)]
Source: critcl
Version: 3.1.18.1+dfsg-3
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
critcl could not be built reproducibly.

This is because the teapot.txt files contain the current build date:

  │ │ ├── ./usr/lib/tcltk/x86_64-linux-gnu/critcl_callback1/teapot.txt
  │ │ │ @@ -1,10 +1,10 @@
  │ │ │  Package critcl::callback 1
  │ │ │  Meta platform linux-glibc2.30-x86_64
  │ │ │ -Meta build::date 2021-07-26
  │ │ │ +Meta build::date 2020-06-24
  │ │ │  Meta generated::by {critcl 3.1.18} root
  │ │ │  Meta generated::date critcl

A patch is attached that updates these values in the Debian binary
package from the SOURCE_DATE_EPOCH [1] variable instead, but we could
also patch critcl.tcl to use this variable directly (which could go
upstream):

3980         dict set v::code($file) config package build::date \
3981             [list [clock format [clock seconds] -format {%Y-%m-%d}]]
3982


 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/


Regards,

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

Information forwarded to debian-bugs-dist@lists.debian.org, Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>:
Bug#963600; Package src:critcl. (Tue, 22 Sep 2020 09:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>. (Tue, 22 Sep 2020 09:39:04 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 963600@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#963600: critcl: please make the teapot.txt files reproducible
Date: Tue, 22 Sep 2020 10:34:42 +0100
Hi Andrew,

> Source: critcl
> Version: 3.1.17+dfsg-1
> Tags: patch

There hasn't seem to be any update on this bug in 90 days. Would you
consider applying this patch and uploading?

Having reproducible teapot.txt files has, of course, always been a
priority for Debian.


Regards,

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



Information forwarded to debian-bugs-dist@lists.debian.org, Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>:
Bug#963600; Package src:critcl. (Mon, 21 Dec 2020 13:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>. (Mon, 21 Dec 2020 13:09:05 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 963600@bugs.debian.org, reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#963600: critcl: please make the teapot.txt files reproducible
Date: Mon, 21 Dec 2020 13:07:03 -0000
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

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



Information forwarded to debian-bugs-dist@lists.debian.org, Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>:
Bug#963600; Package src:critcl. (Tue, 10 Jan 2023 16:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>. (Tue, 10 Jan 2023 16:21:07 GMT) (full text, mbox, link).


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

From: "Chris Lamb" <lamby@debian.org>
To: 963600@bugs.debian.org
Subject: Re: critcl: please make the teapot.txt files reproducible
Date: Tue, 10 Jan 2023 16:19:12 +0000
Hi,

> critcl: please make the teapot.txt files reproducible

My previous patch no longer makes this package reproducible; there is
an additional variation within:

  /usr/lib/tcltk/x86_64-linux-gnu/critcl_callback1/linux-x86_64/callback.so

I suspect this is due to the compilation of this file not using CFLAGS
(etc.), but exporting them from debian/rules does not seem to make a
difference (and the build.tcl script is somewhat opaque).


Regards,

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




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:59:13 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.