Depot Archive Creation

Edward Sandberg ed.sandberg at adventiumlabs.com
Wed Jan 2 22:36:48 CET 2019


Hello all,

I am trying to create a depot archive that is my own custom version of a
port available in the main distribution. I modeled my recipe files after
the ones found in libports/recipes. Section 5.5.1 of the genode
foundations book seems to indicate that adding /<date> would be enough
to distinguish between archives with the same name so my files look like
this:

# cat repos/adventium/recipes/src/libssl/api
libssl/2019-01-02
# cat repos/adventium/recipes/src/libssl/used_apis
libc
libcrypto/2019-01-02
so
# cat repos/adventium/recipes/src/libcrypto/api
libcrypto/2019-01-02

but when I try to run ./tool/depot/create I get the following error:

# ./tool/depot/create adventium/src/libssl/2019-01-02
Error: recipe for 'libcrypto' is ambiguous, candidates are:
       /home/esandberg/genode/repos/adventium/recipes/api/libcrypto
       /home/esandberg/genode/repos/libports/recipes/api/libcrypto
make[3]: *** [/home/esandberg/genode/tool/depot/mk/extract.inc:33:
checked_recipe_is_unique] Error 1
make[2]: *** [/home/esandberg/genode/depot/var/extract.mk:44:
adventium/api/libcrypto/2019-01-02] Error 2
make[1]: *** [/home/esandberg/genode/tool/depot/extract:175:
execute_generated_extract_mk_file] Error 2
make: *** [tool/depot/create:41: extract] Error 2

Is it not possible to have more than one archive with the same name or
am I just missing a step?

--
Edward Sandberg
Adventium Labs
111 3rd Avenue S. Suite #100
Minneapolis, MN 55401
ed.sandberg at adventiumlabs.com





More information about the users mailing list