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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

3,147件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,306件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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 件の賞賛
返信

1,306件の閲覧回数
weidongzhou
Contributor I

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

0 件の賞賛
返信