Package Details: merlin 3.3.4-1

Git Clone URL: https://aur.archlinux.org/merlin.git (read-only, click to copy)
Package Base: merlin
Description: Context sensitive completion for OCaml in Vim and Emacs
Upstream URL: https://github.com/ocaml/merlin
Licenses: MIT
Conflicts: merlin, vim-ocaml-merlin-git
Provides: merlin
Submitter: condy
Maintainer: condy
Last Packager: condy
Votes: 1
Popularity: 0.092143
First Submitted: 2020-02-07 12:39
Last Updated: 2020-05-21 16:00

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

cdfa commented on 2020-06-02 10:05

Ah, of course. I always forget about this issue. Too bad there is no general solution for this yet (at least AFAIK). Thanks for your help :)

condy commented on 2020-05-31 16:55

@cdfa

Re-installing/compiling ocaml-yojson is the solution.

cdfa commented on 2020-05-31 16:16

Hi, since 3.3.4-1, I'm getting the following error:

==> Starting build()...
      ocamlc src/utils/.merlin_utils.objs/byte/std.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /bin/ocamlc.opt -w -40 -g -bin-annot -I src/utils/.merlin_utils.objs/byte -I /usr/lib/ocaml/yojson -no-alias-deps -o src/utils/.merlin_utils.objs/byte/std.cmo -c -impl src/utils/std.ml)
File "src/utils/std.ml", line 1:
Error: /usr/lib/ocaml/yojson/yojson.cmi
       is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
==> ERROR: A failure occurred in build().
    Aborting...

My dune version is 2.3.1. I do have an OCaml project I'm working on on this machine, also using dune, but I don't think that should conflict)