Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459350 - usage of IUSE="linguas_*" breaks detection of unset LINGUAS variable
Summary: usage of IUSE="linguas_*" breaks detection of unset LINGUAS variable
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 459934
  Show dependency tree
 
Reported: 2013-02-26 19:20 UTC by Julian Ospald
Modified: 2013-03-02 04:31 UTC (History)
1 user (show)

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 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.