« Up

lsp dev Error 🔥

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-config          3           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
synopsis: "Language Server Protocol native server for Coq"
description:
"""
Language Server Protocol native server for Coq
"""
opam-version: "2.0"
maintainer: "e@x80.org"
bug-reports: "https://github.com/ejgallego/coq-lsp/issues"
homepage: "https://github.com/ejgallego/coq-lsp"
dev-repo: "git+https://github.com/ejgallego/coq-lsp.git"
authors: [
  "Emilio Jesús Gallego Arias <e@x80.org>"
  "Ali Caglayan <alizter@gmail.com>"
  "Shachar Itzhaky <shachari@cs.technion.ac.il>"
  "Ramkumar Ramachandra <r@artagnon.com>"
]
license: "LGPL-2.1-or-later"
doc: "https://ejgallego.github.io/coq-lsp/"
depends: [
  "ocaml"        { >= "4.11.0" }
  "dune"         { >= "3.2.0"  }
  "coq"          { = "dev" }
  "coq-serapi"   { = "dev" }
  "cmdliner"     { >= "1.1.0" }
  "yojson"       { >= "1.7.0" }
]
build: [ [ "dune" "build" "-p" name "-j" jobs ] ]
run-test: [ [ "dune" "runtest" "-p" name "-j" jobs ] ]
url {
  src: "git+https://github.com/ejgallego/coq-lsp.git#main"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-lsp.dev coq.dev
Return code
0

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
true
Return code
0

Install dependencies

Command
opam list; echo; timeout 4h opam install -y --deps-only coq-lsp.dev coq.dev
Return code
0
Duration
4 m 0 s

Install 🚀

Command
opam list; echo; timeout 4h opam install -y coq-lsp.dev coq.dev
Return code
7936
Duration
2 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base                  v0.16.3     Full standard library replacement for OCaml
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
cmdliner              1.2.0       Declarative definition of command line interfaces for OCaml
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-serapi            dev         Serialization library and protocol for machine interaction with the Coq proof assistant
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
cppo                  1.6.9       Code preprocessor like cpp for OCaml
csexp                 1.5.2       Parsing and printing of S-expressions in Canonical form
dune                  3.13.0      Fast, portable, and opinionated build system
dune-configurator     3.13.0      Helper library for gathering system configuration
num                   1.5         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-compiler-libs   v0.12.4     OCaml compiler libraries repackaged
ocaml-config          3           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
parsexp               v0.16.0     S-expression parsing library
ppx_compare           v0.16.0     Generation of comparison functions from types
ppx_derivers          1.2.1       Shared [@@deriving] plugin registry
ppx_deriving          5.2.1       Type-driven code generation for OCaml
ppx_deriving_yojson   3.7.0       JSON codec generator for OCaml
ppx_hash              v0.16.0     A ppx rewriter that generates hash functions from type expressions and definitions
ppx_import            1.10.0      A syntax extension for importing declarations from interface files
ppx_sexp_conv         v0.16.0     [@@deriving] plugin to generate S-expression conversion functions
ppxlib                0.31.0      Standard infrastructure for ppx rewriters
result                1.5         Compatibility Result module
seq                   base        Compatibility package for OCaml's standard iterator type starting from 4.07.
sexplib               v0.16.0     Library for serializing OCaml values to and from S-expressions
sexplib0              v0.16.0     Library containing the definition of S-expressions and some base converters
stdlib-shims          0.3.0       Backport some of the new stdlib features to older compiler
yojson                2.1.2       Yojson is an optimized parsing and printing library for the JSON format
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-lsp dev
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-lsp.dev  (git+https://github.com/ejgallego/coq-lsp.git#main)
[ERROR] The compilation of coq-lsp.dev failed at "dune build -p coq-lsp -j 4".
#=== ERROR while compiling coq-lsp.dev ========================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-lsp.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-lsp -j 4
# exit-code            1
# env-file             ~/.opam/log/coq-lsp-7200-5f5a59.env
# output-file          ~/.opam/log/coq-lsp-7200-5f5a59.out
### output ###
# [...]
# Error: Library "uri" not found.
# -> required by library "coq-lsp.lang" in _build/default/lang
# -> required by _build/default/META.coq-lsp
# -> required by _build/install/default/lib/coq-lsp/META
# -> required by _build/default/coq-lsp.install
# -> required by alias install
# File "fleche/waterproof/dune", line 6, characters 0-25:
# 6 | (menhir
# 7 |  (modules ljson))
# Error: Program menhir not found in the tree or in PATH
#  (context: default)
# Hint: opam install menhir
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-lsp dev
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none