commit b80a0b9cfc4b9399a4ed6784e9f4e2ca348f3024 Author: Michal Nasiadka Date: Fri Aug 28 14:24:46 2020 +0200 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 (cherry picked from commit 807700ce5e16026b9966442b270ba483ba073e2c) diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index cdfa94a..482d2f4 100644 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -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