-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build with docker, gets some errors #1
Comments
@kylongmu Please run command "ldd /usr/bin/xargs" in your docker environment, and provide the result. |
user@aa3c667d7ce6:~/shared/Nuvoton-OpenWrt-22.03$ ldd /usr/bin/xargs |
What is your host platform for docker? Such as Ubuntu 20.04 @ Virtual-box. |
https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW182022101516122042 |
We cannot duplicate your issue. Please runs below commands to check the GLIBC version and xargs is workable in docker. cczhang@1d6613ab52ce:~/shared/docker_openwrt/Nuvoton-OpenWrt-22.03$ ldd --version cczhang@1d6613ab52ce:~/shared/docker_openwrt/Nuvoton-OpenWrt-22.03$ ls /usr/bin/cat | xargs ls -l Please provide the H/W and S/W detail information of your host machine, such as Intel i5-10400 with Virtual-box@Windows 10. And can you do the same test on another machine? |
12th Gen Intel(R) Core(TM) i9-12900H notebook win11 enterprise
|
Please find the user manual: |
@kylongmu Could you please do the test again. Only do following procedures, and have no any other procedure.
|
Yocto build is ok, this problem is on Nuvoton-OpenWrt-22.03 |
user@aa3c667d7ce6:~/shared/Nuvoton-OpenWrt-22.03$ ./scripts/feeds update -a |
The docker is based on: But I find the GLIBC_2.33 need 20.10 at least, or maybe the apt source do not have the correspond libc version for 20.04. |
@kylongmu We have tested this Ubuntu VMware image on two different machines (both are Windows 10), and everything is OK. The Ubuntu 20.04 has only up to GLIBC 2.31, but related commands do not need the GLIBC 2.33 or GLIBC 2.34. I think if you want to use this Ubuntu VMware image, you can try to upgrade the GLIBC version of Ubuntu 20.04. |
Yes, I upgrade the GLIBC version of Ubuntu 20.04, and the build success. |
Use docker to build openwrt22 get this error:
run join.sh , pull source code of openwrt, after execute "./scripts/feeds install -a".
gets some errors:
xargs: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by xargs)find: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.33' not found (required by find) find: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by find)sed: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.33' not found (required by sed) sed: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by sed)xargs: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.34' not found (required by xargs)
Build yocto is ok!
The text was updated successfully, but these errors were encountered: