diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-16 12:08:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-19 12:21:22 +0000 |
commit | f09d4637588cedaed86349f78f1c7d6e9a2495d5 (patch) | |
tree | 0427dc89d204632add18d3d07eb1dca73d3056e9 /meta | |
parent | 58722df9e1a9d8e7557f6fb857674ab1c0e9851a (diff) | |
download | poky-f09d4637588cedaed86349f78f1c7d6e9a2495d5.tar.gz |
glib-2.0: ensure GI_DATA_ENABLED is set
With python 3.12 some of the glib ptests started failing. Inspection
revealed that they fail because all tests in some glib's test suites are skipped;
python 3.12's unittest module deems "no tests in a test suite were executed"
a failure (and I tend to agree).
Why are all the tests skipped? Because python dbus module is missing from
the image, and it's missing because it's pulled in by dbusmock, which
in turn is missing because it is pulled in by glib recipe subject to
GI_DATA_ENABLED, and that variable is not global but defined in a g-i-data
class that glib recipe did not include.
So needed dependencies were simply always excluded regardless of g-i settings,
until now.
(From OE-Core rev: c9010feb8e4862f5c0dfde33ba73f3e7cc35b790)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index ae6fc51992..5a57549d85 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -28,7 +28,7 @@ PACKAGES += "${PN}-codegen ${PN}-utils" | |||
28 | 28 | ||
29 | LEAD_SONAME = "libglib-2.0.*" | 29 | LEAD_SONAME = "libglib-2.0.*" |
30 | 30 | ||
31 | inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages | 31 | inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages gobject-introspection-data |
32 | 32 | ||
33 | GTKDOC_MESON_OPTION = "gtk_doc" | 33 | GTKDOC_MESON_OPTION = "gtk_doc" |
34 | 34 | ||