qtbase fails to build in DEY for the ConnectCore8MN Dev Kit

I’m attempting to build the “dey-image-qt” Digi Embedded Yocto image for the ConnectCore 8M Dev Kit

Every recipe builds successfully except for qtbase.

I’m running Ubuntu 16.04 on my host (4G RAM / 4 cores)

/usr/local/dey-3.0/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

I’ve tried cleaning, deleting the tmp and sstate-cache directories, running just bitbake qtbase and syncing the repo again.

Any ideas how to fix this?

You need at least 8Gb of RAM to build Yocto and QT is the heaviest package to build.
Please see system requirements here:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc8mnano/yocto_t_set-up-workstation

Thanks for the reply!

I was able to add a 4G swap file and it then completed successfully although it was very slow.

I’ll get a host with 8G.