I 'm trying to build optee_os 3.8.0 thorugh Yocto on Ubuntu 18.04 LTS build machine.
I see error: ModuleNotFoundError: No module named 'Cryptodome'
Build components' details
optee_os version: 3.8.0
Build machine: Ubuntu 18.04 LTS
Yocto poky verison: 3.0
python3-pycryptodome version: 3.9.4:
meta-openembedded/meta-python/recipes-devtools/python/python3-pycryptodome_3.9.4.bb
I included following lines in my Yocto optee_os.bb recipe to handle dependecies:
inherit deploy autorev-pv python3native
DEPENDS += "python3-pyelftools-native"
DEPENDS += "python3-pycryptodome-native"
##DEPENDS += "python3-pycrypto-native"
Error Log
SIGN out/arm-plat-bcm/ta/avb/023f8f1a-292a-432b-8fc4-de8471358067.ta
| Traceback (most recent call last):
| File "out/arm-plat-bcm/export-ta_arm64/scripts/sign_encrypt.py", line 258, in <module>
| main()
| File "out/arm-plat-bcm/export-ta_arm64/scripts/sign_encrypt.py", line 131, in main
| from Cryptodome.Signature import pss
| ModuleNotFoundError: No module named 'Cryptodome'
| ta/arch/arm/link.mk:100: recipe for target 'out/arm-plat-bcm/ta/avb/023f8f1a-292a-432b-8fc4-de8471358067.ta' failed
| make: *** [out/arm-plat-bcm/ta/avb/023f8f1a-292a-432b-8fc4-de8471358067.ta] Error 1
| make: *** Waiting for unfinished jobs....
| + die oe_runmake failed
| + bbfatal_log oe_runmake failed
I 'm trying to build optee_os 3.8.0 thorugh Yocto on Ubuntu 18.04 LTS build machine.
I see error: ModuleNotFoundError: No module named 'Cryptodome'
Build components' details
optee_os version: 3.8.0
Build machine: Ubuntu 18.04 LTS
Yocto poky verison: 3.0
python3-pycryptodome version: 3.9.4:
meta-openembedded/meta-python/recipes-devtools/python/python3-pycryptodome_3.9.4.bb
I included following lines in my Yocto optee_os.bb recipe to handle dependecies:
inherit deploy autorev-pv python3native
DEPENDS += "python3-pyelftools-native"
DEPENDS += "python3-pycryptodome-native"
##DEPENDS += "python3-pycrypto-native"
Error Log