Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Hello @eLinux Lead 🐧 ,
I have some problem related to building my yocto image
I’m working on a Yocto build for the RZ platform and encountered an error during the compilation of `binutils-cross_debian.bb`. Here’s the relevant error message:
| ERROR: Execution of '/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/tmp/work/x86_64-linux/lib32-binutils-cross-arm/2.31.1-r0/temp/run.do_compile.788774' failed with exit code 1
ERROR: Task (virtual:multilib:lib32:/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils-cross_debian.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 957 tasks of which 933 didn't need to be rerun and 3 failed.
Summary: 3 tasks failed:
virtual:native:/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils_debian.bb:do_compile
/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils-cross_debian.bb:do_compile
virtual:multilib:lib32:/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils-cross_debian.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
while running bitbake core-image-weston
Would you be able to help me diagnose this issue? Let me know if you need more logs or details.
My first suspicion would be the version of Linux you are using to build.
If you are using the meta-renesas that is only supported on the Dunfell release of Yocto.
1. What version of Poky (the main Yocto release) are you using? This is just to check everything matches
2. What version of Linux (distribution and release) of Linux are you using to build?
I recently updated it,
Will let you know
1. yocto-3.1.31(dunfell)
2. ubuntu 24.04
These are incompatible ☹️
You will need to run an older version of Ubuntu.
I can’t remember the supported versions offhand, but you should be getting a warning and a list of supported distributions when you run BitBake
yep,
it is last compatible with 22.04
hmmm
thought i could ignore the warning
never thought it would be this serious
Unfortunately not
I use docker containers to get around this issue
right!,
Will try it again over a docker container and let you knwo
Check out CROPS for Yocto containers
https://github.com/crops/poky-container
Is it this one?
CONTRIBUTE TO THIS THREAD