This bug is affecting to multiple distributions:
http://bugs.gentoo.org/show_bug.cgi?id=283317
https://bugzilla.novell.com/show_bug.cgi?id=556424
https://bugs.launchpad.net/ubuntu/+source/scim/+bug/475800
https://qa.mandriva.com/show_bug.cgi?id=55155
And a patch was provided months ago that seems to fix this:
http://www.scim-im.org/forums#nabble-td4198145
then, would be nice to see it commited if good enough
Thanks a lot
fixed in svn trunk