Skip to content
Tcl Source Code History Of Ticket fb2208172c671f29
Login

History Of Ticket fb2208172c671f29

Artifacts Associated With Ticket fb2208172c671f29

  1. Ticket change [b0098ba599] (rid 155198) by bmwiedemann on 2017-07-17 06:51:29:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized 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. foundin initialized to: "8.6.6"
    6. is_private initialized to: "0"
    7. login: "bmwiedemann"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "77f471323bffeae13597270e52be6ffde7a23680"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "bmwiedemann"
    14. subsystem initialized to: "69. Other"
    15. title initialized to: "tclIndex varies across builds from auto_mkindex"
    16. type initialized to: "Bug"
  2. Ticket change [ec0f4df2b3] (rid 155206) by jan.nijtmans on 2017-07-17 08:05:34:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2457951.83720995"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Thanks for the bug report. Fixed in all active branches.
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"