Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239139 - dev-util/git-1.6.0.2 - /usr/lib/tk8.4/tk.tcl: no event type or button # or keysym
Summary: dev-util/git-1.6.0.2 - /usr/lib/tk8.4/tk.tcl: no event type or button # or ke...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 11:24 UTC by Stoian Ivanov
Modified: 2008-11-18 11:38 UTC (History)
2 users (show)

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


Attachments
patch based on genericevent.patch from http://sourceforge.net/tracker/?func=detail&atid=112997&aid=2010422&group_id=12997 (genericevent-gentoo.patch,3.29 KB, patch)
2008-10-27 21:23 UTC, Dominic Battre
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stoian Ivanov 2008-09-30 11:24:54 UTC
vasko /home/sdr # git gui
Application initialization failed: Can't find a usable tk.tcl in the following directories:
    /usr/lib/tcl8.4/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.18/library

/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.

vasko /home/sdr #      
==================================================
tried emerge -C tc tk  ; emerge tcl tk - no change
tried threads USE flags of tcl and tk - no change
==================================================
vasko /home/sdr # emerge --info
Portage 2.2_rc9 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Thu, 25 Sep 2008 10:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB bg"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gmp gpm gstreamer hal iconv isdnlog jpeg kde kerberos libnotify mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid  dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB bg" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

vasko /home/sdr #
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-01 02:03:03 UTC
Please fill in the version of dev-util/git that you're having trouble with, or multiple versions if that's the case, or remove `-?' if all versions you tried behave like this. I for one have no trouble running `git gui' with the very latest dev-util/git-1.6.0.2 and dev-lang/{tcl,tk}-8.4.18 so you'll need to do more to establish why it doesn't work for you.
Comment 2 Stoian Ivanov 2008-10-01 08:47:46 UTC
sdr@vasko ~ $ equery list dev-util/git
[ Searching for package 'git' in 'dev-util' among: ]
 * installed packages
[I--] [ ~] dev-util/git-1.6.0.2 (0)
sdr@vasko ~ $ equery list dev-lang/tcl
[ Searching for package 'tcl' in 'dev-lang' among: ]
 * installed packages
[I--] [  ] dev-lang/tcl-8.4.18 (0)
sdr@vasko ~ $ equery list dev-lang/tk
[ Searching for package 'tk' in 'dev-lang' among: ]
 * installed packages
