Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55712 - uim-0.3.9-r1 unable to use gtkimmodule (does not appear in gnome menu)
Summary: uim-0.3.9-r1 unable to use gtkimmodule (does not appear in gnome menu)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 13:25 UTC by Andreas Laestadius
Modified: 2004-07-18 03:59 UTC (History)
0 users

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


Attachments
Output of gtk-query-immodules-2.0 (gtk-query-output.txt,1.54 KB, text/plain)
2004-07-01 02:58 UTC, Andreas Laestadius
Details
/etc/gtk-2.0/gtk.immodules (gtk.immodules,1.54 KB, text/plain)
2004-07-01 02:59 UTC, Andreas Laestadius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Laestadius 2004-06-30 13:25:44 UTC
The e-builds seem to fail to update immodules list to include uim in the list of available immodules in gnome (default right click in input area).

Expected:

To be able to choose uim-[put your input method here] in the right click gtk immodule meny (where available).

Achieved:

No uim items in menu. Unable to choose uim-[...] as input method.

Reproducable:

Allways. 
emerge uim-0.3.9-r1 

emerge info:
Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r1)
=================================================================
System uname: 2.6.7-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr cjk crypt encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcpd truetype unicode xml2 xmms xv zlib"
Comment 1 Andreas Laestadius 2004-06-30 13:27:19 UTC
Ah, and this goes for uim-0.3.9-r2 too.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-30 20:52:51 UTC
Please attach your /etc/gtk-2.0/gtk.immodules.
Also, if you execute gtk-query-immodules-2.0
manually, what will be the output of it?
Comment 3 Andreas Laestadius 2004-07-01 02:57:53 UTC
I get this error from ebuild emerge:
...
--- !targe sym /usr/lib/libuim.so
gtk
Cannot load module /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
/usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
 * Caching service dependencies...
...

Output of gtk-query-immodules-2.0 is exequted the same error message appears.



Comment 4 Andreas Laestadius 2004-07-01 02:58:35 UTC
Created attachment 34566 [details]
Output of gtk-query-immodules-2.0
Comment 5 Andreas Laestadius 2004-07-01 02:59:29 UTC
Created attachment 34567 [details]
/etc/gtk-2.0/gtk.immodules
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-02 00:45:57 UTC
matsuu: could you take a look at this bug? I couldn't reproduce the bug on my laptop.
I guess it might be amd64 specific bug. (FYI, an9n said he doesn't have this problem
with uim-0.3.8)
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2004-07-17 16:34:17 UTC
uim-0.3.9-r1 works fine on my amd64.

emerge info:
Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 x86_64 4
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb cdr cjk crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby sdl slang spell ssl tcltk tcpd truetype unicode xml2 xmms xv zlib"
Comment 8 Andreas Laestadius 2004-07-17 17:32:17 UTC
I tried both 0.3.9-r1 (again) and 0.4.1 without luck, I get the same error during emerge from both:

...
gtk
Cannot load module /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
/usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> app-i18n/uim-0.3.9-r1 merged.
...

...
gtk
Cannot load module /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
/usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> app-i18n/uim-0.4.1 merged.
...

I believe this is where the error message appears:

>$ gtk-query-immodules-2.0
Cannot load module /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom
/usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so: undefined symbol: uim_prop_update_custom


No progress, but still, _0.3.8_ works without any problems.





emerge info:
Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r1)
=================================================================
System uname: 2.6.7-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr cjk crypt dvd encode esd faad foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcpd truetype unicode xml2 xmms xv zlib"
Comment 9 Andreas Laestadius 2004-07-17 17:42:27 UTC
Just tried uim-0.3.4.2.ebuild just to see what happens, and it builds just fine. Perhaps add "~amd64" to uim-0.3.4.2.ebuild ?
Comment 10 MATSUU Takuto (RETIRED) gentoo-dev 2004-07-17 18:45:47 UTC
uim_prop_update_custom is new API from 0.3.9. I think that some libraries still old. 
Please exec `qpkg -f -l /usr/lib/gtk-2.0/2.4.0/immodules/im-uim.so`.
Comment 11 Andreas Laestadius 2004-07-18 03:59:24 UTC
Matsuu-san,

Your hint on libraries (libuim) led me to investigate a little bit. Seems like I had a double set of libuim installed in /usr/local/lib/, from playing around with the uim tarball some time ago, and the old libuim got loaded it seems (yes, my fault (^^;). 

Removing all files in /usr/local/lib/ and re-emerge uim solved it all. 

Anyway, this is not a bug, and I've changed the status to resolved "invalid".
I am now running 0.4.1.