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

Bug 205961

Summary: net-misc/whois ignores LINGUAS
Product: Gentoo Linux Reporter: Arvid Norlander <anmaster>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED CANTFIX    
Severity: normal CC: flameeyes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arvid Norlander 2008-01-15 14:13:46 UTC
net-misc/whois-4.7.24 ignores the LINGUAS variable set in make.conf

Reproducible: Always

Steps to Reproduce:
1. set LINGUAS="en en_GB sv sv_SE" in make.conf
2. emerge net-misc/whois
3. Watch when emerge merges the changes to the filesystem

Actual Results:  
>>> Merging net-misc/whois-4.7.24 to /
>>> Performing suid scan in /var/tmp/portage/net-misc/whois-4.7.24/image/
--- /etc/
>>> /etc/whois.conf
--- /usr/
--- /usr/bin/
>>> /usr/bin/whois
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/whois-4.7.24/
>>> /usr/share/doc/whois-4.7.24/README.bz2
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/whois.1.bz2
--- /usr/share/locale/
--- /usr/share/locale/de/
--- /usr/share/locale/de/LC_MESSAGES/
>>> /usr/share/locale/de/LC_MESSAGES/whois.mo
--- /usr/share/locale/el/
--- /usr/share/locale/el/LC_MESSAGES/
>>> /usr/share/locale/el/LC_MESSAGES/whois.mo
--- /usr/share/locale/es/
--- /usr/share/locale/es/LC_MESSAGES/
>>> /usr/share/locale/es/LC_MESSAGES/whois.mo
--- /usr/share/locale/fr/
--- /usr/share/locale/fr/LC_MESSAGES/
>>> /usr/share/locale/fr/LC_MESSAGES/whois.mo
--- /usr/share/locale/ja/
--- /usr/share/locale/ja/LC_MESSAGES/
>>> /usr/share/locale/ja/LC_MESSAGES/whois.mo
--- /usr/share/locale/it/
--- /usr/share/locale/it/LC_MESSAGES/
>>> /usr/share/locale/it/LC_MESSAGES/whois.mo
--- /usr/share/locale/no/
--- /usr/share/locale/no/LC_MESSAGES/
>>> /usr/share/locale/no/LC_MESSAGES/whois.mo
--- /usr/share/locale/pl/
--- /usr/share/locale/pl/LC_MESSAGES/
>>> /usr/share/locale/pl/LC_MESSAGES/whois.mo
--- /usr/share/locale/ru/
--- /usr/share/locale/ru/LC_MESSAGES/
>>> /usr/share/locale/ru/LC_MESSAGES/whois.mo
--- /usr/share/locale/pt_BR/
--- /usr/share/locale/pt_BR/LC_MESSAGES/
>>> /usr/share/locale/pt_BR/LC_MESSAGES/whois.mo


Expected Results:  
It should not install locales I didn't request in my LINGUAS variable.

# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Sempron(tm) Processor 3300+
Timestamp of tree: Tue, 15 Jan 2008 06:17:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
suidctl unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
http://ftp.linux.ee/pub/gentoo/distfiles/
http://mirror.muntinternet.net/pub/gentoo/ http://mirror.gentoo.no/"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/crossdev-overlay
/usr/local/portage/cpan-overlay /usr/local/portage/nethack-overlay
/usr/local/portage/generic-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 arts audiofile bash-completion berkdb
bitmap-fonts bzip2 cairo caps ccache cdb cdr cli cracklib crypt cups curl dbus
dri dvd dvdr dvdread emacs emboss encode evo exif expat fam fastcgi fbcon
firefox flac fontconfig foomaticdb fortran gd gdbm gif glep gmp gnutls gpm
gstreamer gtk iconv idea idn ieee1394 imlib iproute2 ipv6 isdnlog javascript
joystick jpeg jpeg2k kde kqemu lcms lm_sensors logrotate mad mbox midi mikmod
mmx mmxext mng mono mozdevelop mp3 mpeg mudflap mysql mysqli ncurses nls nptl
nptlonly nsplugin objc ogg openexr opengl openmp pam pcre pdf perl php physfs
pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rle
scanner sdl session sndfile spell spl sqlite sse sse2 ssl svg tcl tcpd tiff tk
truetype truetype-fonts type1-fonts unicode usb utempter vorbis xcomposite xorg
xpm xv zlib zsh-completion" ALSA_CARDS="emu10k1 loopback seq-dummy dummy"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa
fbdev r128 nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-05-05 15:44:58 UTC
This is going to be an issue with all packages. if your LINGUAS is set to a language that the package itself doesn't provide, then it will default to install all of them. I hate it.. Diego will tell you why it is.

Diego: please add the reason since I forget it.