New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had to revert this commit to compile irmin #677
Comments
Currently, |
When I filed this bug I was building Irmin from source. I sort of gave up on this approach and started using the packages on opam (1.4 is the last major release there) I am new to ocaml - is there a way to push irmin 2.0 alpha to opam so users of esy can easily get a 2.0 version to play around with? |
I was building irmin as a dependency to my esy application. I specified a resolution as follows: "@opam/irmin": "mirage/irmin:irmin.opam#8c94ce2ecef64921f9c3494f4e4ea312883cca10", (I needed to do this to get irmin 2.0 to build) I can confirm that when I also add the resolution this bug still persists. I even tried using master of ocaml-git: "@opam/ocaml-git": "mirage/ocaml-git:ocaml-git.opam#27640eba56577f1802ef6ea0502b0e0b53079878", the build error still occurs |
@aweis can we have a report of your error? I can not reproduce build error on my side with:
|
FYI @avsm thank you for writing this paper. http://anil.recoil.org/papers/2015-jfla-irmin.pdf Very helpful! |
I can close this now since I probably was doing something wrong with the commit hashes I was building irmin against: https://github.com/aweis/irmin-web/blob/master/package.json#L89-L90 from this you can see the esy resolutions I am using that is able to correctly build irmin. Thanks for your help for looking into this and answering questions. |
Thanks @aweis -- none of the development team use esy day-to-day so we're not familiar with how to use it. My understanding is that esy can wrap |
888715f
Otherwise I get this error:
File "src/irmin-git/irmin_git.ml", line 181, characters 26-29:
Error: The function applied to this argument has type
?capacity:int -> (string, Raw.EncoderWithoutHeader.error) result
This argument cannot be applied with label ~raw
ocamlopt src/irmin-git/.irmin_git.objs/native/irmin_git.{cmx,o} (exit 2)
The text was updated successfully, but these errors were encountered: