package ocaml-lsp-server

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

ocaml-lsp-server 1.1.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.1.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 menhirSdk.20211012 menhirLib.20211012 menhir.20211012 dune-build-info.2.7.1 dune.2.7.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 menhirLib           20211012
  - install menhirSdk           20211012
  - install dune-build-info     2.7.1
  - install stdlib-shims        0.3.0
  - install csexp               1.5.1
  - install yojson              2.2.2
  - install menhir              20211012
  - install ppx_yojson_conv_lib v0.15.0
  - install ocaml-lsp-server    1.1.0
===== 11 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/33:
Processing  2/33:
Processing  3/33:
-> retrieved csexp.1.5.1  (cached)
Processing  4/33:
Processing  5/33: [csexp: dune build]
-> retrieved dune-build-info.2.7.1  (cached)
Processing  6/33: [csexp: dune build]
Processing  7/33: [csexp: dune build] [dune-build-info: dune build]
-> retrieved menhir.20211012  (cached)
Processing  8/33: [ocaml-lsp-server.1.1.0: http] [csexp: dune build] [dune-build-info: dune build]
-> retrieved menhirLib.20211012  (cached)
Processing  9/33: [ocaml-lsp-server.1.1.0: http] [csexp: dune build] [dune-build-info: dune build]
Processing 10/33: [ocaml-lsp-server.1.1.0: http] [csexp: dune build] [dune-build-info: dune build] [menhirLib: dune build]
-> compiled  csexp.1.5.1
Processing 10/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build]
-> installed csexp.1.5.1
Processing 11/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build]
-> retrieved menhirSdk.20211012  (cached)
Processing 12/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build]
Processing 13/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> retrieved ppx_yojson_conv_lib.v0.15.0  (cached)
-> retrieved seq.base  (cached)
Processing 14/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build]
Processing 15/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build]
Processing 16/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> installed seq.base
Processing 17/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> retrieved result.1.5  (cached)
Processing 18/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build]
Processing 19/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build] [result: dune build]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 20/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build] [result: dune build] [stdlib-shims: dune build]
-> retrieved yojson.2.2.2  (cached)
Processing 21/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirLib: dune build] [menhirSdk: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  menhirLib.20211012
Processing 21/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirSdk: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> installed menhirLib.20211012
Processing 22/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhirSdk: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  menhirSdk.20211012
Processing 22/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> installed menhirSdk.20211012
Processing 23/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
Processing 24/33: [ocaml-lsp-server.1.1.0: http] [dune-build-info: dune build] [menhir: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
Processing 24/33: [dune-build-info: dune build] [menhir: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  dune-build-info.2.7.1
Processing 24/33: [menhir: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> installed dune-build-info.2.7.1
Processing 25/33: [menhir: dune build] [result: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  result.1.5
Processing 25/33: [menhir: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> installed result.1.5
Processing 26/33: [menhir: dune build] [stdlib-shims: dune build] [yojson: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 26/33: [menhir: dune build] [yojson: dune build]
-> installed stdlib-shims.0.3.0
Processing 27/33: [menhir: dune build] [yojson: dune build]
-> compiled  yojson.2.2.2
Processing 27/33: [menhir: dune build]
-> installed yojson.2.2.2
Processing 28/33: [menhir: dune build]
Processing 29/33: [menhir: dune build] [ppx_yojson_conv_lib: dune build]
-> compiled  menhir.20211012
Processing 29/33: [ppx_yojson_conv_lib: dune build]
-> installed menhir.20211012
Processing 30/33: [ppx_yojson_conv_lib: dune build]
-> compiled  ppx_yojson_conv_lib.v0.15.0
Processing 30/33:
-> installed ppx_yojson_conv_lib.v0.15.0
Processing 31/33:
-> retrieved ocaml-lsp-server.1.1.0  (https://github.com/ocaml/ocaml-lsp/releases/download/1.1.0/ocaml-lsp-server-1.1.0.tbz)
Processing 32/33: [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.1.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.1.0 failed at "dune build -j 39 ocaml-lsp-server.install --release".

#=== ERROR while compiling ocaml-lsp-server.1.1.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.1.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-ec1252.env
# output-file          ~/.opam/log/ocaml-lsp-server-115-ec1252.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.1.0
+- 
+- The following changes have been performed
| - install csexp               1.5.1
| - install dune-build-info     2.7.1
| - install menhir              20211012
| - install menhirLib           20211012
| - install menhirSdk           20211012
| - 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-20240912202252.export"
'opam --cli=2.1 install ocaml-lsp-server.1.1.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 menhirSdk.20211012 menhirLib.20211012 menhir.20211012 dune-build-info.2.7.1 dune.2.7.1 csexp.1.5.1 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.