ยซ Up

bedrock2 dev 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-m4             1           Virtual package relying on m4
coq                 8.10.dev    Formal proof management system
num                 1.3         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.08.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1      Official release 4.08.1
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
# opam file:
opam-version: "2.0"
authors: [
  "Massachusetts Institute of Technology"
  "Kevix"
  "SiFive"
]
maintainer: "Jason Gross <jgross@mit.edu>"
homepage: "https://github.com/mit-plv/bedrock2"
bug-reports: "https://github.com/mit-plv/bedrock2/issues"
license: "MIT"
build: [
  [make "-j%{jobs}%" "EXTERNAL_DEPENDENCIES=1" "bedrock2_ex"]
]
install: [make "EXTERNAL_DEPENDENCIES=1" "install_bedrock2"]
depends: [
  "coq" {>= "8.9~"}
  "coq-coqutil"
]
dev-repo: "git+https://github.com/mit-plv/bedrock2.git"
synopsis: "A work-in-progress language and compiler for verified low-level programming"
tags: ["logpath:bedrock2"]
url {
  src: "git+https://github.com/mit-plv/bedrock2.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-bedrock2.dev coq.8.10.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 2h opam install -y --deps-only coq-bedrock2.dev coq.8.10.dev
Return code
0
Duration
3 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y coq-bedrock2.dev coq.8.10.dev
Return code
7936
Duration
2 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-m4             1           Virtual package relying on m4
coq                 8.10.dev    Formal proof management system
coq-coqutil         dev         Coq library for tactics, basic definitions, sets, maps
num                 1.3         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.08.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1      Official release 4.08.1
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
[NOTE] Package coq is already installed (current version is 8.10.dev).
The following actions will be performed:
  - install coq-bedrock2 dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-bedrock2.dev] synchronised from git+https://github.com/mit-plv/bedrock2.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-bedrock2 failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 EXTERNAL_DEPENDENCIES=1 bedrock2_ex".
#=== ERROR while compiling coq-bedrock2.dev ===================================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-bedrock2.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 EXTERNAL_DEPENDENCIES=1 bedrock2_ex
# exit-code            2
# env-file             ~/.opam/log/coq-bedrock2-16901-c743ac.env
# output-file          ~/.opam/log/coq-bedrock2-16901-c743ac.out
### output ###
# [...]
# File "/home/bench/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-bedrock2.dev/bedrock2/src/bedrock2/Scalars.v", line 221, characters 30-35:
# Error: Tactic failure:  Cannot find witness.
# 
# make[3]: *** [Makefile.coq.noex:659: /home/bench/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-bedrock2.dev/bedrock2/src/bedrock2/Scalars.vo] Error 1
# make[3]: *** Waiting for unfinished jobs....
# Constant bedrock2.Semantics.ext_spec.weaken
#   (shorter name to refer to it in current context is Semantics.ext_spec.weaken)
# make[2]: *** [Makefile.coq.noex:321: all] Error 2
# make[2]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-bedrock2.dev/bedrock2'
# make[1]: *** [Makefile:35: noex] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-bedrock2.dev/bedrock2'
# make: *** [Makefile:71: bedrock2_noex] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-bedrock2 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