hopefully fix some python utf8/ascii yaml parsing issue

This commit is contained in:
ohfp 2022-02-10 14:51:52 +01:00
parent 56946c0aa5
commit acbe3b45ea
2 changed files with 11 additions and 1 deletions

View file

@ -39,7 +39,8 @@ _DEPENDENCIES="wget git xvfb \
python \
libffi-dev \
nodejs-mozilla \
nasm-mozilla"
nasm-mozilla \
locales"
# cargo \
# rustc \
@ -67,6 +68,9 @@ else
apt-get -y install clang-13 libclang-13-dev
fi
# avoid python parsing files as ascii instead of utf8 and complaining
locale-gen en_US.UTF-8
# we need a more recent rust
# …to test if a fix in 1.57 magically fixes aarch64 hanging
curl https://sh.rustup.rs -o rustup.sh

View file

@ -16,6 +16,12 @@ export DEB_BUILD_HARDENING_FORMAT=1
export DEB_BUILD_HARDENING_PIE=1
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH
# avoid python parsing files as ascii instead of utf8 and complaining
export LANG='en_US.UTF-8'
export LANGUAGE='en_US:en'
export LC_ALL='en_US.UTF-8'
# add cargo binary to path
source /root/.cargo/env