ocaml-ppx / ocaml-migrate-parsetree

DEPRECATED. See https://ocaml.org/changelog/2023-10-23-omp-deprecation. Convert OCaml parsetrees between different major versions
Other
87 stars 43 forks source link

Building ocaml-migrate-parsetree-1.0.2 fails #37

Closed ChrisVine closed 6 years ago

ChrisVine commented 6 years ago

Building ocaml-migrate-parsetree-1.0.2 on ocaml-4.06.0 fails with:

ocamlc src/ast_406.{cmi,cmo,cmt} (exit 2) (cd _build/default && /usr/bin/ocamlc.opt -w -40 -open Result -g -bin-annot -I /usr/lib64/ocaml/compiler-libs -I /usr/lib64/ocaml/site-lib/result -no-alias-deps -I src -o src/ast_406.cmo -c -impl src/ast_406.pp.ml)

File "src/ast_406.ml", line 141, characters 2-2027: Error: This variant or record definition does not match that of type Parsetree.core_type_desc The types for field Ptyp_object are not equal. make: *** [Makefile:10: all] Error 1

Is there a dependency missing which is not reported by jbuilder, or what else am I doing wrong?

ChrisVine commented 6 years ago

Ah, I have resolved it by compiling the current master branch.