Thanks that solved it!

I was also wandering how to add lx_block to my runtime. I cannot seem to find the corresponding depot url to put in my archives file. The closest I found was _/src/lx_block in repos/os/recipes/pkg/test-lx_block/archives, but from what I can tell that is relative to test-lx_block.

Best,
Rumen



From: Johannes Schlatow <johannes.schlatow@genode-labs.com>
Sent: Monday, February 17, 2025 1:45 PM
To: Genode users mailing list <users@lists.genode.org>
Subject: Re: Goa: Cannot get sub-node from XML
 
CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi Rumen,

I gave this a test run and noticed that your runtime file is very odd.
First of all, there are multiple start nodes but it also mentions
'binary="squid"'. I guess the runtime is rather indented to use init,
hence you'll need to add 'binary="init"' instead. In this case, the XML
provided as <config> must be understood by the init component. Your
config is missing the '<parent-provides>' and you likely also want to
add a '<default-route>' and '<default caps="..."/>'.

Please have a look at 'goa help runtime' and Section 6.2 "The init
component" of the Genode Foundations book for more details.

Note that, with Goa, you do not need to add your own timer component as
Goa is taking care of this.

Cheers
Johannes

On 16/02/2025 19:13, Rumen Mitov wrote:
> Hello,
>
> I am trying to migrate my project to the Goa build system. However, when
> I try running Genode throws 'Genode::Xml_node::Nonexistent_sub_node'.
> Below I have provided a simplified file containing the isolated code
> from where the error is thrown along with the full runtime file. Line 13
> is the where the error is thrown from.
>
> I cannot figure out why this is not working, since it works just fine
> with the traditional build system (i.e. with make).
>
> Any help will be greatly appreciated!
>
> Best,
> Rumen
>
>
>
>
>
> _______________________________________________
> users mailing list -- users@lists.genode.org
> To unsubscribe send an email to users-leave@lists.genode.org
> Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/5TNIDQ6X2VRGRIYR3WXNC7WWUYCUH2OT/
_______________________________________________
users mailing list -- users@lists.genode.org
To unsubscribe send an email to users-leave@lists.genode.org
Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/H4O7IAN5SR54BMTQPT562DDN75LZBHCF/