« Up

mi-cho-coq 0.1 Error 🔥

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.13.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.13.1      Official release 4.13.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
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"
synopsis: "A specification of Michelson in Coq to prove properties about smart contracts in Tezos"
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: [
  "coq" {>= "8.8"}
  "coq-menhirlib" {>= "20190626"}
  "coq-ott" {>= "0.29"}
  "menhir"
  "ocaml" {>= "4.07.1"}
  "ocamlbuild"
  "ott" {build & >= "0.29"}
  "zarith"
]
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"
  "date:2021-06-15"
  "keyword:cryptocurrency"
  "keyword:michelson"
  "keyword:semantics"
  "keyword:smart-contract"
  "keyword:tezos"
  "logpath:Michocoq"
  "logpath:Michocott"
]
url {
  http: "https://gitlab.com/nomadic-labs/mi-cho-coq/-/archive/version-0.1/mi-cho-coq-version-0.1.tar.gz"
  checksum: "521927e391d5529f652056d97fcdd261"
}

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.0.1 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.0.1 coq.dev
Return code
0
Duration
11 m 0 s

Install 🚀

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-mi-cho-coq.0.1 coq.dev
Return code
7936
Duration
1 m 0 s
Output
# 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
coq-menhirlib         dev         A support library for verified Coq parsers produced by Menhir
coq-ott               dev         Auxiliary Coq library for Ott, a tool for writing definitions of programming languages and calculi
dune                  3.1.1       Fast, portable, and opinionated build system
menhir                dev         An LR(1) parser generator
menhirLib             dev         Runtime support library for parsers generated by Menhir
menhirSdk             dev         Compile-time library for auxiliary tools related to Menhir
ocaml                 4.13.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.13.1      Official release 4.13.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlbuild            0.14.1      OCamlbuild is a build system with builtin rules to easily build most OCaml projects
ocamlfind             1.9.3       A library manager for OCaml
ott                   0.32        A tool for writing definitions of programming languages and calculi
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-mi-cho-coq 0.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-mi-cho-coq.0.1: http]
[coq-mi-cho-coq.0.1] downloaded from https://gitlab.com/nomadic-labs/mi-cho-coq/-/archive/version-0.1/mi-cho-coq-version-0.1.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-mi-cho-coq: ./configure]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/bench/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-mi-cho-coq.0.1)
- Generating the main Makefile
- Unknown option src
- Usage summary:
- 
- coq_makefile .... [file.v] ... [file.ml[ig]?] ... [file.ml{lib,pack}]
-   ... [-I dir] ... [-R physicalpath logicalpath]
-   ... [-Q physicalpath logicalpath] ... [VARIABLE = value]
-   ... [-arg opt] ... [-docroot path] [-f file] [-o file]
-   ... [-generate-meta-for-package project-name]
-   [-h] [--help]
- 
- Full list of options:
- 
- [file.v]: Coq file to be compiled
- [file.ml[ig]?]: Objective Caml file to be compiled
- [file.ml{lib,pack}]: ocamlbuild-style file that describes a Objective Caml
-   library/module
- [-I dir]: look for Objective Caml dependencies in "dir"
- [-R physicalpath logicalpath]: look for Coq dependencies recursively
-   starting from "physicalpath". The logical path associated to the
-   physical path is "logicalpath".
- [-Q physicalpath logicalpath]: look for Coq dependencies starting from
-   "physicalpath". The logical path associated to the physical path
-   is "logicalpath".
- [VARIABLE = value]: Add the variable definition "VARIABLE=value"
- [-arg opt]: send option "opt" to coqc
- [-docroot path]: Install the documentation in this folder, relative to
-   "user-contrib".
- [-f file]: take the contents of file as arguments
- [-o file]: output should go in file file (recommended)
- 	Output file outside the current directory is forbidden.
- [-generate-meta-for-package project-name]: generate META.project-name.
- [-h]: print this usage summary
- [--help]: equivalent to [-h]
- fail while building main makefile
[ERROR] The compilation of coq-mi-cho-coq failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./configure".
#=== ERROR while compiling coq-mi-cho-coq.0.1 =================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-mi-cho-coq.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure
# exit-code            1
# env-file             ~/.opam/log/coq-mi-cho-coq-23599-865888.env
# output-file          ~/.opam/log/coq-mi-cho-coq-23599-865888.out
### output ###
# [-Q physicalpath logicalpath]: look for Coq dependencies starting from
# [...]
# [VARIABLE = value]: Add the variable definition "VARIABLE=value"
# [-arg opt]: send option "opt" to coqc
# [-docroot path]: Install the documentation in this folder, relative to
#   "user-contrib".
# [-f file]: take the contents of file as arguments
# [-o file]: output should go in file file (recommended)
# 	Output file outside the current directory is forbidden.
# [-generate-meta-for-package project-name]: generate META.project-name.
# [-h]: print this usage summary
# [--help]: equivalent to [-h]
# fail while building main makefile
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-mi-cho-coq 0.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-mi-cho-coq.0.1 coq.dev' failed.

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none