Menu

#98 tkdiff 5.7 does not work with macos tcl-tk (8.5)

V5.7
open
nobody
None
5
2024-05-12
2024-05-12
Rui Chen
No

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

Discussion

  • DorothyR

    DorothyR - 2024-05-12

    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

     
  • Rui Chen

    Rui Chen - 2024-05-12

    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)

     

Log in to post a comment.