Opened 5 years ago

Closed 4 years ago

Last modified 7 weeks ago

#60000 closed defect (fixed)

git @2.25.0: version conflict for package "Tcl": have 8.5.9, need 8.6

Reported by: akimd (Akim Demaille) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: zman0900 (Dan Ziemba), agateau-g (Aurélien Gâteau)
Port: git

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi all,

With the latest version of everything, when I run git gui, I get the following error: version conflict for package "Tcl": have 8.5.9, need 8.6.

git @2.25.0 (devel)
tcl @8.6.10 (lang)
10.14.6 (18G2022)
MacPorts base version 2.6.2

I guess it means it picks the one from the system. I don't know how to tell it to use macport's.

In fact, when I run '/opt/local/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish' --version, I get the same error message (version conflict for package "Tcl": have 8.5.9, need 8.6).

Change History (9)

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ciserlohn@… removed
Description: modified (diff)
Owner: set to ci42
Status: newassigned
Summary: git: git gui no longer works with current tclgit @2.25.0: version conflict for package "Tcl": have 8.5.9, need 8.6

Confirmed.

comment:2 Changed 5 years ago by akimd (Akim Demaille)

This is a great source of pain :( Any chance to see it fixed?

Cheers!

comment:3 Changed 5 years ago by reneeotten (Renee Otten)

upstream bug-report is here.

I don't know if you can specify which Tcl version to use, haven't checked. But you'd need to check how git-gui is build and likely supply environment variables to specify or patch the build system.

comment:4 Changed 5 years ago by akimd (Akim Demaille)

Hi! Thanks for your answer. The upstream issue is about the fact that Tcl 8.6 is now required. My issue is somewhat different, since I _have_ it, via MacPorts. So, yup, that's definitely a build issue. And I suspect there must be some way at launch-time to specify which Tcl to use, but my Tcl-foo is null :(

comment:5 Changed 5 years ago by zman0900 (Dan Ziemba)

Cc: zman0900 added

comment:6 Changed 5 years ago by zman0900 (Dan Ziemba)

This might have something to do with how the git package is built. Even with macports 'tcl' and 'tk' packages installed, when the git package is built on my machine, it appears to pull in the system version of 'wish' - the files '/opt/local/share/git-gui/lib/Git\ Gui.app/Contents/MacOS/Wish' and '/System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish' have the same checksums. Seems like something needs to happen at build time to force it to pull in the macports version of 'wish'. Not sure if that something would be in the git build process itself or in the port file.

comment:7 Changed 5 years ago by agateau-g (Aurélien Gâteau)

Cc: agateau-g added

comment:8 Changed 4 years ago by akimd (Akim Demaille)

FTR, git gui works again. I don't know since when.

git @2.27.0 (devel)
tcl @8.6.10 (lang)

Cheers!

Last edited 7 weeks ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 Changed 4 years ago by reneeotten (Renee Otten)

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