Version: Opam 2.1.2
I’m trying to install Merlin in order to enable ocaml-merlin
on Flycheck since I’m using Emacs. There’s an issue as it’s tries to compile seq.base
:
$ opam install merlin
The following actions will be performed:
∗ install seq base [required by yojson]
∗ install merlin-lib 4.9-500 [required by merlin]
∗ install ocamlfind 1.9.6 [required by dot-merlin-reader]
∗ install yojson 2.1.0 [required by merlin]
∗ install dot-merlin-reader 4.9 [required by merlin]
∗ install merlin 4.9-500
===== ∗ 6 =====
Do you want to continue? [Y/n] y
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dot-merlin-reader.4.9 (cached)
⬇ retrieved merlin.4.9-500 (cached)
⬇ retrieved merlin-lib.4.9-500 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved yojson.2.1.0 (cached)
#=== ERROR while compiling seq.base ===========================================#
Sys_error("/home/user/.opam/repo/default/packages/seq/seq.base/files/seq.install: No such file or directory")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build seq base
└─
╶─ No changes have been performed
I’ve cleaned up the Opam cache by running $ opam clean
and updated the repositories with $ opam update --repositories default
, then ran the installation again and Opam printed:
$ opam install merlin
The following actions will be performed:
∗ install seq base [required by yojson]
∗ install merlin-lib 4.9-500 [required by merlin]
∗ install ocamlfind 1.9.6 [required by dot-merlin-reader]
∗ install yojson 2.1.0 [required by merlin]
∗ install dot-merlin-reader 4.9 [required by merlin]
∗ install merlin 4.9-500
===== ∗ 6 =====
Do you want to continue? [Y/n] y
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved merlin.4.9-500 (https://opam.ocaml.org/cache)
⬇ retrieved dot-merlin-reader.4.9 (https://opam.ocaml.org/cache)
[ERROR] Failed to extract archive /home/user/.opam/repo/default.tar.gz: "/usr/bin/tar xfz /home/user/.opam/repo/default.tar.gz -C /tmp/opam-3125-f9ba29" exited with code 2.
Run `opam update --repositories default` to fix the issue
#=== ERROR while compiling seq.base ===========================================#
OpamStd.OpamSys.Exit(10)
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ ⬇ fetch merlin-lib 4.9-500
│ λ build seq base
└─
╶─ No changes have been performed
I’m not sure what to do. I’ve searched for seq.base
but found no interesting results.