ยซ Up

bonsai 1.0.0 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                   8.17.1      The Coq Proof Assistant
coq-core              8.17.1      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.1      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.1      The Coq Proof Assistant, XML protocol server
dune                  3.12.1      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"
maintainer: "dev@clarus.me"
homepage: "https://github.com/foobar-land/coq-bonsai"
dev-repo: "git+https://github.com/foobar-land/coq-bonsai.git"
bug-reports: "https://github.com/foobar-land/coq-bonsai/issues"
authors: ["Guillaume Claret"]
license: "GPL-3.0-only"
build: [
  ["./configure.sh"]
  [make "-j%{jobs}%"]
  [make "-C" "extraction"]
]
depends: [
  "coq" {>= "8.13.0"}
  "coq-list-string"
  "coq-simple-io" {>= "1.1.0"}
  "ocaml"
  "ocamlbuild" {build}
]
tags: [
  "category:Miscellaneous/Logical Puzzles and Entertainment"
  "keyword:bonsai"
  "keyword:effects"
  "keyword:extraction"
  "date:2021-10-04"
]
synopsis: "Generate a fresh Bonsai on your terminal"
url {
  src: "https://github.com/foobar-land/coq-bonsai/archive/refs/tags/v1.0.0.tar.gz"
  checksum: "sha512=0760e15ee5627651ead63f1ee527f487f89b49cc2327e8b4bf2da261c215895cd1c5541a0e729bebc576d4e58dddbc8cae6b5666a56e5a94e849ab773208c5d1"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-bonsai.1.0.0 coq.8.17.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-bonsai.1.0.0 coq.8.17.1
Return code
7936
Duration
1 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                   8.17.1      The Coq Proof Assistant
coq-core              8.17.1      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.1      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.1      The Coq Proof Assistant, XML protocol server
dune                  3.12.1      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-list-plus      1.1.0
  - install cppo               1.6.9
  - install coq-cunit          1.0.0
  - install ocamlbuild         0.14.3
  - install coq-error-handlers 1.2.0
  - install coq-ext-lib        0.12.0
  - install coq-list-string    2.1.2
  - install coq-simple-io      1.8.0
===== 8 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-error-handlers.1.2.0  (https://github.com/clarus/coq-error-handlers/archive/1.2.0.tar.gz)
-> retrieved coq-cunit.1.0.0  (https://github.com/clarus/coq-cunit/archive/1.0.0.tar.gz)
-> retrieved coq-ext-lib.0.12.0  (https://github.com/coq-community/coq-ext-lib/archive/refs/tags/v0.12.0.tar.gz)
-> retrieved coq-list-plus.1.1.0  (https://github.com/clarus/coq-list-plus/archive/1.1.0.tar.gz)
-> retrieved coq-list-string.2.1.2  (https://github.com/clarus/coq-list-string/archive/2.1.2.tar.gz)
-> retrieved coq-simple-io.1.8.0  (https://github.com/Lysxia/coq-simple-io/archive/1.8.0.tar.gz)
-> retrieved cppo.1.6.9  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.14.3  (https://opam.ocaml.org/cache)
[ERROR] The compilation of coq-error-handlers.1.2.0 failed at "make -j4".
[ERROR] The compilation of coq-cunit.1.0.0 failed at "make -j4".
[ERROR] The compilation of coq-list-plus.1.1.0 failed at "make -j4".
[ERROR] The compilation of coq-ext-lib.0.12.0 failed at "make -j4 theories".
-> installed cppo.1.6.9
-> installed ocamlbuild.0.14.3
#=== ERROR while compiling coq-list-plus.1.1.0 ================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-list-plus.1.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-list-plus-5047-cccd21.env
# output-file          ~/.opam/log/coq-list-plus-5047-cccd21.out
### output ###
# [...]
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# COQC src/List.v
# COQC src/Sort.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[1]: *** [Makefile:830: src/List.vo] Error 134
# make[1]: *** Waiting for unfinished jobs....
# Aborted
# make[1]: *** [Makefile:830: src/Sort.vo] Error 134
# make: *** [Makefile:409: all] Error 2
#=== ERROR while compiling coq-ext-lib.0.12.0 =================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-ext-lib.0.12.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 theories
# exit-code            2
# env-file             ~/.opam/log/coq-ext-lib-5047-ea2c09.env
# output-file          ~/.opam/log/coq-ext-lib-5047-ea2c09.out
### output ###
# [...]
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:830: theories/Core/RelDec.vo] Error 134
# make[2]: *** Waiting for unfinished jobs....
# Aborted
# make[2]: *** [Makefile.coq:830: theories/Tactics/Injection.vo] Error 134
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:830: theories/Core/Any.vo] Error 134
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:830: theories/Tactics/Forward.vo] Error 134
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-ext-lib.0.12.0'
# make: *** [Makefile:8: theories] Error 2
#=== ERROR while compiling coq-error-handlers.1.2.0 ===========================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-error-handlers.1.2.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-error-handlers-5047-d00dab.env
# output-file          ~/.opam/log/coq-error-handlers-5047-d00dab.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.17.1
# W: while the current Coq version is 
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# COQC src/All.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[1]: *** [Makefile:830: src/All.vo] Error 134
# make: *** [Makefile:409: all] Error 2
#=== ERROR while compiling coq-cunit.1.0.0 ====================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-cunit.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-cunit-5047-b3c2f1.env
# output-file          ~/.opam/log/coq-cunit-5047-b3c2f1.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.17.1
# W: while the current Coq version is 
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# COQC src/All.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[1]: *** [Makefile:830: src/All.vo] Error 134
# make: *** [Makefile:409: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-cunit          1.0.0
| - build coq-error-handlers 1.2.0
| - build coq-ext-lib        0.12.0
| - build coq-list-plus      1.1.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install cppo       1.6.9
| - install ocamlbuild 0.14.3
+- 
# 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-20231229042237.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