Goa Build Error - "depot_dir" & "allowed_paths"

Sorry to be a pain. When trying to “goa build” a library cloned from Codeberg, I get the following error:

[lvgl_support] Error: In /home/mainuser/Devel/genode_jjk/goa-projects/goarc: 
 Path variable 'depot_dir' set to '/home/mainuser/Devel/genode_jjk/genode/depot' 
 defines an invalid path. Valid paths are:
 
 /home/mainuser/Devel/genode_jjk/goa-projects/ports/lvgl_support 

 You may consider setting 'allowed_paths' in your $HOME/goarc or /goarc file.

(This happens on other libraries also, so it is not specific to this package.)

Could someone say a few words about what this signifies, and/or whether the recommended change is the correct solution, or if there is a deeper root cause?

Thanks!

By default, Goa prevents definition of path variables outside the current working directory or project directory.

This is a security measure (see #99), so Goa requires you to allow this path using a “trusted” goarc file.

1 Like