[yocto] building recipe with buildtools, causes sanity error: Your system needs to support the en_US.UTF-8 locale.

Burton, Ross ross.burton at intel.com
Wed Apr 25 05:22:47 PDT 2018


On 25 April 2018 at 13:18, Uwe Geuder <jrswdnan22 at snkmail.com> wrote:
> On Wed, Apr 25, 2018 at 1:48 PM, Burton, Ross <ross.burton at intel.com> wrote:
>> So my hunch is that you've a modern system with glibc 2.27 on the
>> host, so that old buildtools won't work.  Try this buildtools:
>>
>> http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.5_M3/buildtools/
>
> Ah, buildtools come with their own locale.
>
> So my previous message was probably not applicable for users of
> buildtools. Sorry about the noise!

Well, it's more complicated than that.

The old buildtools (including 2.4.2 because we haven't released a
2.4.3 with the fixes yet) did a fairly evil but we hoped safe thing to
save space by using the *host* locales even though the buildtools
ships its own glibc.  This was fine for a few years, until glibc 2.27
changed the locale format.

So now, you're using our glibc which is trying to read the host
locales, and failing.  The new buildtools ship their own locales to
avoid this problem, which is why I suggested trying the 2.5M3
buildtools, and we should get around to releasing 2.4.3 which will
also have this fixed.

Ross



More information about the yocto mailing list