Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281148 - sci-electronics/magic-7.4.46: broken with tcl8.5
Summary: sci-electronics/magic-7.4.46: broken with tcl8.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tcltk-8.5
  Show dependency tree
 
Reported: 2009-08-11 21:28 UTC by Federico Ferri (RETIRED)
Modified: 2009-10-13 21:48 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 Federico Ferri (RETIRED) gentoo-dev 2009-08-11 21:28:54 UTC
$ magic
Error in startup script: version conflict for package "Tk": have 8.5.7, need exactly 8.5
    while executing
"package require -exact Tk $tcl_version"
    invoked from within
"if {$tcl_version < 8.0} {
    return -code error "tkcon requires at least Tcl/Tk8"
} else {
    package require -exact Tk $tcl_version
}"
    (file "/usr/share/magic/tcl/tkcon.tcl" line 44)
Comment 1 Federico Ferri (RETIRED) gentoo-dev 2009-08-11 21:48:23 UTC
I fixed it for you in magic-7.4.46-r1.ebuild
Comment 2 Marios Andreopoulos 2009-10-13 21:48:32 UTC
I understand this is a closed bug, but could you maybe fix it for the testing version too? I know it is easy to copy the appropriate lines from magic-7.4.46-r1.ebuild to magic-7.5.129.ebuild but for inexperienced users it may be hard to find.

I can confirm that I copied the lines:
 # bug 281148 - tcl-8.5
 sed -i -e 's/package require -exact Tk/package require Tk/g' \
         tcltk/tkcon.tcl

To src_unpack() of magic-7.5.129.ebuild and now it works fine with tk 8.5.7-r1.