« Up

freespec-ffi 0.3 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.2      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
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: "Thomas Letan <lthms@soap.coffee>"
homepage: "https://github.com/lthms/FreeSpec"
dev-repo: "git+https://github.com/lthms/FreeSpec.git"
bug-reports: "https://github.com/lthms/FreeSpec.git/issues"
doc: "https://lthms.github.io/FreeSpec"
license: "MPL-2.0"
synopsis: "A framework for implementing and certifying impure computations in Coq"
description: """
FreeSpec is a framework for the Coq proof assistant which allows to
implement and specify impure computations. It can be used with coqffi
to write certified software.
"""
build: [
  ["patch" "-p1" "-i" "patches/opam-builds.patch"]
  ["dune" "build" "-p" name "-j" jobs]
]
depends: [
  "ocaml"
  "dune" {>= "2.5"}
  "coq" {>= "8.12" & < "8.14~"}
  "coq-freespec-core" {= "0.3"}
  "coq-coqffi" {= "1.0.0~beta5"}
  "coq-simple-io" {>= "1.0" & < "2.0~"}
]
tags: [
  "date:2021-03-01"
  "keyword:foreign function interface"
  "category:Miscellaneous/Coq Extensions"
  "logpath:FreeSpec.FFI"
]
authors: [
  "Thomas Letan"
  "Yann Régis-Gianas"
]
url {
  src: "https://github.com/lthms/FreeSpec/archive/freespec.0.3.tar.gz"
  checksum: "sha512=a4321066ef6267fc87a27b7b4ce7bd75db9878dcf33f7463ee3d11bdedb6a13f30008f7c20ca972c18e7d6f3bf8b0857409caf7fad60ecbd186e83b45fa1b7a1"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-freespec-ffi.0.3 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.0.0 -> ocaml = 5.0.0
    - coq-freespec-ffi -> coq < 8.14~ -> 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.0.0
    - coq-freespec-ffi -> coq < 8.14~ -> ocaml < 4.02.0 -> ocaml-base-compiler < 3.07+1
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.0.0 -> base-nnp
    - coq-freespec-ffi -> coq < 8.14~
  * Missing dependency:
    - coq-freespec-ffi -> coq < 8.14~ -> 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-freespec-ffi.0.3
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