ยซ Up

vst 2.8 Error with dependencies ๐Ÿš’

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.1      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.11.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.2      Official release 4.11.2
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"
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."
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"
  "William Mansky"
]
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"
patches: [ "0001-Fix-issue-485-make-install-with-IGNORECOQVERSION.patch" ]
build: [
  [make "-j%{jobs}%" "IGNORECOQVERSION=true" "BITSIZE=64"]
]
install: [
  [make "install" "IGNORECOQVERSION=true" "BITSIZE=64"]
]
depends: [
  "ocaml"
  "coq" {>= "8.12" & < "8.15~"}
  "coq-compcert" {= "3.9"}
  "coq-flocq" {>= "3.2.1"}
]
tags: [
  "category:Computer Science/Semantics and Compilation/Semantics"
  "keyword:C"
  "logpath:VST"
  "date:2021-06-01"
]
url {
  src: "https://github.com/PrincetonUniversity/VST/archive/v2.8.tar.gz"
  checksum: "sha512=80fae7277baf77319c9789fe4d170857862798988980f14c6ca4e11e5e027aff5dbf908848a193f90b0fb2a0dd7d12cf5f4446e2e5c13682e636d89838a08cae"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-vst.2.8 coq.8.13.1
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-vst.2.8 coq.8.13.1
Return code
7936
Duration
38 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.1      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.11.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.11.2      Official release 4.11.2
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
The following actions will be performed:
  - install conf-g++      1.0
  - install dune          3.4.1
  - install coq-menhirlib 20220210
  - install coq-flocq     3.4.3
  - install menhirSdk     20220210
  - install menhirLib     20220210
  - install menhir        20220210
  - install coq-compcert  3.9
===== 8 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-flocq.3.4.3] downloaded from https://flocq.gitlabpages.inria.fr/releases/flocq-3.4.3.tar.gz
[coq-compcert.3.9] downloaded from https://github.com/AbsInt/CompCert/archive/v3.9.tar.gz
[coq-menhirlib.20220210] downloaded from https://gitlab.inria.fr/fpottier/menhir/-/archive/20220210/archive.tar.gz
[menhir.20220210] found in cache
[menhirLib.20220210] found in cache
[dune.3.4.1] downloaded from cache at https://opam.ocaml.org/cache
[menhirSdk.20220210] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
-> installed coq-menhirlib.20220210
-> installed dune.3.4.1
-> installed menhirSdk.20220210
-> installed menhirLib.20220210
-> installed menhir.20220210
-> installed coq-flocq.3.4.3
[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.9 ===================================#
# context              2.0.7 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.11.2/.opam-switch/build/coq-compcert.3.9
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-compcert-30917-499329.env
# output-file          ~/.opam/log/coq-compcert-30917-499329.out
### output ###
# [...]
# OCAMLOPT cfrontend/PrintCsyntax.ml
# OCAMLOPT x86/TargetPrinter.ml
# OCAMLOPT extraction/SelectOp.ml
# OCAMLOPT backend/Inliningaux.ml
# OCAMLOPT backend/IRC.ml
# OCAMLOPT extraction/Inlining.ml
# OCAMLOPT cfrontend/PrintClight.ml
# OCAMLOPT backend/PrintAsm.ml
# OCAMLOPT driver/Interp.ml
# OCAMLOPT driver/Frontend.ml
# OCAMLOPT backend/Regalloc.ml
# File
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-compcert 3.9
+- 
+- The following changes have been performed
| - install conf-g++      1.0
| - install coq-flocq     3.4.3
| - install coq-menhirlib 20220210
| - install dune          3.4.1
| - install menhir        20220210
| - install menhirLib     20220210
| - install menhirSdk     20220210
+- 
# 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.11.2/.opam-switch/backup/state-20220914231924.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