ยซ Up

vst-64 dev Error with dependencies ๐Ÿš’

๐Ÿ“… (2022-05-24 01:37:32 UTC)

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                 dev         Formal proof management system
dune                3.1.1       Fast, portable, and opinionated build system
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# 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" "BITSIZE=64" "-j%{jobs}%" "msl" "sepcomp" "veric" "floyd"]
run-test: [make "IGNORECOQVERSION=true" "BITSIZE=64" "-j%{jobs}%" "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/"]
	]
depends: [
  "coq" {>= "8.11.0"}
  "coq-compcert-64" {>= "3.7~" != "3.7"}
]
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."
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-64.dev coq.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 4h opam install -y --deps-only coq-vst-64.dev coq.dev
Return code
7936
Duration
10 m 51 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                 dev         Formal proof management system
dune                3.1.1       Fast, portable, and opinionated build system
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install menhirLib       dev
  - install menhirSdk       dev
  - install menhir          dev
  - install coq-compcert-64 dev
===== 4 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-compcert-64.dev] synchronised from git+https://github.com/AbsInt/CompCert.git
[menhir.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
[menhirLib.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
[menhirSdk.dev] synchronised from git+https://gitlab.inria.fr/fpottier/menhir.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed menhirSdk.dev
-> installed menhirLib.dev
-> installed menhir.dev
[ERROR] The compilation of coq-compcert-64 failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./configure amd64-linux -prefix /home/bench/.opam/ocaml-base-compiler.4.10.2/variants/compcert64 -install-coqdev -clightgen -coqdevdir /home/bench/.opam/ocaml-base-compiler.4.10.2/lib/coq-variant/compcert64/compcert -ignore-coq-version".
#=== ERROR while compiling coq-compcert-64.dev ================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.10.2/.opam-switch/build/coq-compcert-64.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure amd64-linux -prefix /home/bench/.opam/ocaml-base-compiler.4.10.2/variants/compcert64 -install-coqdev -clightgen -coqdevdir /home/bench/.opam/ocaml-base-compiler.4.10.2/lib/coq-variant/compcert64/compcert -ignore-coq-version
# exit-code            2
# env-file             ~/.opam/log/coq-compcert-64-9911-e19ae3.env
# output-file          ~/.opam/log/coq-compcert-64-9911-e19ae3.out
### output ###
# Testing assembler support for CFI directives... yes
# Testing linker support for '-no-pie' / '-nopie' option... yes, '-no-pie'
# Testing Coq... version 8.16+alpha -- UNSUPPORTED
# Warning: this version of Coq is unsupported, proceed at your own risks.
# Testing OCaml... version 4.10.2 -- good!
# Testing OCaml native-code compiler...yes
# Testing OCaml .opt compilers... yes
# Testing Menhir... NOT FOUND
# Error: make sure Menhir version 20190626 or later is installed.
# Testing GNU make... version 4.2.1 (command 'make') -- good!
# One or several required tools are missing or too old.  Aborting.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-compcert-64 dev
+- 
+- The following changes have been performed
| - install menhir    dev
| - install menhirLib dev
| - install menhirSdk dev
+- 
# 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.10.2/.opam-switch/backup/state-20220523123430.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