Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96840 - Bad LINGUAS-example when emerging kde-i18n
Summary: Bad LINGUAS-example when emerging kde-i18n
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 02:41 UTC by Magnus Johansson
Modified: 2005-06-23 02:55 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 Magnus Johansson 2005-06-23 02:41:57 UTC
When trying to install kde-i18n with a bad or missing LINGUAS variable the  
ebuild gives the following error:  
  
* You must define a LINGUAS environment variable that contains a list  
* of the language codes for which languages you would like to install.  
* Look at the LANGS variable inside the ebuild to see the list of  
* available languages.  
* e.g.: LINGUAS="se de pt"  
  
However, the language code "se" given in the example is not a valid code. The  
correct code should be "sv". This caused me, as a swede, some trouble when  
trying to install the swedish language pack, since I recognized "se" as the  
code for sweden, and naturally tried it first.  This is for kde-i18n-3.3.2, 
btw. 

Reproducible: Always
Steps to Reproduce:
1. unset LINGUAS 
2. emerge kde-i18n 
3. Read the error message. 
4. export LINGUAS="se"; emerge kde-i18n 
5. Get the same error message again. 
  
Actual Results:  
kde-i18n for swedish did not get installed. 

Expected Results:  
It should have said "sv" instead of "se" in the example it gave. 

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-suspend2 i686) 
================================================================= 
System uname: 2.6.11-suspend2 i686 Intel(R) Pentium(R) III Mobile CPU      
1200MHz 
Gentoo Base System version 1.6.12 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 12:33:21)] 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.4_p6, 1.5, 1.6.3, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -mcpu=i686 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -mcpu=i686 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/mnt/pcbackup/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups curl 
dba dga directfb divx4linux dvd emacs emboss encode fam flac flash foomaticdb 
fortran ftp gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib 
ipv6 jabber java jpeg junit kde libg++ libwww mad mikmod mime mmap mng motif 
mozilla mp3 mpeg mysql ncurses nls odbc offensive ogg oggvorbis openal opengl 
orinoco oss pam pcmcia pcre pda pdflib perl php png posix python qt quicktime 
readline sambasdl shared slang soap sockets spell sse ssl svg svga tcltk tcpd 
tetex tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis x86 
xine xml xml2 xmms xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-23 02:55:17 UTC
Agreed, it's fixed now.