Skip to content
Tcl Source Code History Of Ticket 4f06d7ca08
Login

History Of Ticket 4f06d7ca08

Artifacts Associated With Ticket 4f06d7ca08

  1. Ticket change [eb830488a3] (rid 253353) by apnadkarni on 2026-05-09 05:20:33:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      The failure is demonstrated as below (this needs to be a static Tcl shell)
      
      ```
      % info pat
      8.6.18
      % package req registry
      1.3.5
      % interp create ip
      ip
      % ip eval {package require registry}
      can't find package registry
      % ip eval {load {} Registry}
      % exit
      ```
      
      The original report came from @morganw on the chat with the script below that does not print 1 2 3 in a static shell.
      
      ```
      set scriptDir [file dirname [file normalize [info script]]]
      set libDir [file join $scriptDir "lib"]
      lappend auto_path $libDir
      
      package require Thread
      
      set workerThread [thread::create [subst {
          lappend auto_path $libDir
          package require registry
          thread::wait
      }]]
      
      thread::send -async $workerThread { list 1 2 3 } result
      vwait result
      puts $result
      ```
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "39. Package Manager"
    15. title initialized to:
      package require in secondary interpreters fails for static packages
      
    16. type initialized to: "Bug"
  2. Ticket change [b2f4071bde] (rid 253354) by apnadkarni on 2026-05-09 05:22:26:

    1. icomment:
      As far as I can tell, this bug is present in Tcl versions that go way back and a workaround is to "load {} Registry" (or appropriate static package) so I do not feel this need hold up 8.6.18 or change its status as the "final" 8.6 release.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  3. Ticket change [808387a34b] (rid 253554) by apnadkarni on 2026-05-16 15:58:40:

    1. icomment:
      Fixed for 9.0 in [624bac9741].
      
      9.1 fix proposed in TIP 755.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-fossil-plain"