Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268558 - dev-util/git with tk flag needs tk>=8.5
Summary: dev-util/git with tk flag needs tk>=8.5
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-04 05:55 UTC by liganic2
Modified: 2009-05-04 20:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liganic2 2009-05-04 05:55:14 UTC
gitk fails with
/usr/bin/gitk: line 3: exec: wish: not found

when tk >= 8.5 is not installed.

The line in the ebuild should not be:
tk?     ( dev-lang/tk )
but:
tk?     ( >=dev-lang/tk-8.5 )

wish is a new part of tk and included since 8.5. The error is easily fixed with installing the new tk version.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-04 06:22:53 UTC
Wish has been in TK longer than I've been programming computers.

# equery f dev-lang/tk
[ Searching for packages matching dev-lang/tk... ]
* Contents of dev-lang/tk-8.4.19-r1:
/usr
/usr/bin
/usr/bin/wish -> wish8.4
/usr/bin/wish8.4

gitk works just fine with wish from TK-8.4 here.

Please include more of your emerge --info and error output.
Comment 2 liganic2 2009-05-04 20:31:53 UTC
I am sorry, I remerged tk-8.4 and wish is now where it should be. (It definitely wasn't there before!). Also don't trust Ubuntu user forums about tk etc. ;)
Sorry for the trouble caused.