You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ ./build-all.sh --no-elf32 --cpu hs38 --install-dir ../INSTALL-uclibc-hs38
PASSED run_elf em4_dmips em6_dmips
Checking out GIT trees ...
Downloading external dependencies...
START little-endian uClibc: Thu Nov 21 12:13:47 UTC 2019
Installing in /home/auto_user/arc_gnu/toolchain/../INSTALL-uclibc-hs38
Installing Linux headers ...
finished configuring Linux
finished installing Linux headers
Building binutils ...
configuring...
building...
installing...
generating PDF documentation...
Building gcc-stage1 ...
configuring...
building...
installing...
Installing uClibc headers ...
ERROR: uClibc header install was not successful. Please see
"/home/auto_user/arc_gnu/logs/uclibc-build-2019-11-21-1213.log" for details.
# skip following command on ru20arcgnu1
docker load -i /slowfs/ru20arcgnu1/arcoss_verification/artifacts/ubuntu-16.04-reproduce-uclibc-headers-fail.tar
docker run -it --rm ubuntu-16.04-reproduce-uclibc-headers-fail
cd $HOME
/var/release-testing/toolchain-smoketest-tarball.sh
The text was updated successfully, but these errors were encountered:
abrodkin
changed the title
arc-2019.09-rc1: Linux uClibc toolchain: failed installing uClibc headers
[Docker] uClibc fails on configuration with missing en_US.UTF-8 locale
Nov 22, 2019
uClibc with enabled support of locales uses locale installed on build host and if it's missing (en_US.UTF-8 in particular) then uClibc fails to configure that way:
This happens because on a previous step gen_wc8bit didn't create proper c8tables.h:
# ./gen_wc8bit cat codesets.txt
could not find a UTF8 locale ... please enable en_US.UTF-8
# cat ./extra/locale/c8tables.h
could not find a UTF8 locale ... please enable en_US.UTF-8
That said for successful building of uClibc toolchain one has to have locale files for en_US.UTF-8 generated on build host. For that:
Make sure locale source files and utilities are installed. On Debian-based Linux distros apt-get install locales.
Note typically normally installed desktop and server Linux distros have that locale generated, but in case of containers it might be missing. And Ubuntu containers do miss it so steps described above must be executed.
python3 - glibc requires Python3 and fails on configuration step if it's
not found
locales - For building uClibc it is required to have `en_US.UTF-8`
locale installed on the build host (otherwise build fails, for details
see
#207)
Host: ubuntu:16.04 and ubuntu:18.04
See uclibc-build-2019-11-21-1213.log.txt
Reporduce:
The text was updated successfully, but these errors were encountered: