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

Bug 459350

Summary: usage of IUSE="linguas_*" breaks detection of unset LINGUAS variable
Product: Portage Development Reporter: Julian Ospald <hasufell>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: leio
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 459934    

Description Julian Ospald 2013-02-26 19:20:09 UTC
gettext convention is:
a) unset LINGUAS => install all languages
b) empty LINGUAS => install none

The problem is, when we have any linguas_* flag in IUSE (e.g. when additional dependencies are needed), then portage will always set LINGUAS variable. In case none is enabled (which could be a) or b) ), this will result in:

LINGUAS=""

thus possibly overwriting the users choice of an _unset_ LINGUAS.

This behavior is not present when IUSE does not contain any linguas_*.
Comment 2 Zac Medico gentoo-dev 2013-03-02 04:31:03 UTC
This is fixed in 2.1.11.53 and 2.2.0_alpha164.