ยซ Up

coinduction-examples 1.5 Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
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.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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.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-coinduction-examples.1.5 coq.dev
Return code
7936
Duration
2 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
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.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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      dev
  - install coq-relation-algebra dev
===== 3 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-coinduction.1.6] downloaded from https://github.com/damien-pous/coinduction/archive/v1.6.tar.gz
[coq-relation-algebra.dev] synchronised from git+https://github.com/damien-pous/relation-algebra.git#master
[coq-aac-tactics.dev] synchronised from git+https://github.com/coq-community/aac-tactics.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-coinduction failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
-> installed coq-aac-tactics.dev
-> installed coq-relation-algebra.dev
#=== ERROR while compiling coq-coinduction.1.6 ================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.14.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-18326-8b9749.env
# output-file          ~/.opam/log/coq-coinduction-18326-8b9749.out
### output ###
# [...]
# Beware that the default locality for '::' is #[export], as opposed to
# #[global] for ':>' currently. Add an explicit #[global] attribute to the
# field if you need to keep the current behavior. For example: "Class foo := {
# #[global] field :: bar }."
# [future-coercion-class-field,deprecated-since-8.17,deprecated,default]
# File "src/reification.ml", line 88, characters 2-20:
# 88 |   Tactics.generalize [Coq.eq_refl ttbr tbr]
#        ^^^^^^^^^^^^^^^^^^
# Error: Unbound value Tactics.generalize
# make[1]: *** [Makefile.coq:765: src/reification.cmx] Error 2
# make[1]: *** Waiting for unfinished jobs....
# make: *** [Makefile.coq:417: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coinduction 1.6
+- 
+- The following changes have been performed
| - install coq-aac-tactics      dev
| - install coq-relation-algebra dev
+- 
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
    opam switch import "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/backup/state-20240101181116.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