the env lookup is still way more complicated than it needs to be: locale=${LC_ALL:-${LC_CTYPE:-${LANG}}} it is not possible for these variables to be set but not exported unless an ebuild is doing it, and those are broken anyways. the message should also reference an open bug report for people to follow so that this issue is properly fixed. you cant drop warnings like this into places without a referenced bug # otherwise they can easily become outdated but no one knows how to easily determine "can this be punted yet". -mike