« Up

mi-cho-coq dev Error with dependencies 🚒

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
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.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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:
opam-version: "2.0"
maintainer: "raphael.cauderlier@nomadic-labs.com"
authors: [ "Raphaël Cauderlier" "Bruno Bernardo" "Julien Tesson" "Arvid Jakobsson" ]
homepage: "https://gitlab.com/nomadic-labs/mi-cho-coq/"
dev-repo: "git+https://gitlab.com/nomadic-labs/mi-cho-coq/"
bug-reports: "https://gitlab.com/nomadic-labs/mi-cho-coq/issues"
license: "MIT"
build: [
  ["./configure"]
  [make "-j%{jobs}%"]
]
install: [
  make "install"
]
depends: [
  "ocamlbuild" {build}
  "coq-menhirlib" {>= "20190626"}
  "coq-ott" {>= "0.29"}
  "coq" {>= "8.8"}
  "menhir" {build}
  "zarith"
  "ocaml" {>= "4.07.1"}
  "ott" {build & >= "0.29"}
]
synopsis: "A specification of Michelson in Coq to prove properties about smart contracts in Tezos"
description: """
Michelson is a language for writing smart contracts on the Tezos blockchain.
This package provides a Coq encoding of the syntax and semantics of Michelson,
automatically generated by the Ott tool. Also included is a framework called Mi-Cho-Coq
for reasoning about Michelson programs in Coq using a weakest precondition calculus."""
tags: [
  "category:Computer Science/Programming Languages/Formal Definitions and Theory"
  "keyword:cryptocurrency"
  "keyword:michelson"
  "keyword:semantics"
  "keyword:smart-contract"
  "keyword:tezos"
  "logpath:Michocoq"
  "logpath:Michocott"
]
url {
  src: "git+https://gitlab.com/nomadic-labs/mi-cho-coq.git#master"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-mi-cho-coq.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-mi-cho-coq.dev coq.dev
Return code
7936
Duration
4 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
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.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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
The following actions will be performed:
  - install menhirLib     dev
  - install ocamlbuild    0.14.3
  - install coq-ott       dev
  - install menhirSdk     dev
  - install stdlib-shims  0.3.0
  - install coq-menhirlib dev
  - install menhir        dev
  - install ocamlgraph    2.1.0
  - install ott           0.33
===== 9 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-ott.dev] synchronised from git+https://github.com/ott-lang/ott.git#master
[menhir.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
[coq-menhirlib.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
[ocamlbuild.0.14.3] downloaded from cache at https://opam.ocaml.org/cache
[menhirLib.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
[ocamlgraph.2.1.0] downloaded from cache at https://opam.ocaml.org/cache
[ott.0.33] downloaded from cache at https://opam.ocaml.org/cache
[menhirSdk.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
[stdlib-shims.0.3.0] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-ott failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 -C coq".
-> installed coq-menhirlib.dev
-> installed menhirLib.dev
-> installed menhirSdk.dev
-> installed stdlib-shims.0.3.0
-> installed ocamlbuild.0.14.3
-> installed ocamlgraph.2.1.0
-> installed menhir.dev
-> installed ott.0.33
#=== ERROR while compiling coq-ott.dev ========================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-ott.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 -C coq
# exit-code            2
# env-file             ~/.opam/log/coq-ott-13947-58a9f1.env
# output-file          ~/.opam/log/coq-ott-13947-58a9f1.out
### output ###
# [...]
# COQC ott_list_eq_dec.v
# COQC ott_list_core.v
# COQC ott_list_base.v
# File "./ott_list_base.v", line 63, characters 57-66:
# Error: The variable plus_comm was not found in the current environment.
# 
# make[2]: *** [Makefile.coq:847: ott_list_base.vo] Error 1
# make[2]: *** [ott_list_base.vo] Deleting file 'ott_list_base.glob'
# make[1]: *** [Makefile.coq:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-ott.dev/coq'
# make: *** [Makefile:2: default] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-ott.dev/coq'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-ott dev
+- 
+- The following changes have been performed
| - install coq-menhirlib dev
| - install menhir        dev
| - install menhirLib     dev
| - install menhirSdk     dev
| - install ocamlbuild    0.14.3
| - install ocamlgraph    2.1.0
| - install ott           0.33
| - install stdlib-shims  0.3.0
+- 
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
    opam switch import "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/backup/state-20240101171959.export"

Install 🚀

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none