"Can not allocate memory error" when build L3.10.53 Freescale Yocto BSP release

cancel
Showing results for 
Search instead for 
Did you mean: 

"Can not allocate memory error" when build L3.10.53 Freescale Yocto BSP release

2,358 Views
weidongzhou
Contributor I

I strictly setup my ubuntu 12.04 host environment according freescale yocto bsp user guide. But I met an error when I trying to build.

$ bitbake fsl-image-gui

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-qt/meta/meta-toolchain-qte.bb

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-qt/meta/meta-toolchain-qt.bb

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-qt/images/qt4e-demo-image.bb

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-rt/images/core-image-rt.bb

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-core/images/core-image-minimal-initramfs.bb

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-core/images/core-image-minimal.bb

NOTE: Error during finalise of /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-core/images/core-image-minimal-mtdutils.bb

ERROR: ExpansionError during parsing /media/hdd2/fsl-release-bsp/sources/poky/meta/recipes-qt/meta/meta-toolchain-qte.bb: Failure expanding variable toolchain_create_sdk_version: ExpansionError: Failure expanding variable METADATA_REVISION, expression was ${@base_detect_revision(d)} which triggered exception OSError: [Errno 12] Cannot allocate memory

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

$

Any clue for this issue?

Labels (1)
0 Kudos
2 Replies

517 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi weidong

reason may be insufficient computer memory, 120GB

free space is recommended by Freescale_Yocto_Project_User's_Guide.pdf

sect.3 Host Setup. For build errors one can also look at

http://www.yoctoproject.org/bulk/devday-eu-2014/ypdd14-blanc-errors.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

517 Views
weidongzhou
Contributor I

Thanks for your answer. I try a bitbake cleanall to target and then failure gone. Weird

0 Kudos