Opened 3 years ago

Closed 5 months ago

#63129 closed defect (fixed)

git @2.32.0_0 tk @8.6.11: gitk doesn't run when tk is installed

Reported by: snarkhunter (Steve Langer) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: ciserlohn, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), chrstphrchvz (Christopher Chavez)
Port: git tk

Description

Using only default variants, gitk seg faults on startup if the tk port is active.

Using +quartz -x11 variants, gitk doesn't seg fault, but it doesn't display any data in its windows, and when it quits it prints

Error in startup script: window "." was deleted before its visibility changed
    while executing
"tkwait visibility ."
    (file "/opt/local/bin/gitk" line 12661)

Deactivating tk fixes gitk in both cases.

I'm using Xcode 12.4 on Catalina 10.15.7. All ports are built from source because I switch between x11 and quartz variants.

Change History (3)

comment:1 Changed 6 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:2 Changed 5 months ago by chrstphrchvz (Christopher Chavez)

This issue was reported elsewhere:
https://github.com/Homebrew/homebrew-core/issues/68798
https://github.com/git/git/pull/944

The fix proposed upstream was applied in [7339c72fbffa/macports-ports]. I believe this ticket can be closed.

comment:3 Changed 5 months ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.