ยซ Up

coinduction-examples 1.6 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.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: "damien.pous@ens-lyon.fr"
homepage: "https://github.com/damien-pous/coinduction-examples"
dev-repo: "git+https://github.com/damien-pous/coinduction-examples.git"
bug-reports: "https://github.com/damien-pous/coinduction-examples/issues"
license: "LGPL-3.0-or-later"
synopsis: "Examples on how to use the coq-coinduction library, for doing proofs by (enhanced) coinduction"
description: """
Coinductive predicates are greatest fixpoints of monotone functions.
The `companion' makes it possible to enhance the associated coinduction scheme.
The coq-coinduction library provides tools to exploit such techniques; the present library illustrates its usage on three examples: divergence, Milner's CCS, and Rutten's stream calculus.
"""
build: [
  [make "-j%{jobs}%" ]
]
install: [make "install"]
depends: [
  "coq-coinduction" {>= "1.5" & < "1.7"} 
  "coq-aac-tactics" 
  "coq-relation-algebra" 
]
tags: [
  "keyword:coinduction"
  "keyword:up to techniques"
  "keyword:companion"
  "keyword:bisimilarity"
  "keyword:divergence"
  "keyword:streams"
  "keyword:CCS"
  "logpath:CoinductionExamples"
]
authors: [
  "Damien Pous"
]
url {
  src:
    "https://github.com/damien-pous/coinduction-examples/archive/refs/tags/v1.6.tar.gz"
  checksum: "sha512=ba6847950c729f6d2ba911fadeb0dbcd398aeadee3b69002f3bb59fcc52cc8a5f2f3fc275350d43c0712206a9a1ed7709849b40dc9dca3861c346c809115e94c"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coinduction-examples.1.6 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-coinduction-examples.1.6 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.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-coinduction      1.6
  - install coq-aac-tactics      8.17.0
  - install coq-relation-algebra 1.7.9
===== 3 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-relation-algebra.1.7.9  (https://github.com/damien-pous/relation-algebra/archive/refs/tags/v.1.7.9.tar.gz)
-> retrieved coq-coinduction.1.6  (https://github.com/damien-pous/coinduction/archive/v1.6.tar.gz)
-> retrieved coq-aac-tactics.8.17.0  (https://github.com/coq-community/aac-tactics/archive/v8.17.0.tar.gz)
[ERROR] The compilation of coq-coinduction.1.6 failed at "make -j4".
[ERROR] The compilation of coq-aac-tactics.8.17.0 failed at "make -j4".
#=== ERROR while compiling coq-coinduction.1.6 ================================#
# 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-coinduction.1.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coinduction-20332-661706.env
# output-file          ~/.opam/log/coq-coinduction-20332-661706.out
### output ###
# [...]
# File "src/reification.ml", line 10, characters 14-28:
# 10 | let error s = Printf.kprintf (fun s -> CErrors.user_err (Pp.str s)) ("[coinduction] "^^s)
#                    ^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.Printf.kprintf
# Use Printf.ksprintf instead.
# CAMLOPT -c -for-pack Plugin src/reification_g.ml
# CAMLOPT -pack -o src/plugin.cmx
# CAMLOPT -a -o src/plugin.cmxa
# CAMLOPT -shared -o src/plugin.cmxs
# Aborted (core dumped)
# make[1]: *** [Makefile.coq:830: theories/lattice.vo] Error 134
# make: *** [Makefile.coq:409: all] Error 2
#=== ERROR while compiling coq-aac-tactics.8.17.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-aac-tactics.8.17.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-aac-tactics-20332-a8bc31.env
# output-file          ~/.opam/log/coq-aac-tactics-20332-a8bc31.out
### output ###
# [...]
# CAMLC -c src/coq.mli
# CAMLC -c src/helper.mli
# 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:830: theories/Utils.vo] Error 134
# make[2]: *** Waiting for unfinished jobs....
# Aborted
# make[2]: *** [Makefile.coq:830: theories/Constants.vo] Error 134
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-aac-tactics.8.17.0'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-aac-tactics 8.17.0
| - build coq-coinduction 1.6
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

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