% LANG=foo emerge --info
Traceback (most recent call last):
File "/usr/bin/emerge", line 51, in <module>
retval = emerge_main()
File "/usr/lib/portage/pym/_emerge/main.py", line 1002, in emerge_main
File "/usr/lib64/python3.4/locale.py", line 592, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
I think this should be non-fatal.
Created attachment 382268 [details, diff]
Don't die when the user has an invalid locale
For some odd reason my LANG="en_US.UTF-8" is invalid when building stages in catalyst. I set LC_ALL=C (I know, bad boy) and it "fixed" it. I am happy to test any patches for this.
Released in portage-2.2.12