« Up

vlsm 1.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                 8.13.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.06.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1      Official 4.06.1 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.5       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/runtimeverification/vlsm"
dev-repo: "git+https://github.com/runtimeverification/vlsm.git"
bug-reports: "https://github.com/runtimeverification/vlsm/issues"
license: "BSD-3-Clause"
synopsis: "Coq formalization of validating labelled state transition and message production systems"
description: """
A validating labelled state transition and message production system
(VLSM) abstractly models a distributed system with faults. This project
contains a formalization of VLSMs and their theory in the Coq proof assistant."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
  "coq" {>= "8.13" & < "8.15~"}
  "coq-stdpp" {>= "1.6.0"}
]
tags: [
  "category:Computer Science/Concurrent Systems and Protocols/Theory of concurrent systems"
  "keyword:fault tolerance"
  "keyword:distributed algorithms"
  "logpath:VLSM"
  "date:2022-02-18"
]
authors: [
  "Mihai Calancea"
  "Denisa Diaconescu"
  "Wojciech Kołowski"
  "Elaine Li"
  "Brandon Moore"
  "Karl Palmskog"
  "Lucas Peña"
  "Grigore Roșu"
  "Traian Șerbănuță"
  "Jan Tušil"
  "Vlad Zamfir"
]
url {
  src: "https://github.com/runtimeverification/vlsm/archive/v1.1.tar.gz"
  checksum: "sha512=9eac41874fea4f622bb7f225b3c6c7f78ca517790ca0b467d571d86476778bdc6e8ea531815cf608b2a9eba966caa21101e90861bce80a10f054ceca53ec65fd"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-vlsm.1.1 coq.8.13.2
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-vlsm.1.1 coq.8.13.2
Return code
0
Duration
4 m 0 s

Install 🚀

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-vlsm.1.1 coq.8.13.2
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                 8.13.2      Formal proof management system
coq-stdpp           1.8.0       An extended "Standard Library" for Coq
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.06.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1      Official 4.06.1 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.5       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is 8.13.2).
The following actions will be performed:
  - install coq-vlsm 1.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-vlsm.1.1: http]
[coq-vlsm.1.1] downloaded from https://github.com/runtimeverification/vlsm/archive/v1.1.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-vlsm: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-vlsm.1.1)
- coq_makefile -f _CoqProject -o Makefile.coq
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-vlsm.1.1'
- COQDEP VFILES
- COQC theories/VLSM/Lib/Preamble.v
- COQC theories/VLSM/Lib/SsrExport.v
- COQC theories/VLSM/Lib/StdppListSet.v
- COQC theories/VLSM/Lib/FinExtras.v
- COQC theories/VLSM/Lib/RealsExtras.v
- COQC theories/VLSM/Lib/Temporal.v
- COQC theories/VLSM/Lib/Traces.v
- COQC theories/VLSM/Lib/TraceProperties.v
- COQC theories/VLSM/Lib/ListExtras.v
- COQC theories/VLSM/Lib/FinSetExtras.v
- COQC theories/VLSM/Lib/TraceClassicalProperties.v
- File "./theories/VLSM/Lib/FinSetExtras.v", line 196, characters 4-54:
- Error:
- Unable to satisfy the following constraints:
- In environment:
- A : Type
- C : Type
- H : ElemOf A C
- H0 : Empty C
- H1 : Singleton A C
- H2 : Union C
- H3 : Intersection C
- H4 : Difference C
- H5 : Elements A C
- EqDecision0 : EqDecision A
- H6 : FinSet A C
- B : Type
- D : Type
- H7 : ElemOf B D
- H8 : Empty D
- H9 : Singleton B D
- H10 : Union D
- H11 : Intersection D
- H12 : Difference D
- H13 : Elements B D
- EqDecision1 : EqDecision B
- H14 : FinSet B D
- f : A → B
- X : C
- fX : list B
- HeqfX : fX = f <$> elements X
- 
- ?H : "ElemOf B ?C"
- 
- ?H0 : "Empty ?C"
- 
- ?H1 : "Singleton B ?C"
- 
- ?H2 : "Union ?C"
- 
- ?H3 : "Intersection ?C"
- 
- ?H4 : "Difference ?C"
- 
- ?H5 : "Elements B ?C"
- 
- ?EqDecision0 : "EqDecision B"
- 
- ?H6 : "FinSet B ?C"
- 
- 
- make[2]: *** [Makefile.coq:719: theories/VLSM/Lib/FinSetExtras.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [Makefile.coq:343: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-vlsm.1.1'
- make: *** [Makefile:2: all] Error 2
[ERROR] The compilation of coq-vlsm failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-vlsm.1.1 =======================================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.06.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-vlsm.1.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-vlsm-11121-335865.env
# output-file          ~/.opam/log/coq-vlsm-11121-335865.out
### output ###
# [...]
# ?H5 : "Elements B ?C"
# 
# ?EqDecision0 : "EqDecision B"
# 
# ?H6 : "FinSet B ?C"
# 
# 
# make[2]: *** [Makefile.coq:719: theories/VLSM/Lib/FinSetExtras.vo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[1]: *** [Makefile.coq:343: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-vlsm.1.1'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-vlsm 1.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-vlsm.1.1 coq.8.13.2' failed.

Installation size

No files were installed.

Uninstall 🧹

Command
true
Return code
0
Missing removes
none
Wrong removes
none