mirleft / ocaml-nocrypto

OCaml cryptographic library
ISC License
111 stars 53 forks source link

nocrypto.0.3.2 fails to install due to mirage-entropy-xen #57

Closed edwintorok closed 9 years ago

edwintorok commented 9 years ago

opam install nocrypto fails with:

#=== ERROR while installing nocrypto.0.3.2 ====================================#
# opam-version 1.2.2
# os           linux
# command      ocaml setup.ml -configure --prefix /home/edwin/.opam/4.02.1 --enable-xen
# path         /home/edwin/.opam/4.02.1/build/nocrypto.0.3.2
# compiler     4.02.1
# exit-code    1
# env-file     /home/edwin/.opam/4.02.1/build/nocrypto.0.3.2/nocrypto-19788-2c871f.env
# stdout-file  /home/edwin/.opam/4.02.1/build/nocrypto.0.3.2/nocrypto-19788-2c871f.out
# stderr-file  /home/edwin/.opam/4.02.1/build/nocrypto.0.3.2/nocrypto-19788-2c871f.err
### stderr ###
# ocamlfind: Package `mirage-entropy-xen' not found
# W: Field 'pkg_mirage_entropy_xen' is not set: Command ''/home/edwin/.opam/4.02.1/bin/ocamlfind' query -format %d mirage-entropy-xen > '/tmp/oasis-417a88.txt'' terminated with error code 2
# E: Cannot find findlib package mirage-entropy-xen
# E: Failure("1 configuration error")

After I install mirage-entropy-xen.0.2.0 it fails with:

# File "xen/nocrypto_entropy_xen.mli", line 2, characters 13-26:
# Error: Unbound type constructor Entropy_xen.t
# Command exited with code 2.

if I remove mirage-xen then compilation succeeds.

hannesm commented 9 years ago

Hi Edwin,

nocrypto-0.3.2 is not yet released; and we're in the process of getting coordinated releases out (it requires mirage-entropy-xen >= 0.3.0, also not yet released). I just updated my xmpp-opam repo to reflect this dependency. Sorry for the current state, it will be settled over the next days.

pqwy commented 9 years ago

The essential problem here should have been fixed by this.

Please reopen if you run into this issue again.