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

Uwe Geuder jrswdnan22 at snkmail.com
Wed Apr 25 03:27:13 PDT 2018


Correcting myself...

On Wed, Apr 25, 2018 at 10:41 AM, Uwe Geuder <jrswdnan22 at snkmail.com> wrote:
[...]
>
> Bitbake uses Python. To make things more confusing the locales in Python
> are not necessarily named the same way as in your underlying distro and
> there can be aliases.
>
> In the end this code needs to run without returning an error
>
> $ python
> >>> import locale
> >>> locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
> 'en_US.UTF-8'
>

The command should have been python3.

Should not make a difference here, but that's what we have said before...

Regards,

Uwe Geuder
Neuro Event Labs Oy
Tampere, Finland
uwe.gexder at neuroeventlabs.com (Bot check: fix one obvious typo)



More information about the yocto mailing list