ยซ Up

vst 2.7 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"
build: [
  [make "-j%{jobs}%" "BITSIZE=64" "IGNORECOQVERSION=true"]
]
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/"]
]
depends: [
  "ocaml"
  "coq" {>= "8.12" & < "8.14"}
  "coq-compcert" {(= "3.8") | (= "3.8~open-source")}
  "coq-flocq" {>= "3.2.1"}
]
tags: [
  "category:Computer Science/Semantics and Compilation/Semantics"
  "keyword:C"
  "logpath:VST"
  "date:2020-12-20"
]
patches: ["makefile.patch"]
url {
  src: "https://github.com/PrincetonUniversity/VST/archive/v2.7.tar.gz"
  checksum: "sha256=970be13e71bdb013e2b9de64aecf1dda08228dd8ef3a1f6e4bb23ccd3a0896d3"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-vst.2.7 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.7 coq.8.13.1
Return code
7936
Duration
9 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 coq-menhirlib 20210310
  - install conf-g++      1.0
  - install dune          3.4.1
  - install coq-flocq     3.4.3
  - install menhirSdk     20210310
  - install menhirLib     20210310
  - install menhir        20210310
  - install coq-compcert  3.8
===== 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.8] downloaded from https://github.com/AbsInt/CompCert/archive/v3.8.tar.gz
[coq-menhirlib.20210310] downloaded from https://gitlab.inria.fr/fpottier/menhir/-/archive/20210310/archive.tar.gz
[menhir.20210310] found in cache
[menhirLib.20210310] found in cache
[dune.3.4.1] downloaded from cache at https://opam.ocaml.org/cache
[menhirSdk.20210310] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
[ERROR] The compilation of dune failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ocaml bootstrap.ml -j 4".
-> installed coq-menhirlib.20210310
[ERROR] The compilation of coq-flocq failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./remake -j4".
#=== ERROR while compiling dune.3.4.1 =========================================#
# context              2.0.7 | linux/x86_64 | ocaml-base-compiler.4.11.2 | https://opam.ocaml.org#0fc5b3d7
# path                 ~/.opam/ocaml-base-compiler.4.11.2/.opam-switch/build/dune.3.4.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml bootstrap.ml -j 4
# exit-code            2
# env-file             ~/.opam/log/dune-21585-82479e.env
# output-file          ~/.opam/log/dune-21585-82479e.out
### output ###
# ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
# ./.duneboot.exe -j 4
# cd _boot && /home/bench/.opam/ocaml-base-compiler.4.11.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads dune_sexp__conv.mli
# 

#=== ERROR while compiling coq-flocq.3.4.3 ====================================#
# 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-flocq.3.4.3
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./remake -j4
# exit-code            1
# env-file             ~/.opam/log/coq-flocq-21585-3d0870.env
# output-file          ~/.opam/log/coq-flocq-21585-3d0870.out
### output ###
# [...]
# File "./src/Pff/Pff.v", line 1088, characters 0-30:
# Warning:
# New coercion path [Z.of_nat; IZR] : nat >-> R is ambiguous with existing 
# [INR] : nat >-> R. [ambiguous-paths,typechecker]
# Finished src/Core/Raux.vo
# File "./src/Pff/Pff.v", line 1293, characters 0-16:
# Warning:
# New coercion path [Z.of_nat; IZR] : nat >-> R is ambiguous with existing 
# [INR] : nat >-> R. [ambiguous-paths,typechecker]
# Finished src/Core/Defs.vo
# Finished src/Core/Round_pred.vo
# Finished src/Pff/Pff.vo
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-flocq 3.4.3
| - build dune      3.4.1
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-g++      1.0
| - install coq-menhirlib 20210310
+- 
# 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-20220914094618.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