ยซ Up

vst dev Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-config          3           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        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"
  "Josiah Dodds"
  "Qinxiang Cao"
  "Aquinas Hobor"
  "Gordon Stewart"
  "Qinshi Wang"
  "Sandrine Blazy"
  "Santiago Cuellar"
  "Robert Dockins"
  "Nick Giannarakis"
  "Samuel Gruetter"
  "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 "-j%{jobs}%" "vst" "IGNORECOQVERSION=true" "IGNORECOMPCERTVERSION=true" "ZLIST=platform" "BITSIZE=64"]
]
install: [
  [make "install" "IGNORECOQVERSION=true" "IGNORECOMPCERTVERSION=true" "ZLIST=platform" "BITSIZE=64"]
]
run-test: [
  [make "-j%{jobs}%" "test" "IGNORECOQVERSION=true" "IGNORECOMPCERTVERSION=true" "ZLIST=platform" "BITSIZE=64"]
]
depends: [
  "coq" {>= "8.14"}
  "coq-compcert" {>= "3.11"}
  "coq-vst-zlist" {>= "2.11"}
  "coq-flocq" {>= "4.1.0"}
]
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.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; timeout 4h opam install -y --deps-only coq-vst.dev coq.dev
Return code
7936
Duration
9 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
ocaml-config          3           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-flocq     dev
  - install menhirLib     dev
  - install coq-menhirlib dev
  - install menhirSdk     dev
  - install coq-vst-zlist dev
  - install menhir        dev
  - install coq-compcert  dev
===== 7 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-flocq.dev  (git+https://gitlab.inria.fr/flocq/flocq.git#master)
-> retrieved coq-compcert.dev  (git+https://github.com/AbsInt/CompCert.git)
-> retrieved coq-vst-zlist.dev  (git+https://github.com/PrincetonUniversity/VST.git#master)
-> retrieved coq-menhirlib.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> retrieved menhir.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed coq-vst-zlist.dev
-> retrieved menhirSdk.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed coq-menhirlib.dev
-> retrieved menhirLib.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed coq-flocq.dev
-> installed menhirSdk.dev
-> installed menhirLib.dev
-> installed menhir.dev
[ERROR] The compilation of coq-compcert.dev failed at "./configure amd64-linux -prefix /home/bench/.opam/ocaml-base-compiler.5.1.1 -install-coqdev -clightgen -use-external-Flocq -use-external-MenhirLib -coqdevdir /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/user-contrib/compcert -ignore-coq-version".
#=== ERROR while compiling coq-compcert.dev ===================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-compcert.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure amd64-linux -prefix /home/bench/.opam/ocaml-base-compiler.5.1.1 -install-coqdev -clightgen -use-external-Flocq -use-external-MenhirLib -coqdevdir /home/bench/.opam/ocaml-base-compiler.5.1.1/lib/coq/user-contrib/compcert -ignore-coq-version
# exit-code            2
# env-file             ~/.opam/log/coq-compcert-499-48decb.env
# output-file          ~/.opam/log/coq-compcert-499-48decb.out
### output ###
# Testing assembler support for CFI directives... yes
# Testing linker support for '-no-pie' / '-nopie' option... yes, '-no-pie'
# Testing Coq... version 8.20+alpha -- UNSUPPORTED
# Warning: this version of Coq is unsupported, proceed at your own risks.
# Testing OCaml... version 5.1.1 -- UNSUPPORTED
# Error: make sure OCaml version 4.05 to 4.14 is installed.
# Testing OCaml native-code compiler... yes
# Testing OCaml .opt compilers... yes
# Testing Menhir... version unreleased -- acceptable!
# Testing GNU make... version 4.3 (command 'make') -- good!
# One or several required tools are missing or too old.  Aborting.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-compcert dev
+- 
+- The following changes have been performed
| - install coq-flocq     dev
| - install coq-menhirlib dev
| - install coq-vst-zlist dev
| - 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:
    /usr/local/bin/opam switch import "/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/backup/state-20240129183342.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