Change LANG in install-deps.sh to en_US.UTF-8

LANG=C causes pip installation issues in CentOS 7, observed in Kolla container
image build on stable/train and earlier, see [1] for full build log:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 25:
ordinal not in range(128)

[1]: https://zuul.opendev.org/t/openstack/build/45a5a3c3c2a046f6bd1868026e1e7803/log/kolla/build/000_FAILED_bifrost-base.log#8807

Change-Id: Iff11316a0708f5df437efecf95de47bcc4579a09
This commit is contained in:
Michal Nasiadka 2020-08-28 14:24:46 +02:00
parent 5a1197ab4a
commit 807700ce5e

View File

@ -4,7 +4,7 @@ set -xeu
declare -A PKG_MAP
# workaround: for latest bindep to work, it needs to use en_US local
export LANG=c
export LANG=en_US.UTF-8
ENABLE_VENV=${ENABLE_VENV:-true}
if [[ "$ENABLE_VENV" != false ]]; then