Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Martin Jansa
On Thu, Mar 7, 2024 at 4:48 PM Peter Kjellerstedt wrote: > > We have a lot of recipes that use gdbus-codegen and are now facing this > problem. To solve it, I have added a gdbus-codegen.bbclass that does: > > DEPENDS:append = " glib-2.0-native python3-packaging-native" > > inherit python3native >

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Alexander Kanavin > Sent: den 7 mars 2024 17:11 > To: Peter Kjellerstedt > Cc: Khem Raj ; Martin Jansa ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core]

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Alexander Kanavin
On Thu, 7 Mar 2024 at 16:49, Peter Kjellerstedt wrote: > We have a lot of recipes that use gdbus-codegen and are now facing this > problem. To solve it, I have added a gdbus-codegen.bbclass that does: > > DEPENDS:append = " glib-2.0-native python3-packaging-native" > > inherit python3native > >

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Khem Raj > Sent: den 28 februari 2024 19:30 > To: Martin Jansa > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] glib-2.0: backport a switch from

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-28 Thread Khem Raj
some more failures in meta-openembedded layers ( meta-xfce) https://errors.yoctoproject.org/Errors/Details/754995/ https://errors.yoctoproject.org/Errors/Details/754996/ On Tue, Feb 27, 2024 at 3:39 AM Martin Jansa wrote: > > Yes, it was reproducible on my host gentoo after removing distutils >

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-27 Thread Martin Jansa
Yes, it was reproducible on my host gentoo after removing distutils with dev-python/setuptools (and for updated glib-2.0-native after removing dev-python/packaging) Fixes sent: https://patchwork.yoctoproject.org/project/oe/patch/20240227113711.834767-1-martin.ja...@gmail.com/

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-26 Thread Martin Jansa
Thanks Khem, will try to reproduce tomorrow. Maybe these don't use CODEGEN_PYTHON_RDEPENDS. With this patch backported to kirkstone I've seen glib-2.0-native failing with the same issue as python3native there doesn't include python3-packaging. Maybe these recipes aren't using python3native and

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-26 Thread Khem Raj
I am seeing some build failures which seems to be related to this patch https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3657/steps/15/logs/stdio | File

[OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-25 Thread Martin Jansa
* to fix build on hosts with python-3.12, now it fails with: Traceback (most recent call last): File "recipe-sysroot-native/usr/bin/gdbus-codegen", line 53, in from codegen import codegen_main File "recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in from