ยซ Up

vst-iris 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 with Iris"
description: "VST with support for Iris tactics, definitions, and notation. Especially useful for reasoning about fine-grained concurrent programs and logical atomicity."
authors: [
  "William Mansky"
  "Shengyi Wang"
]
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}%" "build-iris" "IGNORECOQVERSION=true" "ZLIST=platform" "BITSIZE=64"]
]
install: [
  [make "install-iris" "IGNORECOQVERSION=true" "ZLIST=platform" "BITSIZE=64"]
]
run-test: [
  [make "-j%{jobs}%" "atomics" "IGNORECOQVERSION=true" "ZLIST=platform" "BITSIZE=64"]
]
depends: [
  "coq-vst" { = version }
  "coq-iris" {>= "4.0.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-iris.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-iris.dev coq.dev
Return code
7936
Duration
3 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-stdpp     1.9.0
  - install coq-vst-zlist dev
  - install menhir        dev
  - install coq-iris      4.1.0
  - install coq-compcert  dev
  - install coq-vst       dev
===== 10 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-iris.4.1.0  (https://gitlab.mpi-sws.org/iris/iris/-/archive/iris-4.1.0.tar.gz)
-> retrieved coq-flocq.dev  (git+https://gitlab.inria.fr/flocq/flocq.git#master)
-> retrieved coq-stdpp.1.9.0  (https://gitlab.mpi-sws.org/iris/stdpp/-/archive/coq-stdpp-1.9.0.tar.gz)
[ERROR] The compilation of coq-flocq.dev failed at "./configure".
[ERROR] The compilation of coq-stdpp.1.9.0 failed at "./make-package stdpp -j4".
-> 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 coq-vst.dev  (git+https://github.com/PrincetonUniversity/VST.git#master)
-> retrieved coq-vst-zlist.dev  (git+https://github.com/PrincetonUniversity/VST.git#master)
-> retrieved menhir.dev  (git+https://gitlab.inria.fr/fpottier/menhir.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)
-> retrieved menhirSdk.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed menhirLib.dev
-> 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-10249-00df85.env
# output-file          ~/.opam/log/coq-vst-zlist-10249-00df85.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-stdpp.1.9.0 ====================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-stdpp.1.9.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./make-package stdpp -j4
# exit-code            2
# env-file             ~/.opam/log/coq-stdpp-10249-a70be5.env
# output-file          ~/.opam/log/coq-stdpp-10249-a70be5.out
### output ###
# [...]
# Aborted (core dumped)
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# 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 stdpp/options.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[1]: *** [Makefile.package.stdpp:847: stdpp/options.vo] Error 134
# make: *** [Makefile.package.stdpp:417: all] Error 2
#=== 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-10249-d76eb7.env
# output-file          ~/.opam/log/coq-menhirlib-10249-d76eb7.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: Version.vo] Error 134
# make[3]: *** Waiting for unfinished jobs....
# Aborted
# make[3]: *** [CoqMakefile:847: Alphabet.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-10249-1066d4.env
# output-file          ~/.opam/log/coq-flocq-10249-1066d4.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-stdpp     1.9.0
| - 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-20240115072004.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