Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325195 - >=www-client/firefox-bin-7.0.1: es-AR is selected instead of es-ES locale even if I don't have it in LINGUAS
Summary: >=www-client/firefox-bin-7.0.1: es-AR is selected instead of es-ES locale eve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2010-06-23 10:32 UTC by Pacho Ramos
Modified: 2012-02-04 21:43 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 Pacho Ramos gentoo-dev 2010-06-23 10:32:40 UTC
* CPV:  www-client/firefox-bin-3.6.4
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux linguas_en_US linguas_es linguas_es_ES multilib startup-notification test userland_GNU
>>> Unpacking source...
>>> Unpacking firefox-3.6.4.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-3.6.4/work
 * Unpacking mozilla-firefox-3.6.4-es-CL.xpi to /var/tmp/portage/www-client/firefox-bin-3.6.4/work
 * Unpacking mozilla-firefox-3.6.4-es-ES.xpi to /var/tmp/portage/www-client/firefox-bin-3.6.4/work/mozilla-firefox-3.6.4-es-CL
 * Selected language packs (first will be default): es-CL es-ES en
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-3.6.4/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-bin-3.6.4/work/firefox ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-bin-3.6.4/work/firefox ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/firefox-bin-3.6.4/work/firefox ...
>>> Source compiled.
>>> Test phase [none]: www-client/firefox-bin-3.6.4

>>> Install firefox-bin-3.6.4 into /var/tmp/portage/www-client/firefox-bin-3.6.4/image/ category www-client
 * Setting default locale to es-CL
>>> Completed installing firefox-bin-3.6.4 into /var/tmp/portage/www-client/firefox-bin-3.6.4/image/


 * QA Notice: The following files contain runtime text relocations
 *  Text relocations force the dynamic linker to perform extra
 *  work at startup, waste system resources, and may pose a security
 *  risk.  On some architectures, the code may not even function
 *  properly, if at all.
 *  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 *  Please include the following list of files in your report:
 * TEXTREL opt/firefox/libxul.so


>>> Installing (1 of 1) www-client/firefox-bin-3.6.4
 * checking 231 files for package collisions
...

My emerge --info:

# emerge --info firefox-bin
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-ck x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-ck-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.13
Timestamp of tree: Wed, 23 Jun 2010 08:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests autoaddcvs ccache cvs distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict test test-fail-continue unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_ES en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb branding bzip2 cairo cddb cdinstall cdr cleartype cli consolekit cracklib crypt css cups cxx daap dbus djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif glitz gnome gnome-keyring gpm gstreamer gtk hal iconv imagemagick java jpeg kdehiddenvisibility kpathsea latex lcms libnotify lyx lzma mad mikmod mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network network-cron nls nptl nptlonly ntfs nvidia ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection reiserfs scanner sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs t1lib tcpd threads tiff truetype unicode usb v4l2 vcd vorbis webkit x264 xattr xcb xinetd xml xmp xorg xpm xulrunner xv xvid zeroconf zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-bin-3.6.4 was built with the following:
USE="(multilib) startup-notification test" LINGUAS="en_US es es_ES -af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cs -cy -da -de -el -en -en_GB -eo -es_AR -es_CL -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -oc -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh -zh_CN -zh_TW" 


Reproducible: Always
Comment 1 Jory A. Pratt gentoo-dev 2010-12-30 03:33:23 UTC
Pacho is this still an issue? 
Comment 2 Pacho Ramos gentoo-dev 2010-12-30 10:02:22 UTC
Yes:

 * firefox-3.6.13-es-MX.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                           [ ok ]
 * Package:    www-client/firefox-bin-3.6.13
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux linguas_en_US linguas_es linguas_es_ES multilib startup-notification test userland_GNU
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking firefox-3.6.13.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-3.6.13/work
 * Unpacking firefox-3.6.13-es-CL.xpi to /var/tmp/portage/www-client/firefox-bin-3.6.13/work
 * Unpacking firefox-3.6.13-es-ES.xpi to /var/tmp/portage/www-client/firefox-bin-3.6.13/work/firefox-3.6.13-es-CL
 * Selected language packs (first will be default): es-CL es-ES en
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-3.6.13/work
...
Comment 3 Jory A. Pratt gentoo-dev 2011-10-31 21:43:23 UTC
(In reply to comment #2)
> Yes:
> 
>  * firefox-3.6.13-es-MX.xpi RMD160 SHA1 SHA256 size ;-) ...                    
>                                                                       [ ok ]
>  * Package:    www-client/firefox-bin-3.6.13
>  * Repository: gentoo
>  * Maintainer: mozilla@gentoo.org
>  * USE:        amd64 elibc_glibc kernel_linux linguas_en_US linguas_es
> linguas_es_ES multilib startup-notification test userland_GNU
>  * FEATURES:   ccache sandbox
> >>> Unpacking source...
> >>> Unpacking firefox-3.6.13.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-3.6.13/work
>  * Unpacking firefox-3.6.13-es-CL.xpi to
> /var/tmp/portage/www-client/firefox-bin-3.6.13/work
>  * Unpacking firefox-3.6.13-es-ES.xpi to
> /var/tmp/portage/www-client/firefox-bin-3.6.13/work/firefox-3.6.13-es-CL
>  * Selected language packs (first will be default): es-CL es-ES en
> >>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-3.6.13/work
> ...

