[OE-core] [PATCH v3] perf: Correct the substitution of python shebangs
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Feb 14 18:09:31 UTC 2020
On Fri, 2020-02-14 at 08:18 -0500, Bruce Ashfield wrote:
> On Thu, Feb 13, 2020 at 10:58 PM <zhe.he at windriver.com> wrote:
> > From: He Zhe <zhe.he at windriver.com>
> >
> > To make the native python3 is always used,
> >
> > - Use sed one-liner instead
> > - Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the
> > following warning.
> >
> > File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
> > _temp = __import__(name, globals(), locals(), ['build_time_vars'],
> > 0)
> > ModuleNotFoundError: No module named '_sysconfigdata'
> >
> > This issue is first reported by Joel Stanley <joel at jms.id.au>
> > The sed one-liner is credited to Anuj Mittal <anuj.mittal at intel.com
> > >
>
> Thanks!
>
> This looks good to me.
I'm not sure how but with this applied we see breaking kernel module
tests:
https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/1555
https://autobuilder.yoctoproject.org/typhoon/#/builders/102/builds/275
https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/1559
(mips/sysvinit, mips/systemd and mips64)
I'll remove this patch from -next and retest see if I can confirm it is
this change somehow.
Cheers,
Richard
More information about the Openembedded-core
mailing list