ยซ 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-findutils        1           Virtual package relying on findutils
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.13.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.13.1      Official release 4.13.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       A library manager for OCaml
zarith                1.12        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"} 
  "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
6 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-findutils        1           Virtual package relying on findutils
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.13.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.13.1      Official release 4.13.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-aac-tactics      dev
  - install coq-coinduction      1.5
  - install coq-relation-algebra dev
===== 3 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-coinduction.1.5] downloaded from https://github.com/damien-pous/coinduction/archive/v1.5.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.5 ================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-coinduction.1.5
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coinduction-2543-8b9749.env
# output-file          ~/.opam/log/coq-coinduction-2543-8b9749.out
### output ###
# [...]
# If you are building with dune < 2.9.4 you must specify both
# the legacy and the findlib plugin name as in:
# Declare ML Module "foo_plugin:package-name.foo".
# COQDEP VFILES
# in file theories/tactics.v, coinduction_plugin is not a valid plugin name anymore.
# Plugins should be loaded using their public name according to findlib,
# for example package-name.foo and not foo_plugin.
# If you are building with dune < 2.9.4 you must specify both
# the legacy and the findlib plugin name as in:
# Declare ML Module "foo_plugin:package-name.foo".
# make[1]: *** No rule to make target '.Makefile.coq.d', needed by 'theories/lattice.vo'.  Stop.
# make: *** [Makefile.coq:408: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coinduction 1.5
+- 
+- 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.13.1/.opam-switch/backup/state-20220509112443.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