Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125818 - sys-libs/glibc-2.4 and problem with locale
Summary: sys-libs/glibc-2.4 and problem with locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Lowest normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 05:16 UTC by David Watzke
Modified: 2006-04-25 22:10 UTC (History)
3 users (show)

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


Attachments
glibc-2.4.log.bz2 (glibc-2.4.log.bz2,332.70 KB, application/x-bzip2)
2006-03-11 09:15 UTC, David Watzke
Details
New glibc-2.4.log.bz2 (glibc-2.4.log.bz2,333.48 KB, application/x-bzip2)
2006-03-12 05:06 UTC, David Watzke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Watzke 2006-03-11 05:16:12 UTC
Hey. I've compiled new glibc 2.4. All OK. Then I've restarted X.org (with KDE). When I've ran some application I cannot type letters with accents. You know, czech language :-) I've tried to delete ~/.kde and still same. Then locale:

locale: Cannot set LC_ALL to default locale: no such file or directory
LANG=cs_CZ.UTF-8
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8"
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL=cs_CZ.UTF-8

GTK+ applications were OK... that's weird. And when I've ran LANG=C LC_ALL=C kate, then it was OK. So I gotta move back to =glibc-2.3.6-r3, which is OK.

Portage 2.1_pre5-r4 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apm audiofile avi bash-completion bitmap-fonts bzip2 cdr css cups dbus dga dio directfb dri dts dvd dvdr dvdread emboss encode fbcon ffmpeg flac flash foomaticdb fortran ftp gdbm gif gpm hal i8x0 icq id3 id3v2 imagemagick imlib ipv6 jabber javascript jpeg kde kdeenablefinal lame lcms lzw lzw-tiff mad matroska mbox mikmod mime mp3 mpeg mplayer ncurses nls nowebdav nptl nptlonly nvidia ogg oggvorbis openal opengl osc oscar pcre pdflib perl pic png posix ppds python qt quicktime readline sdl session sftplogging skey sockets speex ssl subversion svg symlink theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis xine xml xml2 xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 SpanKY gentoo-dev 2006-03-11 06:54:13 UTC
post full emerge log as an attachment: emerge ~glibc-2.4 >& log
Comment 2 David Watzke 2006-03-11 08:05:00 UTC
OK, running
emerge ~glibc-2.4 | tee glibc-2.4.log
Comment 3 David Watzke 2006-03-11 08:09:51 UTC
Btw, after few minutes is log about 1,5 MB large... compilation will need more than hour... are you sure by uploading that file here? Shouldn't I upload it on my FTP, or so?
Comment 4 David Watzke 2006-03-11 09:15:44 UTC
Created attachment 81931 [details]
glibc-2.4.log.bz2

bzipped emerge log
Comment 5 David Watzke 2006-03-12 05:06:40 UTC
Created attachment 81971 [details]
New glibc-2.4.log.bz2

Sorry, I have 4got that tee saves only stdout and not stderr...
Comment 6 Theofilos Intzoglou 2006-03-13 02:10:26 UTC
I had the same problem. My locale is el_GR.UTF-8 and I have that in /etc/locales.build. As soon as glibc-2.4 finished compilation I couldn't use accented letters. I had to run "localedef -i el_GR -f UTF-8 el_GR.UTF-8" to make it work again.

Here is the output of emerge --info:
Portage 2.1_pre6 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.hol.gr/pub/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LINGUAS="el"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 aac aalib acpi alsa apache2 apm asf audiofile avi berkdb bindist bitmap-fonts browserplugin bzip2 cairo canna cddb cdparanoia cdr cjk clamav cpudetection crypt css cups dba dbus dga dillo doc dri dts dvd dvdr dvdread eds emboss encode fbcon ffmpeg flac flash font-server foomaticdb fortran gd gdbm gif glitz glut gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java javascript joystick jpeg jpeg2k kde kdeenablefinal kdexdeltas kqemu libg++ libwww lirc lm_sensors mad matroska mbox mjpeg mmx mmxext mng modplug motif mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis openexr opengl oss pam pascal pcre pdflib perl php png postgres ppds python qt quicktime readline real rtc samba sdl session slp softmmu spamassassin spell sql sqlite sse ssl subversion svg svga tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vorbis win32codecs wma wmf xchatdccserver xcomposite xface xine xml xml2 xprint xv xvid xvmc zeroconf zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_el userland_GNU video_cards_ati video_cards_fglrx video_cards_vesa video_cards_s3 video_cards_s3virge video_cards_apm"
Comment 7 David Watzke 2006-03-13 09:02:46 UTC
Yeah, workaround

localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8

works for me well... thanks.
Comment 8 SpanKY gentoo-dev 2006-04-19 20:19:40 UTC
glibc-2.4-r2 should have this addressed
Comment 9 Christian Roessner 2006-04-24 04:27:22 UTC
Hi,

I use glibc with multilib on amd64 and every app running under lib32 is fallen back to POSIX C. I had to symlink /usr/lib64/locale to /usr/lib32. So glibc ebuild seems to have a bug on that, does it?

Regards

Christian

N.B.: Concerning the headline, I reopend it ;-)
Comment 10 David Watzke 2006-04-24 04:32:11 UTC
Reopening... ;-)
Comment 11 SpanKY gentoo-dev 2006-04-25 22:10:38 UTC
fixed in 2.4-r2