Looks like the default tcl-tk does not work anymore.
Seeing this error log
==> /usr/local/Cellar/tkdiff/5.7/bin/tkdiff --help
/usr/bin/wish: line 2: 7055 Killed: 9 "$(dirname $0)/../../System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish" "$@"
Error: tkdiff: failed
An exception occurred within a child process:
BuildError: Failed executing: /usr/local/Cellar/tkdiff/5.7/bin/tkdiff --help
full error log in here, https://github.com/Homebrew/homebrew-core/actions/runs/9046850187/job/24858602281?pr=171461
relates to https://github.com/Homebrew/homebrew-core/pull/171461
It works fine with brew's tcl-tk, which is 8.6.14
I don't know when it started, but I get the same error just by invoking /usr/bin/wish (shell wrapper to /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish)
From Googling I get that this is a code signature problem with apple's wish.
Anyway, invoking the default tcl-tk has produced a deprecation warning for years now, and I believe tkdiff hasn't run on it for several releases and w always say to use homebrew or macports.
I think homebrew tcl-tk should be a dependency for homebrew tkdiff. installation. You filed a ticket over there, yes? Would it help if I filed another one, or would they just get mad?
dorothyr
yeah, I have an open PR on this. Can you add some warning notes in the README or script about the default tcl-tk? (and recommend user to install tcl-tk, if they install via brew, they will get it though)
Apologies for the delay in finalizing the disposition of this Ticket
As it turns out, not 24 hours earlier, V5.7 had been released with just such a README disclaimer for the Mac platform; but perhaps not as strongly worded as it should have been. As of V6.0 (strangely enough, again released just yesterday), a far more declarative statement to NOT USE that platforms "included" Tcl/Tk 8.5 offering was provided, with instructions on where to obtain a working replacement.
We can only hope that Apple will "get their act together" eventually, but as for this ticket it is being closed.