All of lore.kernel.org
 help / color / mirror / Atom feed
* building recipe with buildtools, causes sanity error: Your system needs to support the en_US.UTF-8 locale.
@ 2018-04-24 18:04 John Smith
  2018-04-25  7:41 ` Uwe Geuder
  2018-04-25 10:48 ` Burton, Ross
  0 siblings, 2 replies; 6+ messages in thread
From: John Smith @ 2018-04-24 18:04 UTC (permalink / raw)
  To: yocto

bitbake stops with this error message: "Your system needs to support the en_US.UTF-8 locale."

export LC_ALL=en_US.UTF-8 has no effect. Do you know how to fix that error?

What I ve done:
- installed buildtools from http://downloads.yoctoproject.org/releases/yocto/yocto-2.4.2/buildtools/
  under /opt/poky/2.4.2

> cd poky
> . oe-init-build-env
> . /opt/poky/2.4.2/environment-setup-x86_64-pokysdk-linux
> bitbake <ANY RECIPE>



https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/classes/sanity.bbclass
def sanity_check_locale(d):
    """
    Currently bitbake switches locale to en_US.UTF-8 so check that this locale actually exists.
    """
    import locale
    try:
        locale.setlocale(locale.LC_ALL, "en_US.UTF-8")
    except locale.Error:
        raise_sanity_error("Your system needs to support the en_US.UTF-8 locale.", d)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-25 12:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-24 18:04 building recipe with buildtools, causes sanity error: Your system needs to support the en_US.UTF-8 locale John Smith
2018-04-25  7:41 ` Uwe Geuder
2018-04-25 10:27   ` Uwe Geuder
2018-04-25 10:48 ` Burton, Ross
2018-04-25 12:18   ` Uwe Geuder
2018-04-25 12:22     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.