Re: meta-toolchain, gdb-cross-canadian_9.2 fails due to "no usable python" #toolchain

Khem Raj

On Fri, Mar 5, 2021 at 4:01 AM <> wrote:

I have been trying to build meta-toolchain however it fails to compile during gdb-cross-canadian. Follows the relevant output:

| checking for libmpfr... no
| configure: WARNING: MPFR is missing or unusable; some features may be unavailable.
| checking whether to use python... /home/.../workspace/gatesgarth/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-arm/9.2-r0/python
| checking for python... no
| configure: error: no usable python found at /home/.../workspace/gatesgarth/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-arm/9.2-r0/python
| make[1]: *** [Makefile:8866: configure-gdb] Error 1
there will be a file called config.log created in gdb build dir which
will have further information as to why it thing python interpreter is
not usable

My host is Ubuntu 20.04, and I'm using yocto/poky gatesgarth as base. Target core-image-minimal builds without issue, only meta-toolchain fails.
Normally I can get a good idea why something is failing from the logs, but this time I'm really left clueless. Any help would be appreciated.


Join to automatically receive all group messages.