Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 292578

Summary: LC_ALL - locale can't be set (warning msg), although LC_ALL is not set anymore
Product: Gentoo Linux Reporter: Andreas Bögehold <han_solo>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Bögehold 2009-11-09 20:29:32 UTC
Hi,
after i updated my system yesterday, emerge started to pop up the error messages like:
              
/var/tmp/binpkgs/dev-lang/php-5.2.9-r2/temp/environment: line 94: warning: setlocale: LC_ALL: cannot change locale (de_DE.utf8@euro)

After checking a bit, i found out that the @euro does not work with utf8 and changed it to de_DE.utf8. I also read that LC_ALL should be avoided, and only set LANG=de_DE.utf8. 

I think i one day created the de_DE.utf8@euro thing with localedef but now it seems to be stuck somewhere in the system. I tried updating portage, grep'ed for it in /etc, but i cannot find out where the problem is. 

Does portage store some variables anywhere?






                                                   

Reproducible: Sometimes

Steps to Reproduce:
1.emerge some packages
2.wait for install-script to run
3.some packages will warn about LC_ALL not being changed

Actual Results:  
Warning messages like:
/var/tmp/binpkgs/dev-lang/php-5.2.9-r2/temp/environment: line 94: warning: setlocale: LC_ALL: cannot change locale (de_DE.utf8@euro)
Comment 1 Rafał Mużyło 2009-11-09 23:12:39 UTC
Check your /etc/env.d/
Bugzilla is not a support forum.