Summary: | app-misc/ca-certificates-20150426.3.20 fails to build in non-UTF8 locales: UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 5: ordinal not in range(128) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Xavier Miller (RETIRED) <xaviermiller> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alunduil, carlphilippreh, fuzzyray, tdalman, xmw |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=548374 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Xavier Miller (RETIRED)
2015-09-26 19:29:48 UTC
Created attachment 412998 [details]
build log
you can set your locale to a proper UTF8 based one to workaround the issue Fixed by re-setting the locale through "eselect locale". emerge --info | grep LANG LANG="fr_BE.utf8" where it was not set before (In reply to Xavier Miller from comment #3) > Fixed by re-setting the locale through "eselect locale". Thanks, this fixed the issue for me. (In reply to SpanKY from comment #2) > you can set your locale to a proper UTF8 based one to workaround the issue And how would I do that on uclibc accordingly, since I am facing this on a uclibc system? $LANG doesn't seem to have any effect and <eselect locale list> does not yield any locale (which does not come at any surprise). Confirming that I'm also receiving this in a chroot and that the workaround of 'eselect locale set en_US.utf8' works. However there is another bug/message received when setting locale to this: /usr/share/eselect/libs/config.bash: line 62: local: `# LANG=': not a valid identifier This bug is biting in a catalyst run it looks, and I don't know of a way to set the locale via catalyst while it's doing stage runs. Also seeing this with paludis which disables locales for builds. should be fixed by: http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751d0f79973aa5c2918b386e814aa3eda17df27b tested LANG=C & LANG=en_US.UTF8 & py2.7 & py3.4 |