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

Bug 252802

Summary: sys-libs/glibc: incomplete env sanitising
Product: Gentoo Linux Reporter: Harald van Dijk (RETIRED) <truedfx>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: gokdenizk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: glibc-2.9-build.log
emerge --info

Description Harald van Dijk (RETIRED) gentoo-dev 2008-12-28 11:43:44 UTC
From glibc/files/eblits/common.eblit:

setup_env() {
	# These should not be set, else the zoneinfo do not always get installed ...
	unset LANGUAGE LANG LC_ALL

This doesn't do anything about the other LC_* variables. It should either LC_ALL to C, or unset everything.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2008-12-29 18:13:08 UTC
Created attachment 176784 [details]
glibc-2.9-build.log

Well, then you get to fix locale errors :) I've started building things with Turkish LC_CTYPE myself now precisely to catch these kinds of errors; I couldn't update glibc. Notice how the error message refers to ?so8859-1.os rather than iso8859-1.os?
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2008-12-29 18:14:12 UTC
And reopening for that reason.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2008-12-29 18:16:55 UTC
Created attachment 176785 [details]
emerge --info

Most relevant bit from emerge --info: LC_CTYPE="tr_TR.UTF-8".
Comment 5 SpanKY gentoo-dev 2008-12-29 21:24:37 UTC
it's in there now ...

$ grep specs Manifest
DIST gcc-4.3.2-default-specs-0.9.1.tar.bz2 1070 RMD160 ac0039916f8e7406a37e2984deceec6ded2b6a9f SHA1 5f4e3b4ccfe86ecaa0175d4983c938656a8695b8 SHA256 67f513ef2bf102e82c8781ea58fec6904462fefde07c374281e9bdd77c827ceb
Comment 6 SpanKY gentoo-dev 2008-12-29 21:33:15 UTC
erm, wrong bug
Comment 8 SpanKY gentoo-dev 2009-02-11 01:17:07 UTC
*** Bug 258429 has been marked as a duplicate of this bug. ***