package ocaml-lsp-server

  1. Overview
  2. Docs
On This Page
  1. Error log

ocaml-lsp-server 1.3.0

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 9 packages
  - install csexp               1.5.2
  - install dot-merlin-reader   4.5
  - install dune-build-info     3.17.2
  - install ocaml-lsp-server    1.3.0
  - install ppx_yojson_conv_lib v0.15.0
  - install result              1.5
  - install seq                 base
  - install stdlib-shims        0.3.0
  - install yojson              2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed csexp.1.5.2
-> retrieved dot-merlin-reader.4.5  (cached)
-> retrieved dune-build-info.3.17.2  (cached)
-> retrieved ppx_yojson_conv_lib.v0.15.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved ocaml-lsp-server.1.3.0  (cached)
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed dune-build-info.3.17.2
-> installed yojson.2.2.2
-> installed ppx_yojson_conv_lib.v0.15.0
-> installed dot-merlin-reader.4.5
[ERROR] The compilation of ocaml-lsp-server.1.3.0 failed at "dune build -j 39 ocaml-lsp-server.install --release".

#=== ERROR while compiling ocaml-lsp-server.1.3.0 =============================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/ocaml-lsp-server.1.3.0
# command              ~/.opam/4.11/bin/dune build -j 39 ocaml-lsp-server.install --release
# exit-code            1
# env-file             ~/.opam/log/ocaml-lsp-server-113-875e03.env
# output-file          ~/.opam/log/ocaml-lsp-server-113-875e03.out
### output ###
# File "vendor/stdune/dune", line 4, characters 14-25:
# 4 |  (action (run %{bin:cppo} -V OCAML:%{ocaml_version} %{ml} -o %{targets})))
#                   ^^^^^^^^^^^
# Error: Program cppo not found in the tree or in PATH
#  (context: default)



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-lsp-server 1.3.0
+- 
+- The following changes have been performed
| - install csexp               1.5.2
| - install dot-merlin-reader   4.5
| - install dune-build-info     3.17.2
| - install ppx_yojson_conv_lib v0.15.0
| - install result              1.5
| - install seq                 base
| - install stdlib-shims        0.3.0
| - install yojson              2.2.2
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20250206041457.export"
OCaml

Innovation. Community. Security.