ยซ 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.12.2      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
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; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-vst.dev coq.dev
Return code
7936
Duration
2 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.12.2      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
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)
[ERROR] The compilation of coq-flocq.dev failed at "./configure".
-> retrieved coq-compcert.dev  (git+https://github.com/AbsInt/CompCert.git)
-> retrieved coq-menhirlib.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
[ERROR] The compilation of coq-menhirlib.dev failed at "make -C coq-menhirlib -j4".
-> retrieved menhir.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> retrieved coq-vst-zlist.dev  (git+https://github.com/PrincetonUniversity/VST.git#master)
[ERROR] The compilation of coq-vst-zlist.dev failed at "make -C zlist -j4".
-> retrieved menhirLib.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed menhirLib.dev
-> retrieved menhirSdk.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed menhirSdk.dev
-> installed menhir.dev
#=== ERROR while compiling coq-vst-zlist.dev ==================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-vst-zlist.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C zlist -j4
# exit-code            2
# env-file             ~/.opam/log/coq-vst-zlist-27617-a91881.env
# output-file          ~/.opam/log/coq-vst-zlist-27617-a91881.out
### output ###
# [...]
# W: This Makefile was generated by Coq 8.20+alpha
# W: while the current Coq version is 
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# COQC sublist.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:847: sublist.vo] Error 134
# make[1]: *** [Makefile.coq:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-vst-zlist.dev/zlist'
# make: *** [Makefile:6: all] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-vst-zlist.dev/zlist'
#=== ERROR while compiling coq-menhirlib.dev ==================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-menhirlib.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C coq-menhirlib -j4
# exit-code            2
# env-file             ~/.opam/log/coq-menhirlib-27617-40dbe9.env
# output-file          ~/.opam/log/coq-menhirlib-27617-40dbe9.out
### output ###
# [...]
# COQC Version.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[3]: *** [CoqMakefile:847: Alphabet.vo] Error 134
# make[3]: *** Waiting for unfinished jobs....
# Aborted
# make[3]: *** [CoqMakefile:847: Version.vo] Error 134
# make[2]: *** [CoqMakefile:417: all] Error 2
# make[1]: *** [Makefile:18: invoke-coqmakefile] Error 2
# make: *** [Makefile:6: all] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-menhirlib.dev/coq-menhirlib'
#=== ERROR while compiling coq-flocq.dev ======================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-flocq.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure
# exit-code            1
# env-file             ~/.opam/log/coq-flocq-27617-cd9547.env
# output-file          ~/.opam/log/coq-flocq-27617-cd9547.out
### output ###
# checking for coqc... /home/bench/.opam/ocaml-base-compiler.5.0.0/bin/coqc
# checking Coq version... Fatal error: Not enough heap memory to reserve minor heaps
# configure: error: must be at least 8.12 (you have version ).
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-flocq     dev
| - build coq-menhirlib dev
| - build coq-vst-zlist dev
+- 
+- The following changes have been performed (the rest was aborted)
| - 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.0.0/.opam-switch/backup/state-20240114002812.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