ยซ Up

of-ocaml dev Error ๐Ÿ”ฅ

๐Ÿ“… (2022-05-24 01:37:32 UTC)

Context

# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
conf-gmp            4           Virtual package relying on a GMP lib system installation
coq                 dev         Formal proof management system
dune                3.1.1       Fast, portable, and opinionated build system
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "dev@clarus.me"
homepage: "https://github.com/clarus/coq-of-ocaml"
dev-repo: "git+https://github.com/clarus/coq-of-ocaml.git"
bug-reports: "https://github.com/clarus/coq-of-ocaml/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
  ["sh" "-c" "cd proofs && ./configure.sh"] {coq:installed}
  [make "-C" "proofs" "-j%{jobs}%"] {coq:installed}
  ["dune" "build" "-p" name "-j" jobs]
]
install: [
  [make "-C" "proofs" "install"] {coq:installed}
]
depends: [
  "dune" {>= "2.0" & < "2.8"}
  "ocaml" {>= "4.10" & < "4.11"}
  "ocamlfind" {>= "1.5.2"}
  "smart-print"
  "yojson" {>= "1.6.0"}
]
depopts: [
  "coq"
]
conflicts: [
  "coq" {< "8.11"}
]
tags: [
  "keyword:compilation"
  "keyword:OCaml"
  "logpath:CoqOfOCaml"
]
synopsis: "Compile a subset of OCaml to Coq"
url {
  src: "git+https://github.com/clarus/coq-of-ocaml.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-of-ocaml.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; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-of-ocaml.dev coq.dev
Return code
0
Duration
2 m 13 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-of-ocaml.dev coq.dev
Return code
7936
Duration
58 s
Output
# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-threads        base
base-unix           base
biniou              1.2.1       Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve
conf-findutils      1           Virtual package relying on findutils
conf-gmp            4           Virtual package relying on a GMP lib system installation
coq                 dev         Formal proof management system
cppo                1.6.8       Code preprocessor like cpp for OCaml
dune                2.7.1       Fast, portable, and opinionated build system
easy-format         1.3.2       High-level and functional interface to the Format module of the OCaml standard library
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
smart-print         0.3.0       A pretty-printing library in OCaml
yojson              1.7.0       Yojson is an optimized parsing and printing library for the JSON format
zarith              1.12        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-of-ocaml dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-of-ocaml.dev] synchronised from git+https://github.com/clarus/coq-of-ocaml.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-of-ocaml failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-of-ocaml -j 4".
#=== ERROR while compiling coq-of-ocaml.dev ===================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.10.2/.opam-switch/build/coq-of-ocaml.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-of-ocaml -j 4
# exit-code            1
# env-file             ~/.opam/log/coq-of-ocaml-16962-2dea01.env
# output-file          ~/.opam/log/coq-of-ocaml-16962-2dea01.out
### output ###
# File "vendor/merlin/src/dot-merlin/dot-protocol/dune", line 5, characters 25-30:
# 5 |  (libraries merlin_utils csexp result))
#                              ^^^^^
# Error: Library "csexp" not found.
# Hint: try:
#   dune external-lib-deps --missing -p coq-of-ocaml -j 4 @install
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-of-ocaml 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