Docker SDK requires LC_ALL and LC_CTYPE in some case.

Description

In my case, bitbake does not work at first. If we don't set LC_ALL and LC_CTYPE, bitbake doesn't work. 

-------------------

$ bitbake -s 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.

 

 

 I think it relay on my host PC environment. Because I can see the followings.

========

$ export [...] declare -x LC_COLLATE="ja_JP.UTF-8" declare -x LC_CTYPE="ja_JP.UTF-8" declare -x LC_MESSAGES="ja_JP.UTF-8"

========

When I set my environment to resolved 

export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"

 

Environment

docker.automotivelinux.org/agl/worker-generic  (TAG: 3.99.1 ) [https://download.automotivelinux.org/AGL/snapshots/sdk/docker/docker_agl_worker-generic-3.99.1.tar.xz] Use docker-worker-generator script.  

Activity

Show:

Sebastien Douheret 
September 28, 2018 at 10:03 PM

Cannot reproduce with latest docker image (docker_agl_worker-xds-6.90.0.tar.xz)

Feel free to reopen it if you still encounter this issue. 

Stephane Desneux 
November 24, 2017 at 11:24 AM

Docker container for EE is now based on Debian 9.

, coulld you give it a try and see if you still have issues ?

As SPEC-979 has been solved, the official image 4.99.2 (corresponding to EE.RC2) should land very soon at this location: https://download.automotivelinux.org/AGL/snapshots/sdk/docker/

Meanwhile, you can download the image from here: http://iot.bzh/download/public/2017/XDS/docker/docker_agl_worker-generic-4.99.2.tar.xz

 

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Priority

Created June 27, 2017 at 1:06 PM
Updated October 1, 2018 at 9:44 PM
Resolved September 28, 2018 at 10:03 PM