Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716606 - www-client/firefox-75.0 upgrade switches to en_US despite single localized language in USE which lacks and requires reinstall from firefox preferences in order to work
Summary: www-client/firefox-75.0 upgrade switches to en_US despite single localized la...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-07 19:30 UTC by CaptainBlood
Modified: 2020-04-11 13:13 UTC (History)
1 user (show)

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


Attachments
ebuild log (www-client:firefox-75.0:20200406-235558.log.xz,602.86 KB, application/x-xz)
2020-04-07 19:41 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2020-04-07 19:30:37 UTC
Installed versions:  75.0^td(07:45:08 07/04/2020)(clang custom-cflags jack lto pgo startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland -bindist -custom-optimization -debug -eme-free -geckodriver -gmp-autoupdate -hardened -hwaccel -pulseaudio -screenshot -selinux -test -wifi CPU_FLAGS_ARM="-neon" CPU_FLAGS_X86="avx2" L10N="fr -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW")
firefox-75 upgrade defaulting to en-US.
I had to reinstall fr via preferences.

Working fine here, though.



Reproducible: Always
Comment 1 CaptainBlood 2020-04-07 19:41:01 UTC
Created attachment 631200 [details]
ebuild log

emerge --info firefox
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.29-r7, 5.6.2-gentoo-classic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.6.2-gentoo-classic-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-gentoo-2.6
KiB Mem:     3937232 total,    750944 free
KiB Swap:    8048528 total,   7922380 free

Timestamp of repository gentoo: Tue, 07 Apr 2020 15:45:01 +0000
Head commit of repository gentoo: e28b02899c01823dbec2d41261a1b532f5077f65
Head commit of repository smoverlay: 68060db49247f6975f670b9529c653d6b8dfd87c

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake  -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -mtune=skylake  -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize    "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 		--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y 	--autounmask-write y 			--misspell-suggestions n 			--noconfmem 		--nospinner   			--tree 			--with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake -mtune=skylake  -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=skylake -mtune=skylake  -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.evowise.com/gentoo/ http://mirror.dkm.cz/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.mirror.web4u.cz/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="fr_FR.utf8"
LDFLAGS="  -Wl,-O1       -Wl,-fuse-ld=bfd  -Wl,--enable-new-dtags   -Wl,-z,now  -Wl,-z,now -fno-plt -march=skylake -mtune=skylake  -O2             -pipe -ftree-loop-vectorize -ftree-slp-vectorize "
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 asm minimal split-usr" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" PHP_TARGETS="php7-4" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

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

www-client/firefox-75.0::gentoo was built with the following:
USE="-bindist clang custom-cflags -custom-optimization -debug -eme-free -geckodriver -gmp-autoupdate -hardened -hwaccel jack lto pgo -pulseaudio -screenshot (-selinux) startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -test wayland -wifi" ABI_X86="(64)" CPU_FLAGS_X86="avx2" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW"
CFLAGS="-march=skylake -mtune=skylake -pipe -ftree-slp-vectorize"
CXXFLAGS="-march=skylake -mtune=skylake -pipe -ftree-slp-vectorize"
FEATURES="multilib-strict sandbox binpkg-logs merge-sync network-sandbox unmerge-orphans ebuild-locks binpkg-dostrip userpriv unmerge-logs qa-unresolved-soname-deps ipc-sandbox sfperms parallel-fetch usersandbox userfetch assume-digests news split-elog fixlafiles binpkg-docompress usersync unknown-features-warn protect-owned config-protect-if-modified strict distlocks preserve-libs pid-sandbox"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,now -Wl,-z,now -fno-plt -march=skylake -mtune=skylake -pipe -ftree-slp-vectorize -Wl,-rpath=/usr/lib64/firefox,--enable-new-dtags -Wl,--compress-debug-sections=zlib"
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-04-09 14:57:41 UTC
Please describe the problem in details.

What are you doing?

What are you expecting?

What is the actual result?
Comment 3 CaptainBlood 2020-04-11 03:28:06 UTC
After upgrading to 75.0, the browser works in english, not in localized langage as expected.
Sorry to say but I don't understand what's unclear in original post.

Still I tried to reproduce from a backuped binary package, but issue didn't raise again.

Side note: For that test I initially rolled back to firefox-72.0.2 builded as:

Installed versions:  72.0.2^td(07:18:56 21/01/2020)(custom-cflags jack lto pgo startup-notification system-av1 system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp wayland -bindist -clang -custom-optimization -debug -eme-free -geckodriver -gmp-autoupdate -hardened -hwaccel -pulseaudio -screenshot -selinux -test -wifi CPU_FLAGS_ARM="-neon" CPU_FLAGS_X86="avx2" L10N="fr -ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW"

which as USE="-clang lto pgo" doesn't fit nicely with https://bugs.gentoo.org/709654. Which nobody seemed to care about despite reported.

Let's keep both things the way they are for now.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-04-11 13:13:26 UTC
Sorry, I still don't follow.

I installed firefox-68.6.1 with L10N for DE.
I upgraded to firefox-74.0-r1 and moved to firefox-75.0. Localization kept working.

Note: Between firefox-73 and 74-r1 there was a problem which got fixed in 74.0-r1.

Given that we usually see bug reports regarding non-working localization very soon and we haven't received any other bug like yours yet I tend to assume that it's not a general problem. Maybe you hit the problem I mentioned above which caused your profile to change language and now it looks like firefox-75.0 isn't working but all you had to do is change language manually.

Note: Localization in firefox is complicated because there are multiple ways to set it up. You can tell firefox to use and stick to localization set during profile creation in which case firefox will never change language. I.e. even when you change L10N USE_EXPAND for example, your existing profile won't update to new selected language. However, if you removed previous set language, your profile will fall back to default language which is always EN.
But you can also tell firefox to follow environment in which case firefox will always check current set language and will try to set matching language in firefox on every start (which would respected changed L10N USE_EXPANDS assuming you also change display language for your user)...