You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to install a recent version of dune required by ocaml-lsp-server.
Note: if there is another way to have ocaml-lsp-server installed and working with the Coc plugin, that would be very helpful.
Expected Behavior
opam install dune.3.16.1
Succeed.
Actual Behavior
[ERROR] The compilation of dune.3.16.1 failed at "./_boot/dune.exe build dune.install --release --profile dune-bootstrap -j 15".
#=== ERROR while compiling dune.3.16.1 ========================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/dorian/tis-analyzer/deps/opam
# path ~/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1
# command ~/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1/./_boot/dune.exe build dune.install --release --profile dune-bootstrap -j 15
# exit-code 1
# env-file ~/tis/deps/opam/root-2.1.x/log/dune-67371-1abe65.env
# output-file ~/tis/deps/opam/root-2.1.x/log/dune-67371-1abe65.out
### output ###
# [...]
# -> required by ("ocaml_and_build_env_kind", ())
# -> required by ("<unnamed>", ())
# -> required by ("<unnamed>", ())
# -> required by ("<unnamed>", ())
# -> required by ("load-dir", In_build_dir "default")
# -> required by ("toplevel", ())
#
# I must not crash. Uncertainty is the mind-killer. Exceptions are the
# little-death that brings total obliteration. I will fully express my cases.
# Execution will pass over me and through me. And when it has gone past, I
# will unwind the stack along its path. Where the cases are handled there will
# be nothing. Only I will remain.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build dune 3.16.1
└─
╶─ No changes have been performed
~/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1 $ 0 cat _build/log
# /home/dorian/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1/./_boot/dune.exe build dune.install --release --profile dune-bootstrap -j 15
# OCAMLPARAM: unset
# Shared cache: disabled
# Shared cache location: /home/dorian/.cache/dune/db
# Workspace root:
# /home/dorian/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1
# Dune context:
# { name = "default"
# ; kind = "default"
# ; profile = User_defined "dune-bootstrap"
# ; merlin = true
# ; fdo_target_exe = None
# ; build_dir = In_build_dir "default"
# ; instrument_with = []
# }
IIRC, in CoC (used it a while ago…) as long as you install ocaml-lsp-server, the LSP plugin should pick the correct one, isn't it? Unfortunately, I'm not able to reproduce your error... It might be indeed related to the environment.
As we only support the latest version of Dune, doesn't it work with dune.3.17.1?
I'm unable to install a recent version of dune required by
ocaml-lsp-server
.Note: if there is another way to have
ocaml-lsp-server
installed and working with the Coc plugin, that would be very helpful.Expected Behavior
Succeed.
Actual Behavior
Reproduction
I guess it is an error in my environment.
Specifications
~/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1 $ 1 dune --version
3.7.1
~/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1 $ 0 ocamlc --version
4.14.1
~/tis/deps/opam/root-2.1.x/4.14.1/.opam-switch/build/dune.3.16.1 $ 0 cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"
Best regards,
Dorian
The text was updated successfully, but these errors were encountered: