« Up

math-classes 8.15.0 Not compatible 👼

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: "b.a.w.spitters@gmail.com"
homepage: "https://github.com/coq-community/math-classes"
dev-repo: "git+https://github.com/coq-community/math-classes.git"
bug-reports: "https://github.com/coq-community/math-classes/issues"
license: "MIT"
synopsis: "A library of abstract interfaces for mathematical structures in Coq"
description: """
Math classes is a library of abstract interfaces for mathematical
structures, such as:
*  Algebraic hierarchy (groups, rings, fields, …)
*  Relations, orders, …
*  Categories, functors, universal algebra, …
*  Numbers: N, Z, Q, …
*  Operations, (shift, power, abs, …)
It is heavily based on Coq’s new type classes in order to provide:
structure inference, multiple inheritance/sharing, convenient
algebraic manipulation (e.g. rewriting) and idiomatic use of
notations.
"""
build: [
  [ "./configure.sh" ]
  [ make "-j%{jobs}%" ]
]
install: [make "install"]
depends: [
  "coq" {>= "8.11" & < "8.17~"}
  "coq-bignums" 
]
tags: [
  "logpath:MathClasses"
  "date:2022-01-20"
]
authors: [
  "Eelis van der Weegen"
  "Bas Spitters"
  "Robbert Krebbers"
]
url {
  src: "https://github.com/coq-community/math-classes/archive/refs/tags/8.15.0.tar.gz"
  checksum: "sha512=2c844e44294645fd5751a4e2b5a8f3ed1d7b38caa67e1b40920635d920ed8c39280363d8a755bdd653ccfa7f7253436548935bc8b266a550e05aea5a14beaec9"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-math-classes.8.15.0 coq.8.17.1
Return code
5120
Output
[NOTE] Package coq is already installed (current version is 8.17.1).
[ERROR] Package conflict!
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler >= 5.1.1 -> ocaml = 5.1.1
    - coq-math-classes = 8.15.0 -> coq < 8.17~ -> ocaml < 4.02.0
    You can temporarily relax the switch invariant with `--update-invariant'
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler >= 5.1.1
    - coq-math-classes = 8.15.0 -> coq < 8.17~ -> ocaml < 4.02.0 -> ocaml-base-compiler = 3.08.1
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.1.1 -> base-nnp
    - coq-math-classes = 8.15.0 -> coq < 8.17~
  * Missing dependency:
    - coq-math-classes = 8.15.0 -> coq < 8.17~ -> ocaml < 4.02.0 -> ocaml-variants >= 3.09.2 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
No solution found, exiting

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
opam remove -y coq; opam install -y --show-action --unlock-base coq-math-classes.8.15.0
Return code
0

Install dependencies

Command
true
Return code
0
Duration
0 s

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