Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111978 - wrong files in gentoo-2005.1-x.iso for locale KOI8-R
Summary: wrong files in gentoo-2005.1-x.iso for locale KOI8-R
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 09:00 UTC by Andrey Kuznetsov
Modified: 2005-11-27 10:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kuznetsov 2005-11-09 09:00:39 UTC
1 I set up gentoo 2005.1
2 I export LANG=ru_RU.KOI8-R (this is common used method for localisation)
3 #locale return error. I used strace to trace the error. It is in files /usr/
lib/locale/ru_RU.koi8r
4 SOLVE: TAKE DIR /usr/lib/locale/ru_RU.koi8r FROM 'GENTOO-2005.0'!

2developers: what has happened to these files?
BTW: localisation ru_RU (not ru_RU.KOI8-R) works good, but NONE of supplied 
cyrillic fonts shows correct text

Reproducible: Always
Steps to Reproduce:
1. Set up gentoo-2005.1
2. #export LANG=ru_RU.KOI8-R
3. #locale (returns some error strings, and correct strings. BUT! see p.4)
4. #date (returns date in english. All applications are still in english)

Actual Results:  
Locale failed to change from english to russian (problem is in files /usr/lib/
locale/ru_RU.koi8r/*. Same files taken from gentoo-2005.0 work correctly)

Expected Results:  
It should show text in russian localisation.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r2, 2.
6.13-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
LANG="ru_RU.KOI8-R"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X aalib alsa arts avi berkdb bitmap-fonts cdr crypt cups curl 
doc dvd dvdr eds emboss encode fam foomaticdb fortran gif gpm gstreamer gtk2 
imlib ipv6 jack java jpeg kde lzw lzw-tiff mad mp3 mpeg mysql ncurses nls nvidia 
ogg oggvorbis opengl pam pdflib perl png postgres python qt quicktime readline 
sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales vhosts vorbis 
xml2 xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-11-27 10:22:08 UTC
i dont really follow your steps

when do you export LANG and run locale ?  after you chroot into the stage dir ?
 what stage did you use ?  what commands did you run before testing `locale` ?