[I--] [  ] dev-lang/tk-8.4.18 (0)
===================
Corrections - menus are created but don't react when clicked or to Alt+ shourtcuts. Interestingly enough on my laptop with the same packages everything works fine..
Comment 3 Stoian Ivanov 2008-10-01 08:56:28 UTC
sdr@vasko ~ $ md5sum /usr/lib/tk8.4/*
0ebb8284d1f905d2f850054343d23b9d  /usr/lib/tk8.4/bgerror.tcl
2d783fdba971d8e054d4a3c9228c3c1f  /usr/lib/tk8.4/button.tcl
32a6d33fc9b6b9ac8a8078829ca80606  /usr/lib/tk8.4/choosedir.tcl
811e142e518e44bd1c9daefb378d3add  /usr/lib/tk8.4/clrpick.tcl
42dfb1f1718327595e91078f8d013675  /usr/lib/tk8.4/comdlg.tcl
78edfb9bfbfe76c4f05e1fd1403e70af  /usr/lib/tk8.4/console.tcl
md5sum: /usr/lib/tk8.4/demos: Is a directory
050e3a651a1fe1b3867f06ef757a8b9a  /usr/lib/tk8.4/dialog.tcl
b051157a1c7ca44bb5d21cb2944ae0ce  /usr/lib/tk8.4/entry.tcl
f5be2ee203304b3986176b6978816412  /usr/lib/tk8.4/focus.tcl
md5sum: /usr/lib/tk8.4/images: Is a directory
md5sum: /usr/lib/tk8.4/include: Is a directory
e870c8629fa572582874750d3e46a9d1  /usr/lib/tk8.4/listbox.tcl
f23a2446a6b6a7e62ff35277197c815d  /usr/lib/tk8.4/menu.tcl
10e7726e3b44900359c0ae31302df2b5  /usr/lib/tk8.4/mkpsenc.tcl
19dc1c803a6956048dd2e22c63cb7265  /usr/lib/tk8.4/msgbox.tcl
md5sum: /usr/lib/tk8.4/msgs: Is a directory
7e57e7b6b7d3ac2a926058b745c27011  /usr/lib/tk8.4/obsolete.tcl
6fa0cc7998287b8ec295ee1b2a518df2  /usr/lib/tk8.4/optMenu.tcl
60b352d1bc8986704188b09b097559d5  /usr/lib/tk8.4/palette.tcl
40da148287c6324c3de866a97b7c0515  /usr/lib/tk8.4/panedwindow.tcl
21662fa1182c35000b64357ad946bb84  /usr/lib/tk8.4/pkgIndex.tcl
263e705a041ea4da1157bd9d1dd53641  /usr/lib/tk8.4/prolog.ps
32506026e4b5394d0620996fe97e4b72  /usr/lib/tk8.4/safetk.tcl
b939ae632eeb3517ab42880f97b976b7  /usr/lib/tk8.4/scale.tcl
e9bc549083bc93c287ab6637675c6129  /usr/lib/tk8.4/scrlbar.tcl
8162507e26d49c6e6b81b6bc9c1195a8  /usr/lib/tk8.4/spinbox.tcl
312640c5340af7d1e87f9df4b816a974  /usr/lib/tk8.4/tclIndex
caf80f9a9af34776ef123d87e0c7ba65  /usr/lib/tk8.4/tearoff.tcl
18faddc4228f7af68f71ae82dca725f8  /usr/lib/tk8.4/text.tcl
4ea2537fbf9c95ddf1c69cd70731814a  /usr/lib/tk8.4/tk.tcl
597773999647d522b152b1ae7cd35d36  /usr/lib/tk8.4/tkAppInit.c
616efa0933f9dd09f32f46c7cff5367f  /usr/lib/tk8.4/tkfbox.tcl
23cc2a0c87a57307d1e12498aa1fdb86  /usr/lib/tk8.4/unsupported.tcl
26a885a535e22c4a2fb34d9262910be8  /usr/lib/tk8.4/xmfbox.tcl
Comment 4 Stoian Ivanov 2008-10-01 23:29:40 UTC
this is form the working configuration: note mislplacement from the end of the list. Still working and md5 match thought
===============
sdr@sdrlt ~ $ git gui
sdr@sdrlt ~ $ md5sum /usr/lib/tk8.4/*
0ebb8284d1f905d2f850054343d23b9d  /usr/lib/tk8.4/bgerror.tcl
2d783fdba971d8e054d4a3c9228c3c1f  /usr/lib/tk8.4/button.tcl
32a6d33fc9b6b9ac8a8078829ca80606  /usr/lib/tk8.4/choosedir.tcl
811e142e518e44bd1c9daefb378d3add  /usr/lib/tk8.4/clrpick.tcl
42dfb1f1718327595e91078f8d013675  /usr/lib/tk8.4/comdlg.tcl
78edfb9bfbfe76c4f05e1fd1403e70af  /usr/lib/tk8.4/console.tcl
md5sum: /usr/lib/tk8.4/demos: Директория е
050e3a651a1fe1b3867f06ef757a8b9a  /usr/lib/tk8.4/dialog.tcl
b051157a1c7ca44bb5d21cb2944ae0ce  /usr/lib/tk8.4/entry.tcl
f5be2ee203304b3986176b6978816412  /usr/lib/tk8.4/focus.tcl
md5sum: /usr/lib/tk8.4/images: Директория е
md5sum: /usr/lib/tk8.4/include: Директория е
e870c8629fa572582874750d3e46a9d1  /usr/lib/tk8.4/listbox.tcl
f23a2446a6b6a7e62ff35277197c815d  /usr/lib/tk8.4/menu.tcl
10e7726e3b44900359c0ae31302df2b5  /usr/lib/tk8.4/mkpsenc.tcl
19dc1c803a6956048dd2e22c63cb7265  /usr/lib/tk8.4/msgbox.tcl
md5sum: /usr/lib/tk8.4/msgs: Директория е
7e57e7b6b7d3ac2a926058b745c27011  /usr/lib/tk8.4/obsolete.tcl
6fa0cc7998287b8ec295ee1b2a518df2  /usr/lib/tk8.4/optMenu.tcl
60b352d1bc8986704188b09b097559d5  /usr/lib/tk8.4/palette.tcl
40da148287c6324c3de866a97b7c0515  /usr/lib/tk8.4/panedwindow.tcl
21662fa1182c35000b64357ad946bb84  /usr/lib/tk8.4/pkgIndex.tcl
263e705a041ea4da1157bd9d1dd53641  /usr/lib/tk8.4/prolog.ps
32506026e4b5394d0620996fe97e4b72  /usr/lib/tk8.4/safetk.tcl
b939ae632eeb3517ab42880f97b976b7  /usr/lib/tk8.4/scale.tcl
e9bc549083bc93c287ab6637675c6129  /usr/lib/tk8.4/scrlbar.tcl
8162507e26d49c6e6b81b6bc9c1195a8  /usr/lib/tk8.4/spinbox.tcl
312640c5340af7d1e87f9df4b816a974  /usr/lib/tk8.4/tclIndex
caf80f9a9af34776ef123d87e0c7ba65  /usr/lib/tk8.4/tearoff.tcl
18faddc4228f7af68f71ae82dca725f8  /usr/lib/tk8.4/text.tcl
597773999647d522b152b1ae7cd35d36  /usr/lib/tk8.4/tkAppInit.c
616efa0933f9dd09f32f46c7cff5367f  /usr/lib/tk8.4/tkfbox.tcl
4ea2537fbf9c95ddf1c69cd70731814a  /usr/lib/tk8.4/tk.tcl
23cc2a0c87a57307d1e12498aa1fdb86  /usr/lib/tk8.4/unsupported.tcl
26a885a535e22c4a2fb34d9262910be8  /usr/lib/tk8.4/xmfbox.tcl
sdr@sdrlt ~ $ export LANG=C
sdr@sdrlt ~ $ md5sum /usr/lib/tk8.4/*
0ebb8284d1f905d2f850054343d23b9d  /usr/lib/tk8.4/bgerror.tcl
2d783fdba971d8e054d4a3c9228c3c1f  /usr/lib/tk8.4/button.tcl
32a6d33fc9b6b9ac8a8078829ca80606  /usr/lib/tk8.4/choosedir.tcl
811e142e518e44bd1c9daefb378d3add  /usr/lib/tk8.4/clrpick.tcl
42dfb1f1718327595e91078f8d013675  /usr/lib/tk8.4/comdlg.tcl
78edfb9bfbfe76c4f05e1fd1403e70af  /usr/lib/tk8.4/console.tcl
md5sum: /usr/lib/tk8.4/demos: Is a directory
050e3a651a1fe1b3867f06ef757a8b9a  /usr/lib/tk8.4/dialog.tcl
b051157a1c7ca44bb5d21cb2944ae0ce  /usr/lib/tk8.4/entry.tcl
f5be2ee203304b3986176b6978816412  /usr/lib/tk8.4/focus.tcl
md5sum: /usr/lib/tk8.4/images: Is a directory
md5sum: /usr/lib/tk8.4/include: Is a directory
e870c8629fa572582874750d3e46a9d1  /usr/lib/tk8.4/listbox.tcl
f23a2446a6b6a7e62ff35277197c815d  /usr/lib/tk8.4/menu.tcl
10e7726e3b44900359c0ae31302df2b5  /usr/lib/tk8.4/mkpsenc.tcl
19dc1c803a6956048dd2e22c63cb7265  /usr/lib/tk8.4/msgbox.tcl
md5sum: /usr/lib/tk8.4/msgs: Is a directory
7e57e7b6b7d3ac2a926058b745c27011  /usr/lib/tk8.4/obsolete.tcl
6fa0cc7998287b8ec295ee1b2a518df2  /usr/lib/tk8.4/optMenu.tcl
60b352d1bc8986704188b09b097559d5  /usr/lib/tk8.4/palette.tcl
40da148287c6324c3de866a97b7c0515  /usr/lib/tk8.4/panedwindow.tcl
21662fa1182c35000b64357ad946bb84  /usr/lib/tk8.4/pkgIndex.tcl
263e705a041ea4da1157bd9d1dd53641  /usr/lib/tk8.4/prolog.ps
32506026e4b5394d0620996fe97e4b72  /usr/lib/tk8.4/safetk.tcl
b939ae632eeb3517ab42880f97b976b7  /usr/lib/tk8.4/scale.tcl
e9bc549083bc93c287ab6637675c6129  /usr/lib/tk8.4/scrlbar.tcl
8162507e26d49c6e6b81b6bc9c1195a8  /usr/lib/tk8.4/spinbox.tcl
312640c5340af7d1e87f9df4b816a974  /usr/lib/tk8.4/tclIndex
caf80f9a9af34776ef123d87e0c7ba65  /usr/lib/tk8.4/tearoff.tcl
18faddc4228f7af68f71ae82dca725f8  /usr/lib/tk8.4/text.tcl
4ea2537fbf9c95ddf1c69cd70731814a  /usr/lib/tk8.4/tk.tcl
597773999647d522b152b1ae7cd35d36  /usr/lib/tk8.4/tkAppInit.c
616efa0933f9dd09f32f46c7cff5367f  /usr/lib/tk8.4/tkfbox.tcl
23cc2a0c87a57307d1e12498aa1fdb86  /usr/lib/tk8.4/unsupported.tcl
26a885a535e22c4a2fb34d9262910be8  /usr/lib/tk8.4/xmfbox.tcl
sdr@sdrlt ~ $ git gui
sdr@sdrlt ~ $                                        
Comment 5 Dominic Battre 2008-10-27 21:22:13 UTC
The bug is being discussed here http://sourceforge.net/tracker/?func=detail&atid=112997&aid=2010422&group_id=12997

I have modified genericevent.patch to be applicable to tk-8.4.19.ebuild - note that I have just applied the modifications manually to the locations that seemed to match best. I did not try to understand the reasons for the patch. Therefore, there is no guarantee about anything.

Anyway, the patch solved the symptoms reported in this bug in my case (problems with the TCL/TK installer of dev-lang/R).

Comment 6 Dominic Battre 2008-10-27 21:23:33 UTC
Created attachment 170035 [details, diff]
patch based on genericevent.patch from http://sourceforge.net/tracker/?func=detail&atid=112997&aid=2010422&group_id=12997
Comment 7 Stoian Ivanov 2008-10-27 23:56:56 UTC
Great to here someone is working on this. I was just messing with strace git gui just to find that all opened .tcl files match (md5sum). I'll just wait for the official patch in the portage.Thanks!