package ocaml-lsp-server

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

ocaml-lsp-server 1.2.0

Error log

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

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy ocaml-lsp-server.1.2.0 yojson.2.2.2 stdlib-shims.0.3.0 seq.base result.1.5 ppx_yojson_conv_lib.v0.15.0 ocamlfind.1.9.6 dune-build-info.2.7.1 dune.2.7.1 dot-merlin-reader.4.1 csexp.1.5.1" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 2.7.1).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install result              1.5
  - install seq                 base
  - install dune-build-info     2.7.1
  - install stdlib-shims        0.3.0
  - install csexp               1.5.1
  - install yojson              2.2.2
  - install ppx_yojson_conv_lib v0.15.0
  - install dot-merlin-reader   4.1
  - install ocaml-lsp-server    1.2.0
===== 9 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/27:
Processing  2/27:
Processing  3/27:
-> retrieved csexp.1.5.1  (cached)
Processing  4/27:
Processing  5/27: [csexp: dune build]
-> retrieved dot-merlin-reader.4.1  (cached)
Processing  6/27: [csexp: dune build]
-> retrieved dune-build-info.2.7.1  (cached)
Processing  7/27: [csexp: dune build]
Processing  8/27: [csexp: dune build] [dune-build-info: dune build]
-> compiled  csexp.1.5.1
Processing  8/27: [dune-build-info: dune build]
-> installed csexp.1.5.1
Processing  9/27: [dune-build-info: dune build]
-> retrieved ppx_yojson_conv_lib.v0.15.0  (cached)
-> retrieved seq.base  (cached)
Processing 10/27: [dune-build-info: dune build]
Processing 11/27: [dune-build-info: dune build]
Processing 12/27: [dune-build-info: dune build]
-> installed seq.base
Processing 13/27: [dune-build-info: dune build]
-> retrieved result.1.5  (cached)
Processing 14/27: [dune-build-info: dune build]
Processing 15/27: [dune-build-info: dune build] [result: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 16/27: [dune-build-info: dune build] [result: dune build] [stdlib-shims: dune build]
-> retrieved yojson.2.2.2  (cached)
Processing 17/27: [dune-build-info: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  result.1.5
Processing 17/27: [dune-build-info: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> installed result.1.5
Processing 18/27: [dune-build-info: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  dune-build-info.2.7.1
Processing 18/27: [stdlib-shims: dune build] [yojson: dune build]
-> installed dune-build-info.2.7.1
Processing 19/27: [stdlib-shims: dune build] [yojson: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 19/27: [yojson: dune build]
-> installed stdlib-shims.0.3.0
Processing 20/27: [yojson: dune build]
-> compiled  yojson.2.2.2
Processing 20/27:
-> installed yojson.2.2.2
Processing 21/27:
Processing 22/27: [dot-merlin-reader: dune build]
Processing 23/27: [dot-merlin-reader: dune build] [ppx_yojson_conv_lib: dune build]
-> compiled  ppx_yojson_conv_lib.v0.15.0
Processing 23/27: [dot-merlin-reader: dune build]
-> installed ppx_yojson_conv_lib.v0.15.0
Processing 24/27: [dot-merlin-reader: dune build]
-> retrieved ocaml-lsp-server.1.2.0  (cached)
+ /home/opam/.opam/4.11/bin/dune "build" "-p" "dot-merlin-reader" "-j" "39" (CWD=/home/opam/.opam/4.11/.opam-switch/build/dot-merlin-reader.4.1)
-> compiled  dot-merlin-reader.4.1
-> installed dot-merlin-reader.4.1
Processing 26/27: [ocaml-lsp-server: dune build]
+ /home/opam/.opam/4.11/bin/dune "build" "-j" "39" "ocaml-lsp-server.install" "--release" (CWD=/home/opam/.opam/4.11/.opam-switch/build/ocaml-lsp-server.1.2.0)
- File "vendor/stdune/dune", line 4, characters 16-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] The compilation of ocaml-lsp-server.1.2.0 failed at "dune build -j 39 ocaml-lsp-server.install --release".

#=== ERROR while compiling ocaml-lsp-server.1.2.0 =============================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/ocaml-lsp-server.1.2.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-115-7b7658.env
# output-file          ~/.opam/log/ocaml-lsp-server-115-7b7658.out
### output ###
# File "vendor/stdune/dune", line 4, characters 16-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.2.0
+- 
+- The following changes have been performed
| - install csexp               1.5.1
| - install dot-merlin-reader   4.1
| - install dune-build-info     2.7.1
| - 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
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20240912203005.export"
'opam --cli=2.1 install ocaml-lsp-server.1.2.0 yojson.2.2.2 stdlib-shims.0.3.0 seq.base result.1.5 ppx_yojson_conv_lib.v0.15.0 ocamlfind.1.9.6 dune-build-info.2.7.1 dune.2.7.1 dot-merlin-reader.4.1 csexp.1.5.1 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.