Summary: | sys-apps/portage: too sensitive to LC_ALL and LANG, clear user environment before builds | ||
---|---|---|---|
Product: | Portage Development | Reporter: | DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | genbug, truedfx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=468062 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
DEMAINE Benoît-Pierre, aka DoubleHP
2010-07-04 15:55:16 UTC
I reopened #326205; that's a bug in geda. All packages should ideally build with all valid locale settings. As for this bug, completely clearing the environment is not generally the correct thing to do, but re-assinging anyway in case this is easily implementable as a configurable option. Same issue here: * Updating shared mime info database ... /usr/share/mime/packages/libgeda.xml:6: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE9 0x6D 0x61 0x20 <comment xml:lang="fr">Schéma de circuit gEDA</comment> ^ Failed to parse '//usr/share/mime/packages/libgeda.xml' grep LINGUAS /etc/make.conf LINGUAS="en fr en_GB fr_FR" BTW then accented character shows as a back-to-front N in xterm window. (In reply to comment #2) > * Updating shared mime info database ... > /usr/share/mime/packages/libgeda.xml:6: parser error : Input is not proper > UTF-8, indicate encoding ! You'd probably be more interested in bug 326205 (which refers to sci-electronics/geda), since the current bug that we're posting on (bug 326887) is a more general complaint about sys-apps/portage. i think we've committed to not clearing user's locale preferences. see also the discussions on the gentoo-dev mailing list wrt LC_MESSAGES. |