ยซ Up

coinduction-examples 1.5 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: "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/v1.5.tar.gz"
  checksum: "sha512=ac0a4fd9e2a2e0a3477137b35543c5a6043521bb0ea7e030630ddaafc28451554b2d5d927627e10dc539f1f623ebc8c7779f69bc45a1f99fb5e05ee6581609dc"
}

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.5 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.5 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-coinduction      1.6
  - install coq-aac-tactics      8.17.0
  - install coq-relation-algebra 1.7.9
===== 3 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-aac-tactics.8.17.0  (https://github.com/coq-community/aac-tactics/archive/v8.17.0.tar.gz)
-> 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)
[ERROR] The compilation of coq-aac-tactics.8.17.0 failed at "make -j4".
[ERROR] The compilation of coq-coinduction.1.6 failed at "make -j4".
#=== ERROR while compiling coq-coinduction.1.6 ================================#
# 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-coinduction.1.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coinduction-30083-af97d2.env
# output-file          ~/.opam/log/coq-coinduction-30083-af97d2.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.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.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-30083-0ee5e4.env
# output-file          ~/.opam/log/coq-aac-tactics-30083-0ee5e4.out
### output ###
# [...]
# Fatal error: Not enough heap memory to reserve minor heaps
# Fatal error: Not enough heap memory to reserve minor heaps
# CAMLC -c src/search_monad.mli
# CAMLC -c src/aac_rewrite.mli
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:830: theories/Constants.vo] Error 134
# make[2]: *** Waiting for unfinished jobs....
# Aborted
# make[2]: *** [Makefile.coq:830: theories/Utils.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-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