ยซ Up

coinduction 1.5 Error ๐Ÿ”ฅ

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.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.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"
dev-repo: "git+https://github.com/damien-pous/coinduction.git"
bug-reports: "https://github.com/damien-pous/coinduction/issues"
license: "LGPL-3.0-or-later"
synopsis: "A library and plugin 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.
This library provides a formalisation on enhancements based on the companion, as well as tactics in making it straightforward to perform proofs by enhanced coinduction.
"""
build: [
  [make "-j%{jobs}%" ]
]
install: [make "install"]
depends: [
  "ocaml"
  "coq" {>= "8.15"}
]
tags: [
  "keyword:coinduction"
  "keyword:up to techniques"
  "keyword:companion"
  "logpath:Coinduction"
]
authors: [
  "Damien Pous"
]
url {
  src:
    "https://github.com/damien-pous/coinduction/archive/v1.5.tar.gz"
  checksum: "sha512=433fbfc9b1f3828811fba93e176868ac190f3a861b49456adb24f8a0bee86c7454ce1f5edd143d14eda4b1a613d05ae5e746a748ea34c557695f0fa0f63af29a"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coinduction.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.1.5 coq.dev
Return code
0
Duration
1 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-coinduction.1.5 coq.dev
Return code
7936
Duration
1 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.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.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
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-coinduction 1.5
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-coinduction.1.5: http]
[coq-coinduction.1.5] downloaded from https://github.com/damien-pous/coinduction/archive/v1.5.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-coinduction: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-coinduction.1.5)
- coq_makefile -f _CoqProject -o Makefile.coq
- Warning: it is recommended you provide a META.package-name file
- Warning: since you build plugins. See also -generate-meta-for-package.
- COQDEP VFILES
- COQPP src/reification_g.mlg
- CAMLDEP src/reification_g.mli
- CAMLDEP src/reification.mli
- OCAMLLIBDEP src/coinduction_plugin.mlpack
- CAMLDEP src/reification.ml
- CAMLDEP src/reification_g.ml
- *** Error: 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".
- COQDEP VFILES
- *** Error: 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".
- COQDEP VFILES
- *** Error: 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".
- COQDEP VFILES
- *** Error: 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] The compilation of coq-coinduction failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-coinduction.1.5 ================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.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-13731-335865.env
# output-file          ~/.opam/log/coq-coinduction-13731-335865.out
### output ###
# *** Error: 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,
# [...]
#            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
# *** Error: 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
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-coinduction.1.5 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none