cannot opam install async.113.00.00

19 views
Skip to first unread message

Ashish Agarwal

unread,
Jun 28, 2016, 2:12:13 PM6/28/16
to ocaml...@googlegroups.com
I did an `opam update`, and now I can no longer install async 113.00.00. Pinning to that version selects ppx_type_conv 113.09.00, which is giving me the error below. Is there a quick fix? Did there used to be an older version of ppx_type_conv? At present 113.09.00 is the earliest version.


#=== ERROR while installing ppx_type_conv.113.09.00 ===========================#
# opam-version 1.2.2
# os           darwin
...
# Error: Signature mismatch:
# [...]
#                          Ppx_type_conv.Std.Type_conv.Ppx_deriving_exporter.ppx_deriving_generator ->
#            ?type_decl_str:(Parsetree.structure,
#                            Parsetree.type_declaration list)
#                           Ppx_type_conv.Std.Type_conv.Ppx_deriving_exporter.ppx_deriving_generator ->
#            ?type_decl_sig:(Parsetree.signature,
#                            Parsetree.type_declaration list)
#                           Ppx_type_conv.Std.Type_conv.Ppx_deriving_exporter.ppx_deriving_generator ->
#            unit -> deriver
# Command exited with code 2.
### stderr ###
# W: Cannot find source file matching module 'ppx_type_conv' in library ppx_type_conv
# E: Failure("Command ''/Users/ashish/.opam/solvuu2/bin/ocamlbuild' src/ppx_type_conv.cma src/ppx_type_conv.cmxa src/ppx_type_conv.a src/ppx_type_conv.cmxs ppx_deriving_exporter/ppx_type_conv_deriving.cma ppx_deriving_exporter/ppx_type_conv_deriving.cmxa ppx_deriving_exporter/ppx_type_conv_deriving.a ppx_deriving_exporter/ppx_type_conv_deriving.cmxs -use-ocamlfind -tag debug' terminated with error code 10")
# make: *** [build] Error 1

Malcolm Matalka

unread,
Jun 28, 2016, 2:17:19 PM6/28/16
to ocaml...@googlegroups.com

You have to pin ppx_deriving to 3.3

--
You received this message because you are subscribed to the Google Groups "ocaml-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocaml-core+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ashish Agarwal

unread,
Jun 28, 2016, 2:34:27 PM6/28/16
to ocaml...@googlegroups.com
Thank you Malcolm!

Malcolm Matalka

unread,
Jun 28, 2016, 3:14:06 PM6/28/16
to ocaml...@googlegroups.com

I just happened to hit this yesterday :). I've begun making my own opam repo and pinning everything in it to avoid these situations.

Reply all
Reply to author
Forward
0 new messages