Β« Up

metacoq-safechecker 1.0~beta2+8.11 Error with dependencies πŸš’

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: "matthieu.sozeau@inria.fr"
homepage: "https://metacoq.github.io/metacoq"
dev-repo: "git+https://github.com/MetaCoq/metacoq.git#coq-8.11"
bug-reports: "https://github.com/MetaCoq/metacoq/issues"
authors: ["Abhishek Anand <aa755@cs.cornell.edu>"
          "Simon Boulier <simon.boulier@inria.fr>"
          "Cyril Cohen <cyril.cohen@inria.fr>"
          "Yannick Forster <forster@ps.uni-saarland.de>"
          "Fabian Kunze <fkunze@fakusb.de>"
          "Gregory Malecha <gmalecha@gmail.com>"
          "Matthieu Sozeau <matthieu.sozeau@inria.fr>"
          "Nicolas Tabareau <nicolas.tabareau@inria.fr>"
          "ThΓ©o Winterhalter <theo.winterhalter@inria.fr>"
]
license: "MIT"
build: [
  ["sh" "./configure.sh"]
  [make "-j%{jobs}%" "-C" "safechecker"]
]
install: [
  [make "-C" "safechecker" "install"]
]
depends: [
  "ocaml" {>= "4.07.1" & < "4.10~"}
  "coq" {>= "8.11" & < "8.12~"}
  "coq-metacoq-template" {= version}
  "coq-metacoq-pcuic" {= version}
]
synopsis: "Implementation and verification of safe conversion and typechecking algorithms for Coq"
description: """
MetaCoq is a meta-programming framework for Coq.
The SafeChecker modules provides a correct implementation of
weak-head reduction, conversion and typechecking of Coq definitions and global environments.
"""
# url {
#   src: "https://github.com/MetaCoq/metacoq/archive/v2.1-beta3.tar.gz"
#   checksum: "md5=e81b8ecabef788a10337a39b095d54f3"
# }
url {
  src: "https://github.com/MetaCoq/metacoq/archive/v1.0-beta2-8.11.tar.gz"
  checksum: "sha256=35d4a30bb19e6710fc03d178a2c8a17bc964bfbfd9236d1c59a0e77a30c425df"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-metacoq-safechecker.1.0~beta2+8.11 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-metacoq-safechecker = 1.0~beta2+8.11 -> ocaml < 4.10~
    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-metacoq-safechecker = 1.0~beta2+8.11 -> ocaml < 4.10~ -> ocaml-base-compiler = 3.08.1
  * Missing dependency:
    - coq-metacoq-safechecker = 1.0~beta2+8.11 -> ocaml < 4.10~ -> 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-metacoq-safechecker.1.0~beta2+8.11
Return code
134
Output
The following actions will be performed:
  - remove coq 8.17.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   coq.8.17.1
Done.
# Run eval $(opam env) to update the current shell environment
Fatal error: allocation failure during minor GC

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