Skip to content
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

OCaml 4.11 incompatibility #128

Closed
XVilka opened this issue May 12, 2020 · 1 comment
Closed

OCaml 4.11 incompatibility #128

XVilka opened this issue May 12, 2020 · 1 comment

Comments

@XVilka
Copy link

XVilka commented May 12, 2020

Along with the Longindent.parse deprecation there is seem to be a fatal error: "OCaml and preprocessor have incompatible versions":

- 14 |   let lident x = mk (Longident.parse x)
-                           ^^^^^^^^^^^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
-     ocamlopt src/gen/.gen_ast_pattern.eobjs/native/import.{cmx,o}
- File "src/gen/import.ml", line 14, characters 21-36:
- 14 |   let lident x = mk (Longident.parse x)
-                           ^^^^^^^^^^^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
-     ocamldep traverse/.ppxlib_traverse.objs/ppxlib_traverse.pp.ml.d (exit 2)
- (cd _build/default && /home/travis/.opam/ocaml-variants.4.11.0+trunk/bin/ocamldep.opt -modules -impl traverse/ppxlib_traverse.pp.ml) > _build/default/traverse/.ppxlib_traverse.objs/ppxlib_traverse.pp.ml.d
- >> Fatal error: OCaml and preprocessor have incompatible versions
- Fatal error: exception Misc.Fatal_error
[ERROR] The compilation of ppxlib failed at
        "/home/travis/.opam/opam-init/hooks/sandbox.sh build dune build -p
        ppxlib -j 1".

See full log at https://travis-ci.org/github/ocaml-ppx/ppx_deriving/jobs/683869554#L883
Caught in ocaml-ppx/ppx_deriving#220 by @kit-ty-kate

@kit-ty-kate
Copy link
Contributor

my comment has an edit. The issue was fixed in the latest release

@XVilka XVilka closed this as completed Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants