I see... So you say the host distro must be as minimum at Ubuntu 18.10?

Z


On Wed, Feb 26, 2020 at 6:08 AM Anuj Mittal <anuj.mittal@intel.com> wrote:


On 21-Feb-20 05:16 PM, Iñigo Vicente Waliño wrote:
> Hi,
>
> I'm trying to build yocto project ZEUS for imx8m mini.
>
> I have this configuration EXTRA_IMAGE_FEATURES= “ ssh-server-openssh
> tools-sdk tools-debug dbg-pkgs dev-pkgs doc-pkgs package-management
> tools-profile” in my build/conf/local.con file.
>
> But it reports error when executing *bitbake core-image-base*.
> Host environment: Ubuntu 18.04.3 LTS
>
> Can any one explain how to resolve this?

You are probably trying to use an old kernel that doesn't have python3
support for perf:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/tools/perf/Makefile.config?h=linux-4.19.y&id=66dfdff03d196e51322c6a85c0d8db8bb2bdd655

I guess one way to resolve this would be to disable scripting in perf if
you don't want it.

Thanks,

Anuj