MACHINE ??= 'imx8mp-lpddr4-evk'
DISTRO ?= 'fsl-imx-xwayland'
16 Gb RAM
Hello everyone,
I’ve been trying to build imx-image-full for quite some time now, but I keep encountering the same error during the build process. The issue seems to occur specifically when compiling the qtbase module in the Yocto build. The error message I’m seeing is:
ninja: build stopped: subcommand failed
ERROR: Task (/home/yulyuri/yoc/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_install_ptest_base) failed with exit code '1'
I’ve tried multiple solutions found on other forum posts, but they don’t seem to resolve the issue. Some of the steps I’ve taken include:
Running bitbake -c clean qtbase and then rebuilding the qtbase module.
Trying both Ubuntu 22.04 and 24.04.02 as the host system for building (same issue on both).
The issue is the same whether I’m building on my laptop or a different system.
At this point, I’m quite confused because the error persists despite these attempts. Could this be a RAM issue? I’ve heard some users have experienced build failures due to insufficient memory, especially in larger builds like this one. If anyone has encountered a similar issue or has suggestions on how to debug this further, I would greatly appreciate your help!!
Thanks in advance for any insights!
Solved! Go to Solution.
Hi @yulyur1
This issue is likely due to the insufficient RAM.
You can try to increase RAM or reduce the number of parallel tasks to lower RAM usage, which can be set in local.conf.
Example:
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"
Regards
Harvey
Hi @yulyur1
This issue is likely due to the insufficient RAM.
You can try to increase RAM or reduce the number of parallel tasks to lower RAM usage, which can be set in local.conf.
Example:
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j 4"
Regards
Harvey