]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
glib-2.0: backport a switch from distutils to packaging in codegen
authorMartin Jansa <martin.jansa@gmail.com>
Sun, 25 Feb 2024 09:37:26 +0000 (10:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Feb 2024 14:30:02 +0000 (14:30 +0000)
commit258cb46f93af3249fb554a679af6222174bd2e95
treef1cf8cef70885b3f8d325b6f21c58fc3ed5355eb
parent67eed460c0bf18d23f2c9180f195417895acfd55
glib-2.0: backport a switch from distutils to packaging in codegen

* 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 <module>
    from codegen import codegen_main
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import distutils.version
ModuleNotFoundError: No module named 'distutils'
CMake Error at CMakeLists.txt:90 (message):
  Error in generating code for connman interface using gdbus-codegen

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/0001-Switch-from-the-deprecated-distutils-module-to-the-p.patch [new file with mode: 0644]
meta/recipes-core/glib-2.0/glib-2.0_2.78.3.bb
meta/recipes-core/glib-2.0/glib.inc