mirage/decompress

Checkseum referenced from ~/.opam/default/lib/decompress/impl/decompress_impl.cmxa(Decompress_impl__Decompress_safe) - no implementations provided

XVilka opened this issue · 3 comments

After updating decompress project using decompress library fails to build with:

File "_none_", line 1:
Error: No implementations provided for the following modules:
         Checkseum referenced from /home/akochkov/.opam/default/lib/decompress/impl/decompress_impl.cmxa(Decompress_impl__Decompress_safe),
           /home/akochkov/.opam/default/lib/decompress/impl/decompress_impl.cmxa(Decompress_impl)

Found the reason - in jbuilder/dune file you need to specify the checkseum implementation before the decompression library, like:

(libraries (checkseum.c decompress))

Please note this in the documentation/README.

Hi and, thanks to notice this expected behavior and, in fact, we need a note about. I just updated my README.md to explain what you need to do to use decompress.

Then, about this constraint to put checkseum.{c,ocaml} before decompress, it's most about a problem with dune than decompress but I will update the README.md to add this explanation. Thanks!

Done by 282f508