« Up

albert 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: "A certified compiler for Albert, an intermediate language for compilers targeting Tezos' smart contract language Michelson"
maintainer: "albert@nomadic-labs.com"
authors: [ "Raphaël Cauderlier" "Bruno Bernardo" "Julien Tesson" "Arvid Jakobsson" "Basile Pesin" ]
homepage: "https://gitlab.com/nomadic-labs/albert/"
dev-repo: "git+https://gitlab.com/nomadic-labs/albert/"
bug-reports: "https://gitlab.com/nomadic-labs/albert/issues"
license: "MIT"
build: [
  [ make ]
  [ make "test" {with-test} ]
]
install: [ make "install" ]
depends: [
  "dune"
  "ott"
  "menhir"
  "coq" {>= "8.8.2"}
  "coq-ott"
  "coq-menhirlib"
  "coq-mi-cho-coq"
  "coq-list-string"
  "coq-moment" {>= "1.2.0"}
]
description:"""
Albert is an intermediate smart contract programming language
targeting Michelson, the language for the Tezos blockchain. Albert is
an imperative language with variables and records, abstracting the
Michelson stack. The intent of Albert is to serve as a compilation
target for high-level smart contract programming languages. The linear
type system of Albert ensures that an Albert program, compiled to the
stack-based Michelson language, properly consumes all stack values.
This package contains the ott specification of the language, the
Albert compiler targeting Michelson written in Coq and extracted to OCaml.
"""
tags: [
  "category:Computer Science/Semantics and Compilation/Compilation"
  "keyword:blockchain"
  "keyword:albert"
  "keyword:semantics"
  "keyword:smart-contract"
  "keyword:tezos"
  "logpath:Albert"
]
url {
  src: "git+https://gitlab.com/nomadic-labs/albert.git#master"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-albert.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-albert.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 menhirLib           dev
  - install ocamlbuild          0.14.3
  - install menhirSdk           dev
  - install coq-error-handlers  1.2.0
  - install coq-list-plus       1.1.0
  - install conf-ruby           1.0.0
  - install coq-cunit           1.0.0
  - install coq-menhirlib       dev
  - install coq-ott             dev
  - install coq-function-ninjas 1.0.0
  - install stdlib-shims        0.3.0
  - install menhir              dev
  - install coq-list-string     2.1.2
  - install ocamlgraph          2.1.0
  - install coq-moment          1.2.1
  - install ott                 0.33
  - install coq-mi-cho-coq      dev
===== 17 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-cunit.1.0.0  (https://github.com/clarus/coq-cunit/archive/1.0.0.tar.gz)
-> installed conf-ruby.1.0.0
-> retrieved coq-error-handlers.1.2.0  (https://github.com/clarus/coq-error-handlers/archive/1.2.0.tar.gz)
-> retrieved coq-function-ninjas.1.0.0  (https://github.com/clarus/coq-function-ninjas/archive/1.0.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-moment.1.2.1  (https://github.com/clarus/coq-moment/archive/refs/tags/1.21.tar.gz)
[ERROR] The compilation of coq-cunit.1.0.0 failed at "make -j4".
[ERROR] The compilation of coq-error-handlers.1.2.0 failed at "make -j4".
[ERROR] The compilation of coq-function-ninjas.1.0.0 failed at "make -j4".
[ERROR] The compilation of coq-list-plus.1.1.0 failed at "make -j4".
-> retrieved coq-mi-cho-coq.dev  (git+https://gitlab.com/nomadic-labs/mi-cho-coq.git#master)
-> retrieved coq-ott.dev  (git+https://github.com/ott-lang/ott.git#master)
[ERROR] The compilation of coq-ott.dev failed at "make -j4 -C coq".
-> 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 menhirLib.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> retrieved ocamlbuild.0.14.3  (https://opam.ocaml.org/cache)
-> retrieved ocamlgraph.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved ott.0.33  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed menhirLib.dev
-> retrieved menhirSdk.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed ocamlgraph.2.1.0
-> installed menhirSdk.dev
-> retrieved menhir.dev  (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed ott.0.33
-> installed ocamlbuild.0.14.3
-> installed menhir.dev
#=== ERROR while compiling coq-ott.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-ott.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 -C coq
# exit-code            2
# env-file             ~/.opam/log/coq-ott-9260-e8409e.env
# output-file          ~/.opam/log/coq-ott-9260-e8409e.out
### output ###
# [...]
# COQC ott_list_eq_dec.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[2]: *** [Makefile.coq:847: ott_list_eq_dec.vo] Error 134
# make[2]: *** Waiting for unfinished jobs....
# Aborted
# make[2]: *** [Makefile.coq:847: ott_list_support.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-ott.dev/coq'
# make: *** [Makefile:2: default] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-ott.dev/coq'
#=== 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-9260-04607f.env
# output-file          ~/.opam/log/coq-menhirlib-9260-04607f.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-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-9260-c54a80.env
# output-file          ~/.opam/log/coq-list-plus-9260-c54a80.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:847: src/Sort.vo] Error 134
# make[1]: *** Waiting for unfinished jobs....
# Aborted
# make[1]: *** [Makefile:847: src/List.vo] Error 134
# make: *** [Makefile:417: all] Error 2
#=== ERROR while compiling coq-function-ninjas.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-function-ninjas.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-function-ninjas-9260-9c34ca.env
# output-file          ~/.opam/log/coq-function-ninjas-9260-9c34ca.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 All.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[1]: *** [Makefile:847: All.vo] Error 134
# make: *** [Makefile:417: all] 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-9260-a4089b.env
# output-file          ~/.opam/log/coq-error-handlers-9260-a4089b.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-9260-372fd4.env
# output-file          ~/.opam/log/coq-cunit-9260-372fd4.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-function-ninjas 1.0.0
| - build coq-list-plus       1.1.0
| - build coq-menhirlib       dev
| - build coq-ott             dev
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-ruby    1.0.0
| - install menhir       dev
| - install menhirLib    dev
| - install menhirSdk    dev
| - install ocamlbuild   0.14.3
| - install ocamlgraph   2.1.0
| - install ott          0.33
| - install stdlib-shims 0.3.0
+- 
# 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-20240113181314.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