IMX6 yocto image build failed

HI,I’m trying to build yocto project for imx6 processor in linux Ubuntu 18.04.5 LTS.

Followed the sequence of instructions and commands mentioned in below link

Getting errors for some recipes(packages) libxkbfile,libxkbfile,opencv,mozjs and qtbase_git… below is the error message summary

Summary: 5 tasks failed:
Summary: There were 7 ERROR messages shown, returning a non-zero exit code.

opencv error -->| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/medha/Desktop/IMX_BUILD/oe-core/build/../layers/meta-openembedded/meta-oe/recipes-support/opencv/ failed with exit code '1'

Please help me on this, Thanks in advance.

Thank and regards
Narayana Swamy M

Hi @narayanaswamym ,

Welcome to Toradex Community!

Could you please provide your host machine configuration ?
Did you try this solutions ?

Since , qtbase package can take much load on your PC I would suggest you to build it separately and try.

Hi @deven.tx ,

Thank you for your quick response,

My host machine configuration is as follows
Ubuntu 18.04.5 LTS, processor "Intel® Core™ i3-8100 CPU @ 3.60GHz × 4 "
Free Disk space available 60GB.

I tried the solutions available in “Build a Reference Image with Yocto Project/OpenEmbedded | Toradex Developer Center”.
When i build separately for all failed packages some are build successfully except for opencv,mozjs and qt5.

Hi @narayanaswamym ,

It looks like there is limitation on your PC. I would suggest you to, go for more RAM and Disk space. After that again try to build it.


OK, I’ll try and post the status here after upgrading my PC configuration

Thanks. It will be great.


After upgrading my PC configuration all looks good.

Thank you.