ยซ 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                   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"
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.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-bonsai.1.0.0 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-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        dev
  - install coq-list-string    2.1.2
  - install coq-simple-io      dev
===== 8 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-cunit.1.0.0  (https://github.com/clarus/coq-cunit/archive/1.0.0.tar.gz)
-> retrieved coq-error-handlers.1.2.0  (https://github.com/clarus/coq-error-handlers/archive/1.2.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 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".
-> installed cppo.1.6.9
-> installed ocamlbuild.0.14.3
-> retrieved coq-simple-io.dev  (git+https://github.com/Lysxia/coq-simple-io#master)
-> retrieved coq-ext-lib.dev  (git+https://github.com/coq-community/coq-ext-lib#master)
[ERROR] The compilation of coq-ext-lib.dev failed at "make -j4 theories".
#=== ERROR while compiling coq-list-plus.1.1.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-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-20760-9baf68.env
# output-file          ~/.opam/log/coq-list-plus-20760-9baf68.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: Fatal error: Not enough heap memory to reserve minor heaps
# Not enough heap memory to reserve minor heaps
# Aborted
# make[1]: *** [Makefile:847: src/List.vo] Error 134
# make[1]: *** Waiting for unfinished jobs....
# Aborted (core dumped)
# make[1]: *** [Makefile:847: src/Sort.vo] Error 134
# make: *** [Makefile:417: all] Error 2
#=== ERROR while compiling coq-ext-lib.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-ext-lib.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 theories
# exit-code            2
# env-file             ~/.opam/log/coq-ext-lib-20760-4f857b.env
# output-file          ~/.opam/log/coq-ext-lib-20760-4f857b.out
### output ###
# [...]
# Aborted
# make[2]: *** [Makefile.coq:847: theories/Tactics/Injection.vo] Error 134
# make[2]: *** Waiting for unfinished jobs....
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:847: theories/Tactics/Forward.vo] Error 134
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:847: theories/Core/Any.vo] Error 134
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:847: theories/Core/RelDec.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-ext-lib.dev'
# 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.0.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.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-20760-037333.env
# output-file          ~/.opam/log/coq-error-handlers-20760-037333.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 src/All.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[1]: *** [Makefile:847: src/All.vo] Error 134
# make: *** [Makefile:417: all] Error 2
#=== ERROR while compiling coq-cunit.1.0.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-cunit.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-cunit-20760-a29bc6.env
# output-file          ~/.opam/log/coq-cunit-20760-a29bc6.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 src/All.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[1]: *** [Makefile:847: src/All.vo] Error 134
# make: *** [Makefile:417: 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        dev
| - 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.0.0/.opam-switch/backup/state-20240114094021.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