Error: recipe for 'src/hello' not found - unable to guess version

I want to import the goa-built binary into the “hello_tutorial” repo, but the error “Error: recipe for ‘src/hello’ not found - unable to guess version” occured, may anyone can tell me how to fix it?
(The error and the content of hello_tutorial.run are listed)


The import_from_depot function needs to know the version of each the depot archive. If no version is given (as is usually the case for the run scripts found in the Genode repository), it assumes that the archive originates from one of the Genode repos, tries to find the corresponding depot recipe (looking for repos/*/recipes/src/hello/hash), and read the version from the found hash file.

In your case where you created the depot content via Goa (using goa export), the import_from_depot function won’t find a recipe because the project’s version is defined local to your Goa project outside the realm of Genode’s repos. In this case, you can explicitly select the version. Assuming that you exported your hello project with version 2025-07-03 today, you would use

import_from_depot siuyan/src/hello/2025-07-03

(no need to specify the bin archive)

2 Likes

Thanks for your reply, it’s very useful!