From: Peter Korsgaard Date: Sun, 08 Mar 2020 20:58:04 +0100 Subject: [Buildroot] [PATCH 1/4] configs/qemu_arm_vexpress_tz_defconfig: optee needs host-python3 w/ modules In-Reply-To: <20200308183535.1206604-1-romain.naour@smile.fr> (Romain Naour's message of "Sun, 8 Mar 2020 19:35:32 +0100") References: <20200308183535.1206604-1-romain.naour@smile.fr> Message-ID: <87pndmsjoz.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Romain" == Romain Naour writes: > optee-os needs host-python-pycrypto build for python3. The only way we can > force building host-python modules for python3 is to select python3 package > for the target. > Since we want to avoid adding more host-python3- > (host-python-pycrypto host-python-pyelftools), select python3 package > even if it's not used. > This problem will be fixed as soon as python2 is removed. > Fixes: > File "scripts/pem_to_pub_c.py", line 24, in main > from Crypto.PublicKey import RSA > ImportError: No module named 'Crypto' > https://gitlab.com/buildroot.org/buildroot/-/jobs/456818689 > Signed-off-by: Romain Naour > Cc: Etienne Carriere It isn't great, but I also don't see any other quick solutions - Committed, thanks. -- Bye, Peter Korsgaard