[Pkg-tcltk-devel] Bug#963600: critcl: please make the teapot.txt files reproducible

Chris Lamb lamby at debian.org
Wed Jun 24 10:22:29 BST 2020


Source: critcl
Version: 3.1.18.1+dfsg-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at 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 at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: critcl.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/pkg-tcltk-devel/attachments/20200624/19178cb6/attachment.txt>


More information about the Pkg-tcltk-devel mailing list