Skip to content
Tcl Source Code History Of Ticket 9a1dca76cd230032
Login

History Of Ticket 9a1dca76cd230032

Artifacts Associated With Ticket 9a1dca76cd230032

  1. Ticket change [3ddcab29ba] (rid 234707) by dgp on 2024-10-30 15:29:46:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      ==== clock-59.2.vm:0 correct time zone names, format and scan back, bug and regression [2c237beffbace823] FAILED
      ==== Contents of test case:
      
          set result {}
          foreach {base tz} {
      	 1700000000 "Etc/GMT-2"
      	 1700000000 "Etc/GMT+2"
      	 1301184000 "Europe/Kaliningrad"
      	  152632800 "Pacific/Chatham"
      	 -765317964 "America/Paramaribo"
      	-2337928528 "Australia/Eucla"
          } {
      	set v [clock format $base -timezone Etc/GMT-2 -format "%Y-%m-%d %H:%M:%S %Z"]
      	lappend result [expr {[set t [clock scan $v -format "%Y-%m-%d %H:%M:%S %Z"]] == $base ? 1 : "0 ($t != $base for $v)"}]
      	lappend result [expr {[set t [clock scan $v]] == $base ? 1 : "0 ($t != $base for $v)"}]
          }
          set result
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: time zone Etc/GMT-2 not found
          while executing
      "return -options $opts "time zone $timezone not found""
          (procedure "::tcl::clock::SetupTimeZone" line 82)
          invoked from within
      "::tcl::clock::SetupTimeZone Etc/GMT-2"
          invoked from within
      "clock format $base -timezone Etc/GMT-2 -format "%Y-%m-%d %H:%M:%S %Z""
          ("foreach" body line 2)
          invoked from within
      "foreach {base tz} {
      	 1700000000 "Etc/GMT-2"
      	 1700000000 "Etc/GMT+2"
      	 1301184000 "Europe/Kaliningrad"
      	  152632800 "Pacific/Chatham"
      	 -765317964 "A..."
          ("uplevel" body line 3)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: CLOCK badTimeZone {$:fileName}
      ==== clock-59.2.vm:0 FAILED
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "06. Time Measurement"
    15. title initialized to: "clock-59.2 failure"
    16. type initialized to: "Bug"
  2. Ticket change [88ca69795d] (rid 234708) by sebres on 2024-10-30 15:52:07:

    1. icomment:
      I guess you have --enable-zipfs (default) by configuring?.. If so you have probably to regenerate or reembeed the library (the fix implies the changes on clock.tcl and tzdata, which is embedded together with tcl-library as zip-vfs into the so-binary)... I don't know whether the dependencies to *.tcl in library in makefile are fully correct for the the @LIBRARIES@ or TCL_LIB_FILE (I was not implementing the --enable-zipfs)...
      Missed <code>make clean</code> or <code>rm *.zip *. *.so</code> probably?
      
      If not, can you please check why [67e7522bd1903dc2] doesn't work on your platform?
      
      Anyway, fresh built, all tests pass <b>for any platform</b> in GHA - commit [https://github.com/tcltk/tcl/commit/1417cbb539103af2d1085ac9c39b4364bd39e51d|1417cbb539103] ([https://github.com/tcltk/tcl/commit/1417cbb539103af2d1085ac9c39b4364bd39e51d/status-details|details]).
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Invalid"
    5. status changed to: "Pending"
  3. Ticket change [05ac9e7f88] (rid 234709) by dgp on 2024-10-30 16:27:53:

    1. closedate changed to: "2460614.18603635"
    2. closer changed to: "dgp"
    3. icomment: "`make clean` takes care of it."
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"