Error when run bitbake

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when run bitbake

947 Views
zuriel921
Contributor II

when i run bitbake imx-image-core,this error happened,how to solve it,thx

 

ERROR: optee-os-3.17.0.imx-r0 do_compile: oe_runmake failed
ERROR: optee-os-3.17.0.imx-r0 do_compile: ExecutionError('/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/temp/run.do_compile.12111', 1, None, None)
ERROR: Logfile of failure stored in: /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/temp/log.do_compile.12111

ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Task (/home/linux/Documents/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-security/optee-imx/optee-os_3.17.0.imx.bb:do_compile) failed with exit code '1'

 

Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 PLATFORM=imx-mx8mpevk CROSS_COMPILE=aarch64-poky-linux- CROSS_COMPILE64=aarch64-poky-linux- CFG_TEE_TA_LOG_LEVEL=0 CFG_TEE_CORE_LOG_LEVEL=0 OPENSSL_MODULES=/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/recipe-sysroot-native/usr/lib/ossl-modules -C /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/git O=/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build all
| make: Entering directory '/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/git'
| GEN /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/include/generated/arm32_sysreg.h
| GEN /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/include/generated/arm32_sysreg.S
| GEN /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/include/generated/arm32_gicv3_sysreg.h
| GEN /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/include/generated/arm32_gicv3_sysreg.S
| CHK /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/conf.mk
| GEN /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/ta_pub_key.c
| UPD /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/conf.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/subdir.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/compile.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/gcc.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/cc-option.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/cleandirs.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/clang.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/link.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/ta_dev_kit.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/mk/link_shlib.mk
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/include/string.h
| Traceback (most recent call last):
| File "/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/git/scripts/pem_to_pub_c.py", line 71, in <module>
| main()
| File "/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/git/scripts/pem_to_pub_c.py", line 24, in main
| from cryptography.hazmat.backends import default_backend
| ModuleNotFoundError: No module named 'cryptography'
| mk/subdir.mk:181: recipe for target '/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/ta_pub_key.c' failed
| make: *** [/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/core/ta_pub_key.c] Error 1
| make: *** Waiting for unfinished jobs....
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/include/sys/cdefs.h
| INSTALL /home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/build/export-ta_arm64/include/stdlib.h
| make: Leaving directory '/home/linux/Documents/imx-yocto-bsp/build/tmp/work/imx8mp_ddr4_evk-poky-linux/optee-os/3.17.0.imx-r0/git'

 

 

 

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

427 Views
Panchiman
Contributor I

Have you solved it?

0 Kudos
Reply

937 Views
zuriel921
Contributor II

can anybody help please

0 Kudos
Reply