Package Details: merlin 4.8-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: vim-ocaml-merlin-git
Submitter: condy
Maintainer: condy
Last Packager: condy
Votes: 1
Popularity: 0.000000
First Submitted: 2020-02-07 12:39 (UTC)
Last Updated: 2023-03-01 16:23 (UTC)

Latest Comments

cdfa commented on 2020-06-02 10:05 (UTC)

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 (UTC)

@cdfa

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

cdfa commented on 2020-05-31 16:16 (UTC)

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)