Wind River Support Network

HomeDefectsLIN1018-1355
Not to be fixed

LIN1018-1355 : bitbake.conf: change localedir

Created: May 23, 2018    Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: unknown
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Userspace

Description

localedir is set to "${libdir}/locale". This would result 
in locale database installed in '/usr/lib64/locale' in some multilib case. 
For example, if we build out a multilib x86-64 self-hosted image and we try 
 to build projects on this host, things broke and the following error appears. 
     
      Please use a locale setting which supports utf-8. 
      Python can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work. 
     
    This is because '/usr/lib/locale' is the default one. And actually the 
    nativesdk-glibc is now set to use '/usr/lib/locale'. 
Live chat
Online