Are you still having same issue with firefox-7?
Comment 4 Pacho Ramos gentoo-dev 2011-11-01 10:37:43 UTC
It's know selecting es_AR :O


 * firefox-bin_x86_64-7.0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                              [ ok ]
 * firefox-7.0.1-es-AR.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                       [ ok ]
 * firefox-7.0.1-es-CL.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                       [ ok ]
 * firefox-7.0.1-es-ES.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                       [ ok ]
 * firefox-7.0.1-es-MX.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-bin_x86_64-7.0.1.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
>>> Unpacking firefox-7.0.1-es-AR.xpi to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
unpack firefox-7.0.1-es-AR.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-7.0.1-es-CL.xpi to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
unpack firefox-7.0.1-es-CL.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-7.0.1-es-ES.xpi to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
unpack firefox-7.0.1-es-ES.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-7.0.1-es-MX.xpi to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
unpack firefox-7.0.1-es-MX.xpi: file format not recognized. Ignoring.
 * Unpacking firefox-7.0.1-es-AR.xpi to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
 * Unpacking firefox-7.0.1-es-ES.xpi to /var/tmp/portage/www-client/firefox-bin-7.0.1/work
 * Selected language packs (first will be default): es-AR es-ES
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-7.0.1/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-bin-7.0.1/work/firefox ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/firefox-bin-7.0.1/work/firefox ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/firefox-bin-7.0.1/work/firefox ...
>>> Source compiled.
>>> Test phase [none]: www-client/firefox-bin-7.0.1

>>> Install firefox-bin-7.0.1 into /var/tmp/portage/www-client/firefox-bin-7.0.1/image/ category www-client
 * Setting default locale to es-AR
Comment 5 Jory A. Pratt gentoo-dev 2011-11-14 16:16:14 UTC
Pacho please test fx-bin-8.0 nirbheek has reworked the linguas code once again.
Comment 6 Pacho Ramos gentoo-dev 2011-11-23 18:06:35 UTC
It's still setting es-AR as default:

>>> Emerging (1 of 1) www-client/firefox-bin-8.0
>>> Downloading 'ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases//8.0/linux-x86_64/en-US/firefox-8.0.tar.bz2'
--2011-11-23 19:01:27--  ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases//8.0/linux-x86_64/en-US/firefox-8.0.tar.bz2
           => `/usr/distfiles/firefox-bin_x86_64-8.0.tar.bz2'
Resolviendo ftp.mozilla.org... 63.245.209.137
Connecting to ftp.mozilla.org|63.245.209.137|:21... conectado.
Identificándose como anonymous ... ¡Dentro!
==> SYST ... hecho.   ==> PWD ... hecho.
==> TYPE I ... hecho.  ==> CWD (1) /pub/mozilla.org/firefox/releases//8.0/linux-x86_64/en-US ... hecho.
==> SIZE firefox-8.0.tar.bz2 ... 17941497
==> PASV ... hecho.   ==> RETR firefox-8.0.tar.bz2 ... hecho.
Longitud: 17941497 (17M) (probablemente)

100%[==============================================================================================================================>] 17.941.497  51,1K/s   in 2m 40s  

2011-11-23 19:04:10 (110 KB/s) - `/usr/distfiles/firefox-bin_x86_64-8.0.tar.bz2' saved [17941497]

 * firefox-bin_x86_64-8.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                [ ok ]
 * firefox-8.0-es-AR.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                         [ ok ]
 * firefox-8.0-es-CL.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                         [ ok ]
 * firefox-8.0-es-ES.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                         [ ok ]
 * firefox-8.0-es-MX.xpi RMD160 SHA1 SHA256 size ;-) ...                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking firefox-bin_x86_64-8.0.tar.bz2 to /var/tmp/portage/www-client/firefox-bin-8.0/work
>>> Unpacking firefox-8.0-es-AR.xpi to /var/tmp/portage/www-client/firefox-bin-8.0/work
unpack firefox-8.0-es-AR.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-8.0-es-CL.xpi to /var/tmp/portage/www-client/firefox-bin-8.0/work
unpack firefox-8.0-es-CL.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-8.0-es-ES.xpi to /var/tmp/portage/www-client/firefox-bin-8.0/work
unpack firefox-8.0-es-ES.xpi: file format not recognized. Ignoring.
>>> Unpacking firefox-8.0-es-MX.xpi to /var/tmp/portage/www-client/firefox-bin-8.0/work
unpack firefox-8.0-es-MX.xpi: file format not recognized. Ignoring.
 * Unpacking firefox-8.0-es-AR.xpi to /var/tmp/portage/www-client/firefox-bin-8.0/work
 * Unpacking firefox-8.0-es-ES.xpi to /var/tmp/portage/www-client/firefox-bin-8.0/work
 * Selected language packs (first will be default): es-AR es-ES
>>> Source unpacked in /var/tmp/portage/www-client/firefox-bin-8.0/work
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 06:20:52 UTC
I've been working on this in the overlay. We don't do any fancy locale-selection magic there anymore. Will move mozlinguas.eclass to the tree soon after an RFC.
Comment 8 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-02-04 21:43:16 UTC
Fixed by the addition of mozlinguas.eclass. Thanks!