Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1015106

Bug#963600: critcl: please make the teapot.txt files reproducible

From "Chris Lamb" <lamby@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#963600: critcl: please make the teapot.txt files reproducible
Date 2020-06-24 11:30 +0200
Message-ID <Al9Tb-1Ov-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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
       `-

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#963600: critcl: please make the teapot.txt files reproducible "Chris Lamb" <lamby@debian.org> - 2020-06-24 11:30 +0200

csiph-web