ยซ Up

vst dev Error with dependencies ๐Ÿš’

๐Ÿ“… (2019-11-29 00:21:18 UTC)

Context

# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-num            base        Num library distributed with the OCaml compiler
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
conf-m4             1           Virtual package relying on m4
coq                 8.11.dev    Formal proof management system
num                 0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0      Official 4.05.0 release
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.11.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.11.dev
Return code
7936
Duration
1 m 12 s
Output
# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-num            base        Num library distributed with the OCaml compiler
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
conf-m4             1           Virtual package relying on m4
coq                 8.11.dev    Formal proof management system
num                 0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0      Official 4.05.0 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
The following actions will be performed:
  - install ocamlbuild   0.14.0
  - install menhir       20190924
  - install coq-compcert 3.6
===== 3 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocamlbuild.0.14.0] downloaded from cache at https://opam.ocaml.org/cache
[coq-compcert.3.6] downloaded from https://github.com/AbsInt/CompCert/archive/v3.6.tar.gz
[menhir.20190924] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlbuild.0.14.0
-> installed menhir.20190924
[ERROR] The compilation of coq-compcert failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-compcert.3.6 ===================================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-compcert.3.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-compcert-13464-1c4147.env
# output-file          ~/.opam/log/coq-compcert-13464-1c4147.out
### output ###
# [...]
# COQC lib/Integers.v
# COQC lib/Floats.v
# COQC lib/Ordered.v
# File "./lib/Ordered.v", line 177, characters 0-4:
# Error:  (in proof eq_refl): Attempt to save an incomplete proof
# 
# Makefile:193: recipe for target 'lib/Ordered.vo' failed
# make[1]: *** [lib/Ordered.vo] Error 1
# make[1]: *** Waiting for unfinished jobs....
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-compcert.3.6'
# Makefile:135: recipe for target 'all' failed
# make: *** [all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-compcert 3.6
+- 
+- The following changes have been performed
| - install menhir     20190924
| - install ocamlbuild 0.14.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.05.0/.opam-switch/backup/state-20191128144825.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