Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133705

Summary: app-emulation/emul-linux-x86-xlibs-7.0-r1 misses locale support
Product: Gentoo Linux Reporter: Markus Henschel <markus-henschel>
Component: New packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 165270    

Description Markus Henschel 2006-05-18 10:54:52 UTC
Some files needed for locale support in X11 are missing from the ebuild:
/emul/linux/x86/usr/lib/X11/lib/locale/libs/common/*

In emul-linux-x86-xlibs-2.2.1-r1 they are present. This causes emul-linux-x86-java-1.4.2.03-r1  to fail for some java apps or applets. For example the sun test applet crashes firefox-bin: http://www.java.com/de/download/help/testvm.xml

Or /opt/java32/bin/policytool complains about "current locale is not supported in X11" and crashes then.

Furthermore the library seems to look for the locales at the wrong place. When installing emul-linux-x86-xlibs-2.2.1-r1 (which had the missing files) this environment variable is needed to fix this:
export XLOCALEDIR=/emul/linux/x86/usr/lib32/X11/locale/

May be the path could be compiled into the emulion library?
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2007-02-18 10:52:11 UTC
The locales got moved to /usr/share. If you have libX11 installed, you will have them.