Re: [OE-core] [PATCH 46/48] python3: use the standard shell version of python3-config

2022-11-09 Thread Alexander Kanavin
I've sent a couple fixes to meta-oe, and v2 of the patchset here. Particularly, "python3: correctly adjust include paths in sysconfigdata" is important, as somehow setuptools update made it to master and ppl will start seeing these: https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/

Re: [OE-core] [PATCH 46/48] python3: use the standard shell version of python3-config

2022-11-09 Thread Alexander Kanavin
On Tue, 8 Nov 2022 at 23:59, Richard Purdie wrote: > This made me wonder if we shouldn't have a better way of handling this. > I was wondering if we should have a sysroot_stage_file function (like > sysroot_stage_dir) and then we could do something like: > > sysroot_stage_all:append() { >

Re: [OE-core] [PATCH 46/48] python3: use the standard shell version of python3-config

2022-11-09 Thread Alexander Kanavin
Yes, I got these to fail: /srv/work/alex/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb:do_install /srv/work/alex/meta-openembedded/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb:do_install /srv/work/alex/meta-openembedded/meta-networking/recipes-c

Re: [OE-core] [PATCH 46/48] python3: use the standard shell version of python3-config

2022-11-08 Thread Khem Raj
I am seeing a bunch of failures perhaps related but not sure https://errors.yoctoproject.org/Errors/Build/154610/ On Tue, Nov 8, 2022 at 2:59 PM Richard Purdie wrote: > > On Mon, 2022-11-07 at 15:55 +0100, Alexander Kanavin wrote: > > > > +SYSROOT_PREPROCESS_FUNCS:append:class-target = " > > pr

Re: [OE-core] [PATCH 46/48] python3: use the standard shell version of python3-config

2022-11-08 Thread Richard Purdie
On Mon, 2022-11-07 at 15:55 +0100, Alexander Kanavin wrote: > > +SYSROOT_PREPROCESS_FUNCS:append:class-target = " > provide_target_config_script" > +SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " > provide_target_config_script" > + > +provide_target_config_script() { > +install -d

[OE-core] [PATCH 46/48] python3: use the standard shell version of python3-config

2022-11-07 Thread Alexander Kanavin
There is really no reason why we can't: it only needs to be available in two versions (native/target), and the correct one can be picked via PATH priority order. This eliminates two un-upstreamable patches, one of which relies on soon to be removed distutils. Signed-off-by: Alexander Kanavin ---