ports/83316: xorg-libraries/sparc64: locale not supported by Xlib

Andrew Belashov bel at orel.ru
Tue Jul 12 08:00:42 UTC 2005


>Number:         83316
>Category:       ports
>Synopsis:       xorg-libraries/sparc64: locale not supported by Xlib
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 12 08:00:38 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Belashov
>Release:        FreeBSD 5.4-STABLE sparc64
>Organization:
JSC CenterTelecom
>Environment:
System: FreeBSD bel.localdomain 5.4-STABLE FreeBSD 5.4-STABLE #27: Thu Jun 9
 15:29:30 MSD 2005 bel at bel.localdomain:/usr/obj/usr/src/sys/SUNC3D sparc64

$ pkg_info|grep xorg-lib
xorg-libraries-6.8.2 X11 libraries and headers from X.Org

$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_ALL=

>Description:
	Xorg does not support locales on FreeBSD/sparc64. Clipboard paste
does not work in xterm. No way to type national symbols in xterm.

>How-To-Repeat:

	Run xterm and try copy and paste. Try to type national symbols from
keyboard. Use truss(1) for trace open(2) system calls and determine needed
shared libraries.

$ xterm
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

>Fix:

	Here is workaround. Go to lib/X11/locale/common and make symbolic link
to existing directory with shared libraries:

# cd /usr/X11R6/lib/X11/locale/common
# ln -s ../lib/common sparcv9


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list