ยซ Up

vst 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: ["Andrew W. Appel"
  "Lennart Beringer"
  "Sandrine Blazy"
  "Qinxiang Cao"
  "Santiago Cuellar"
  "Robert Dockins"
  "Josiah Dodds"
  "Nick Giannarakis"
  "Samuel Gruetter"
  "Aquinas Hobor"
  "Jean-Marie Madiot"
  ]
maintainer: "VST team"
homepage: "http://vst.cs.princeton.edu/"
dev-repo: "git+https://github.com/PrincetonUniversity/VST.git"
bug-reports: "https://github.com/PrincetonUniversity/VST/issues"
license: "https://raw.githubusercontent.com/PrincetonUniversity/VST/master/LICENSE"
build: [
	[make "IGNORECOQVERSION=true" "-j%{jobs}%" "COMPCERT=%{lib}%/coq/user-contrib/compcert" "floyd" "progs"] 
	]
install: [
	["mkdir" "-p" "%{lib}%/coq/user-contrib/VST"]
	["cp" "-r" "msl" "%{lib}%/coq/user-contrib/VST/"]
	["cp" "-r" "veric" "%{lib}%/coq/user-contrib/VST/"]
	["cp" "-r" "floyd" "%{lib}%/coq/user-contrib/VST/"]
	["cp" "-r" "sepcomp" "%{lib}%/coq/user-contrib/VST/"]
	["cp" "-r" "progs" "%{lib}%/coq/user-contrib/VST/"]
	]
remove: [
	["rm" "-fr" "%{lib}%/coq/user-contrib/VST"]
	]
depends: [
  "ocaml"
  "coq" {>= "8.7.0"}
  "coq-compcert" {>= "3.3.0"}
]
synopsis: "Verified Software Toolchain"
description:
  "The software toolchain includes static analyzers to check assertions about your program; optimizing compilers to translate your program to machine language; operating systems and libraries to supply context for your program. The Verified Software Toolchain project assures with machine-checked proofs that the assertions claimed at the top of the toolchain really hold in the machine-language program, running in the operating-system context."
flags: light-uninstall
url {
  src: "git+https://github.com/PrincetonUniversity/VST.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-vst.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-vst.dev coq.8.10.dev
Return code
0
Duration
27 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-vst.dev coq.8.10.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-m4             1           Virtual package relying on m4
coq                 8.10.dev    Formal proof management system
coq-compcert        dev         The CompCert C compiler.
dune                2.6.1       Fast, portable, and opinionated build system
menhir              20200624    An LR(1) parser generator
menhirLib           20200624    Runtime support library for parsers generated by Menhir
menhirSdk           20200624    Compile-time library for auxiliary tools related to Menhir
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-vst dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-vst.dev] synchronised from git+https://github.com/PrincetonUniversity/VST.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-vst failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make IGNORECOQVERSION=true -j4 COMPCERT=/home/bench/.opam/ocaml-base-compiler.4.08.1/lib/coq/user-contrib/compcert floyd progs".
#=== ERROR while compiling coq-vst.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-vst.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make IGNORECOQVERSION=true -j4 COMPCERT=/home/bench/.opam/ocaml-base-compiler.4.08.1/lib/coq/user-contrib/compcert floyd progs
# exit-code            2
# env-file             ~/.opam/log/coq-vst-16838-c743ac.env
# output-file          ~/.opam/log/coq-vst-16838-c743ac.out
### output ###
# cat: /VERSION: No such file or directory
# cat: /VERSION: No such file or directory
# Makefile:125: *** COMPCERT VERSION MISMATCH: COMPCERT_VERSION=version=3.7 but /VERSION=.  Stop.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-vst 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