diff options
author | Andreas Fenkart <extern-afe@mission-embedded.com> | 2025-04-04 17:07:48 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-04-19 14:36:04 -0700 |
commit | e81fefb0efb753d25f7c2716a52a73971f4b904b (patch) | |
tree | 6fccd8255bea1ba665fedc477d90106ffdf6a3ee /meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch | |
parent | ed6a77501a8f9d94e448959b415ec908003c6389 (diff) | |
download | meta-openembedded-e81fefb0efb753d25f7c2716a52a73971f4b904b.tar.gz |
networkmanager: enable vala bindings if gobject introspection is enabled
when opting out from the DISTRO_FEATURE gobject-introspection-date, the
build fails with error:
../NetworkManager-1.50.0/meson.build:849:4: ERROR: Assert failed: vala api require GObject introspection. Use -Dvapi=false to disable it
The gobject-introspection-data feature, while ultimately added to
DISTRO_FEATURES via DISTRO_FEATURE_BACKFILL, isn't available during the
vala.bbclass inheritance check. This also excludes derived variables
e.g. GI_DATA_ENABLED.
To properly disable a DISTRO_FEATURE_BACKFILL feature, it must be
included in DISTRO_FEATURE_BACKFILL_CONSIDERED, a variable that is
available during the parsing phase.
Similar situations have been resolved in:
[openembedded-core:31daea70b18b2b2266bf94063b655aaf142a6166]
librsvg: Only enable the Vala bindings if GObject Introspection is enabled
PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}"
-- and --
[meta-openembedded:d89fc6ffbdf8f947643def51b804052bb5e7ac97
libpeas: add recipe for 2.0.5
PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection', 'vala', '', d)}"
Signed-off: Andreas Fenkart <afenkart@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch')
0 files changed, 0 insertions, 0 deletions