[Buildroot] [PATCH 1/5] boot/optee-os: bump version to 3.7.0

Romain Naour romain.naour at smile.fr
Mon Nov 18 09:48:16 UTC 2019


Hello Etienne,

Le 18/11/2019 à 10:36, Etienne Carriere a écrit :
> Hello Romain,
> 
> On Sun, 17 Nov 2019 at 23:23, Romain Naour <romain.naour at smile.fr> wrote:
>>
>> Hi Etienne,
>>
>> Le 29/10/2019 à 15:41, Etienne Carriere a écrit :
>>> Bump OP-TEE OS package version to OP-TEE release 3.7.0.
>>>
>>> This adds host-python-pyelftools to optee-os dependencies
>>>
>>> Signed-off-by: Etienne Carriere <etienne.carriere at linaro.org>
>>> ---
>>
>> There is a build issue with optee-os:
>>
>> make[1]: Entering directory 'output/build/optee-os-3.7.0'
>>   GEN     out/core/include/generated/arm32_sysreg.h
>>   GEN     out/core/include/generated/arm32_sysreg.S
>>   CHK     out/conf.mk
>>   GEN     out/core/ta_pub_key.c
>>   UPD     out/conf.mk
>>   TOUCH   out/core/tee-pageable.bin
>>   GEN     out/include/generated/arm32_user_sysreg.h
>> Traceback (most recent call last):
>>   File "scripts/pem_to_pub_c.py", line 61, in <module>
>>     main()
>>   File "scripts/pem_to_pub_c.py", line 24, in main
>>     from Crypto.PublicKey import RSA
>> ImportError: No module named 'Crypto'
>> mk/subdir.mk:159: recipe for target 'out/core/ta_pub_key.c' failed
>>
>> I would add host-python-pycrypto in the dependencies.
> 
> I'm surprised as the patch adds host-python-pyelftools to
> OPTEE_OS_DEPENDENCIES which already specifies host-python-pycrypto:

Ok

> 
>>> -OPTEE_OS_DEPENDENCIES = host-openssl host-python-pycrypto
>>> +OPTEE_OS_DEPENDENCIES = host-openssl host-python-pycrypto host-python-pyelftools
> 
> Did I miss something?

The issue has been detected by the gitlab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/352841047

Are we sure to use the correct python interpreter ?
Maybe we have to provide the path to output/host/bin/python otherwise it will
use /usr/bin/python ?

Best regards,
Romain


> 
> Regards,
> Etienne
> 
>>
>> Best regards,
>> Romain



More information about the buildroot mailing list