Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171216 - sys-apps/portage-2.1.2.2 emerge --info displays LINGUAS twice
Summary: sys-apps/portage-2.1.2.2 emerge --info displays LINGUAS twice
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Lowest trivial
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 04:04 UTC by Arthur Hagen
Modified: 2007-03-17 18:58 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 Arthur Hagen 2007-03-17 04:04:22 UTC
emerge --info generates LINGUAS twice

Reproducible: Always

Steps to Reproduce:
1. emerge --info | grep LINGUAS
Actual Results:  
LINGUAS="en_GB en_US en nb_NO nb no"
USE="3dnow X Xaw3d aac acl acpi alsa audiofile berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups dbus dri dvd eds emboss encode esd fam flac gdbm gif gnome gpm gstreamer gtk hal iconv idn ipv6 isdnlog jpeg lcms libg++ libnotify logrotate mad matroska mbox midi mikmod mmap mmx motif mp3 mpeg ncurses nfs nis nls nntp nptl nptlonly offensive ogg opengl oss pam pcre pdf perl pic png posix ppds pppd python qt4 quicktime readline reflection sdl seamonkey session sndfile spell spl sse ssl tcpd threads tiff timidity truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="ali5451" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LINGUAS="en_GB en_US en nb_NO nb no" USERLAND="GNU" VIDEO_CARDS="radeon"


Expected Results:  
LINGUAS="en_GB en_US en nb_NO nb no"

This only happens if LINGUAS is set to a non-empty string.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 09:00:10 UTC
Actually, this just needs dropping from profiles profiles/info_vars, though I'd personally prefer dropping it from the USE_EXPAND output (there's also LC_ALL and LANG displayed, so it makes sense to keep it in one place)
Comment 2 Zac Medico gentoo-dev 2007-03-17 09:33:26 UTC
We can have it automatically filter any variable that's both in info_vars and USE_EXPAND from the USE flags output.  However, that's misleading because it makes it appear as if none of the linguas_* flags are set when some of them actually are set.  I think it's cleaner if we just accept the redundancy or remove LINGUAS from info_vars.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-17 09:37:35 UTC
(In reply to comment #2)

WONTFIX is just fine w/ me :)
Comment 4 Zac Medico gentoo-dev 2007-03-17 18:58:59 UTC
To clarify, the first LINGUAS is an environment variable and the second one represents USE="linguas_en_GB linguas_en_US linguas_en linguas_nb_NO linguas_nb linguas_no".  They're two different things that are related, but they're not really redundant.  It's just a side-effect from the way that USE_EXPAND maps environment variables into USE flags.