Hello Community
I'm trying to build the Yocto full build image of L6.1.22_2.0.0 in Ubuntu 20.04. using the build command : bitbake imx-image-full by following L6.1.22_2.0.0_LINUX_DOCS.
I am getting the bellow build error.
ERROR: Task (/home/user/imx/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc-locale_2.37.bb:do_package) failed with exit code '1'
attaching the complete build logs for your reference.
Please help me in solving this issue.
Thank you
已解决! 转到解答。
Hello @K_Varun
Have you followed up the Yocto User Guide to set up "Essential Yocto Project host packages" on your build host?
Such as:
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential
chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils
iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-
subunit mesa-common-dev zstd liblz4-tool file locales
and sudo locale-gen en_US.UTF-8
Regards
Harvey
Hello @Harvey021
Thank you for your response.
I have followed the Yocto Project documentation and installed all the essential host packages as recommended. For cross-verification, I also ran the sudo commands you provided earlier. However, the error still persists.
Could you please help me further investigate the issue?
Thank you for your assistance.
Best regards,
K Varun
Hi @K_Varun
I've tested the build on my host again, it works.
The build host: 22.04.1-Ubuntu
-b imx-linux-mickledore -m imx-6.1.22-2.0.0.xml
Would suggest you to have a clean build and also check your system source, like the number of cores with the RAMs.
Regards
Harvey
Dear Linux Community,
I am encountering an issue while building the image and need some assistance. Despite trying various approaches, I am still facing the following error during the build process: attaching the complete log-cat for better reference.
error:
ERROR: glibc-locale-2.39+git-r0 do_package: oe_runmake failed
ERROR: glibc-locale-2.39+git-r0 do_package: ExecutionError('/home/user/imx/imx-yocto/build-xwayland/tmp/work/armv8a-poky-linux/glibc-locale/2.39+git/temp/run.oe_runmake.787591', 1, None, None)
ERROR: Logfile of failure stored in: /home/user/imx/imx-yocto/build-xwayland/tmp/work/armv8a-poky-linux/glibc-locale/2.39+git/temp/log.do_package.787591
I am following the steps provided in the READ ME for building the image, which can be found here: https://github.com/nxp-imx/imx-manifest.
Could anyone guide me on how to resolve this issue?
Looking forward to your help.
Best regards,
K Varun
Hello @Harvey021
I’m still facing the glibc-locale error during the Yocto build process.
Here’s what I’ve tried so far:
Unfortunately, the issue persists, and the build is still slow. Could you please suggest additional steps to resolve this? Also, do you have any recommendations on how to improve the build speed?
Thank you!
Best regards,
K Varun
Hi @K_Varun
Have a try to build glibc-locale separately before building any recipes or target.
the build speed mostly depends on the system sources and network bandwidth.
Regards
Harvey
Hello @Harvey021
Tried to build only the glibc-locale separately before initiating the full build. however, the error still persists.
Attaching log- file for reference.
Regards
K Varun