Tcl Source Code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Overview

Artifact ID: b0098ba5990dd4d6f5e6578a9f87d88ddb7ea226
Ticket: fb2208172c671f29d60e9ac928d9ded45d01d8b8
tclIndex varies across builds from auto_mkindex
User & Date: bmwiedemann 2017-07-17 06:51:29
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    might be related to https://core.tcl.tk/tcl/tktview/218239ffffffffffffff

    The exmh package in openSUSE does not build reproducibly because the tclIndex files varies for each build.

    Here is a simple patch to fix it:

    From: "Bernhard M. Wiedemann" <[email protected]> Date: Mon, 17 Jul 2017 08:32:17 +0200 Subject: [PATCH] Sort glob used in auto_mkindex

    necessary because glob manual says No particular order is guaranteed in the list, so if a sorted list is required the caller should use lsort.

    This was causing the exmh package to not build reproducibly. See https://reproducible-builds.org/ for why this matters. --- library/auto.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/library/auto.tcl b/library/auto.tcl index 97ea8af..568beb0 100644 --- a/library/auto.tcl +++ b/library/auto.tcl @@ -203,7 +203,7 @@ proc auto_mkindex {dir args} { }

    auto_mkindex_parser::init - foreach file [glob -- {*}$args] { + foreach file [lsort [glob -- {*}$args]] { try { append index [auto_mkindex_parser::mkindex $file] } on error {msg opts} { -- 2.12.3
  5. Change foundin to "8.6.6"
  6. Change is_private to "0"
  7. Change login to "bmwiedemann"
  8. Change priority to "5 Medium"
  9. Change private_contact to "77f471323bffeae13597270e52be6ffde7a23680"
  10. Change resolution to "None"
  11. Change severity to "Minor"
  12. Change status to "Open"
  13. Change submitter to "bmwiedemann"
  14. Change subsystem to "69. Other"
  15. Change title to "tclIndex varies across builds from auto_mkindex"
  16. Change type to "Bug"