On Thu, May 18, 2023 at 11:09 AM Martin Jansa <martin.ja...@gmail.com> wrote:
>
> The vala inherit is conditional on vala PACKAGECONFIG, so it seems to work 
> fine.
>
> On Thu, May 18, 2023 at 7:58 PM Khem Raj <raj.k...@gmail.com> wrote:
>>
>> On Thu, May 18, 2023 at 3:12 AM Martin Jansa <martin.ja...@gmail.com> wrote:
>> >
>> > * cannot be enabled without:
>> >   http://errors.yoctoproject.org/Errors/Details/704353/
>> >   NetworkManager-1.42.6/meson.build:816:4: ERROR: Assert failed: vala api 
>> > require GObject introspection. Use -Dvapi=false to disable it
>> >
>> > Signed-off-by: Martin Jansa <martin.ja...@gmail.com>
>> > ---
>> >  .../networkmanager/networkmanager_1.42.6.bb                    | 3 ++-
>> >  1 file changed, 2 insertions(+), 1 deletion(-)
>> >
>> > diff --git 
>> > a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
>> >  
>> > b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
>> > index 31687a30b9..2412775cf1 100644
>> > --- 
>> > a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
>> > +++ 
>> > b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb
>> > @@ -70,11 +70,12 @@ do_compile:prepend() {
>> >      export 
>> > GI_TYPELIB_PATH="${B}}/src/libnm-client-impl${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
>> >  }
>> >
>> > -PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \
>> > +PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \
>> >      ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 
>> > bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \
>> >      ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', 
>> > d)} \
>> >      ${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit', d)} \
>> >      ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', 
>> > '', d)} \
>> > +    ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)} \
>> >  "
>>
>> I think vala support should be added via inheriting vala class. The
>> problem is still there when GI_DATA_ENABLED
>> is True.
>>
>> >
>> >  inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)}

Its not working in my workspace and ends with error you were seeing
without this change.

>> > --
>> > 2.40.1
>> >
>> >
>> > 
>> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102661): 
https://lists.openembedded.org/g/openembedded-devel/message/102661
Mute This Topic: https://lists.openembedded.org/mt/98988017/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to