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

Bug 69077

Summary: glibc-2.3.4.20040808-r1 and glibc-2.3.4.20041006 are missing sr_YU locales
Product: Gentoo Linux Reporter: Branko Ivanovic <popeye>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Branko Ivanovic 2004-10-26 15:34:13 UTC
I've updated glibc to glibc-2.3.4.20040808-r1 version cuple of days ago. After ebuild was successfully finished, I've been most unpleasently surprised to learn that sr_YU (my locale, Im from Serbia and Montenegro) is missing. All other locales are installed (as I can see in /usr/share/i18n/locales) but the one I need.

I've tried using userlocales with sr_YU.UTF-8/UTF-8 in /etc/locales.build and also tried with LINGUAS set to sr_YU, but that didn't help either.

I've just peeked into glibc patches in current portage tree and it looks like sr_YU has been removed in glibc-2.3.4-branch-update-20040808 and glibc-2.3.4-branch-update-20041001?

Code:
# grep sr_YU glibc-2.3.4-branch-update-20040808.patch
+       * SUPPORTED (SUPPORTED-LOCALES): Remove sr_YU locales.
+       * locales/sr_YU: Likewise.
+       * locales/sr_YU@cyrillic: Likewise.
+       * locales/sr_YU: Likewise.
-sr_YU/ISO-8859-2 \
-sr_YU@cyrillic/ISO-8859-5 \
diff -Nru glibc-2.3.3/localedata/locales/sr_YU libc/localedata/locales/sr_YU
--- glibc-2.3.3/localedata/locales/sr_YU        2003-04-15 04:17:08.000000000 +0000
+++ libc/localedata/locales/sr_YU       1970-01-01 00:00:00.000000000 +0000
-category  "sr_YU:2000";LC_IDENTIFICATION
-category  "sr_YU:2000";LC_CTYPE
-category  "sr_YU:2000";LC_COLLATE
-category  "sr_YU:2000";LC_TIME
-category  "sr_YU:2000";LC_NUMERIC
-category  "sr_YU:2000";LC_MONETARY
-category  "sr_YU:2000";LC_MESSAGES
-category  "sr_YU:2000";LC_PAPER
-category  "sr_YU:2000";LC_NAME
-category  "sr_YU:2000";LC_ADDRESS
-category  "sr_YU:2000";LC_TELEPHONE
diff -Nru glibc-2.3.3/localedata/locales/sr_YU@cyrillic libc/localedata/locales/sr_YU@cyrillic
--- glibc-2.3.3/localedata/locales/sr_YU@cyrillic       2003-04-15 04:16:43.000000000 +0000
+++ libc/localedata/locales/sr_YU@cyrillic      1970-01-01 00:00:00.000000000 +0000
-category  "sr_YU@cyrillic:2000";LC_IDENTIFICATION
-category  "sr_YU@cyrillic:2000";LC_CTYPE
-category  "sr_YU@cyrillic:2000";LC_COLLATE
-category  "sr_YU@cyrillic:2000";LC_TIME
-category  "sr_YU@cyrillic:2000";LC_NUMERIC
-category  "sr_YU@cyrillic:2000";LC_MONETARY
-category  "sr_YU@cyrillic:2000";LC_MESSAGES
-category  "sr_YU@cyrillic:2000";LC_PAPER
-category  "sr_YU@cyrillic:2000";LC_NAME
-category  "sr_YU@cyrillic:2000";LC_ADDRESS
-category  "sr_YU@cyrillic:2000";LC_TELEPHONE
-copy "sr_YU"
-copy "sr_YU"
-copy "sr_YU"
-copy "sr_YU"
-copy "sr_YU"
-copy "sr_YU"
-copy "sr_YU"


Reproducible: Always
Steps to Reproduce:
1. LC_ALL=sr_YU date
2.
3.

Actual Results:  
Wed Oct 27 00:34:50 CEST 2004

Expected Results:  
&#1057;&#1088;&#1077; &#1054;&#1082;&#1090; 27 00:34:50 CEST 2004

 # emerge info
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20041006-r0,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww
mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk
tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 02:02:50 UTC
sr_YU was removed upstream.  If you're interested in keeping this locale, I
suggest contacting the upstream developers and offering to maintain it.