Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 234965
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 225999
Assigned To: TCL/TK Herd Maintainers <tcltk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marek Aaron Sapota <projects.gg.aaron@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 234965 depends on: Show dependency tree
Bug 234965 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-16 21:27 0000
gitk and hgk fail with =dev-lang/tk-8.4.18, I haven't tested against lower
versions, but masked version doesn't work either. hgk fails completely, gitk
start up, but menu doesn't work. They produce this output:

Application initialization failed: Can't find a usable tk.tcl in the following
directories:                                      
    /usr/lib64/tcl8.4/tk8.4 /usr/lib64/tk8.4 /usr/lib/tk8.4 /lib/tk8.4
/usr/library /library /tk8.4.18/library                   

/usr/lib64/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym                         
    while executing                                         
"bind Listbox <MouseWheel> {                                
        %W yview scroll [expr {- (%D / 120) * 4}] units     
    }"                                                      
    invoked from within                                     
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {                                            
        %W yview scroll [expr {- (%D)}] uni..."                            
    (file "/usr/lib64/tk8.4/listbox.tcl" line 181)                         
    invoked from within                                                    
"source /usr/lib64/tk8.4/listbox.tcl"                                      
    (in namespace eval "::" script line 1)                                 
    invoked from within                                                    
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"      
    (procedure "SourceLibFile" line 2)                                     
    invoked from within                                                    
"SourceLibFile listbox"                                                    
    (in namespace eval "::tk" script line 4)                               
    invoked from within                                                    
"namespace eval ::tk {                                                     
        SourceLibFile button                                               
        SourceLibFile entry                                                
        SourceLibFile listbox                                              
        SourceLibFile menu                                                 
        SourceLibFile panedwindow                                          
        SourceLibFile ..."                                                 
    invoked from within                                                    
"if {$::tk_library ne ""} {                                                
    if {$tcl_platform(platform) eq "macintosh"} {                          
        proc ::tk::SourceLibFile {file} {                                  
            if {[catch {                                                   
                namespace eval :: ..."                                     
    (file "/usr/lib64/tk8.4/tk.tcl" line 407)                              
    invoked from within                                                    
"source /usr/lib64/tk8.4/tk.tcl"                                           
    ("uplevel" body line 1)                                                
    invoked from within                                                    
"uplevel #0 [list source $file]"                                           
/usr/lib/tk8.4/tk.tcl: no event type or button # or keysym                 
no event type or button # or keysym                                        
    while executing                                                        
"bind Listbox <MouseWheel> {                                               
        %W yview scroll [expr {- (%D / 120) * 4}] units                    
    }"                                                                     
    invoked from within                                                    
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {                                            
        %W yview scroll [expr {- (%D)}] uni..."                            
    (file "/usr/lib/tk8.4/listbox.tcl" line 181)
    invoked from within
"source /usr/lib/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
        SourceLibFile button
        SourceLibFile entry
        SourceLibFile listbox
        SourceLibFile menu
        SourceLibFile panedwindow
        SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {$tcl_platform(platform) eq "macintosh"} {
        proc ::tk::SourceLibFile {file} {
            if {[catch {
                namespace eval :: ..."
    (file "/usr/lib/tk8.4/tk.tcl" line 407)
    invoked from within
"source /usr/lib/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

Reproducible: Always

------- Comment #1 From Boris Petersen 2008-08-24 19:48:36 0000 -------
i discovered that aswell with gitk and app-text/ding

------- Comment #2 From milan hodoscek 2008-08-28 16:13:00 0000 -------
(In reply to comment #1)
> i discovered that aswell with gitk and app-text/ding
> 

probably you want to look at this:

http://bugs.gentoo.org/show_bug.cgi?id=225999

------- Comment #3 From Marek Aaron Sapota 2008-08-28 17:11:55 0000 -------

*** This bug has been marked as a duplicate of bug 225999 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug