On Sun, 12 Apr 2026, Joshua Root wrote:
Heads up that the vendored Tcl has been updated to 9.0.3 in the master
branch. There are some incompatibilities at the script level, summary here:
<https://core.tcl-lang.org/tcl/wiki?name=Migrating+scripts+to+Tcl+9>
Most of them shouldn't affect us too much, but some might. The variable name
resolution changes have affected some portgroups, of which I already fixed
two. Mostly it's just a matter of using 'variable' to get at variables in the
current namespace in procs, rather than relying on names being interpreted
relative to the global scope.
The 'glob' change could potentially also affect some code. It now always acts
like -nocomplain was used, so you can't rely on it throwing an error when
there are no matches, and have to check if the returned list is empty
instead.
The current Tcl 9.0.3 in base doesn't build with gcc 4.2. I haven't
checked later compilers. In general, it seems premature to move base to
Tcl 9 before there's a Tcl 9 port to test with.
Fred Wright