yoctosystem-requirementsmeta-raspberrypi

yocto - local build stuck on running do_compile tasks for two library


I am trying to build a core-image-minimal image raspberry pi 4 target machine.

For the setup project;

So I do have basic setup for raspberrypi but while bitbake on my linux laptop, the progress is being stuck on these two do_compile task in below image.

enter image description here

I know it should suppose to take longer when you use local laptop. But I did run this job yesterday, and it was still stuck on this two tasks after running 14 hours, so I had cancelled. But now again it stuck on this two task, so I wonder if something is wrong, or I am missing something.

My linux laptop system information:

Do you have any suggestions, what might be wrong?


Solution

  • I have installed Ubuntu 18.04 LTS onto my laptop, it has able to run this do_compile() tasks and build the entire image successfully.

    I think Ubuntu 20.04 is not supported entirely, even thought the Yocto documentation says that is a supported Linux distribution. Furthermore, I think there is some not compitable packages somehow in my system which probably haven't tested with yocto community.

    enter image description here