Artifacts Associated With Ticket 9a1dca76cd230032
Ticket change [3ddcab29ba] (rid 234707) by dgp on 2024-10-30 15:29:46:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "06. Time Measurement"
- title initialized to: "clock-59.2 failure"
- type initialized to: "Bug"
Ticket change [88ca69795d] (rid 234708) by sebres on 2024-10-30 15:52:07:
- 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]).
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- icomment:
Ticket change [05ac9e7f88] (rid 234709) by dgp on 2024-10-30 16:27:53:
- closedate changed to: "2460614.18603635"
- closer changed to: "dgp"
- icomment: "`make clean` takes care of it."
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"