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.
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)
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.
(In reply to comment #2) WONTFIX is just fine w/ me :)
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.