Β« Up

metacoq-safechecker 1.0~alpha2+8.10 Error with dependencies πŸš’

Context

# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-num            base        Num library distributed with the OCaml compiler
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
coq                 8.10.2      Formal proof management system
num                 0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0      Official 4.05.0 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.6       A library manager for OCaml
# 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.10"
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.02.3"}
  "coq" {>= "8.10" & < "8.11~"}
  "coq-metacoq-template" {= version}
  "coq-metacoq-checker" {= 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-alpha2-8.10.tar.gz"
  checksum: "sha256=94156cb9397b44915c9217a435a812cabc9651684cd229d5069b34332d0792a2"
}

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~alpha2+8.10 coq.8.10.2
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-metacoq-safechecker.1.0~alpha2+8.10 coq.8.10.2
Return code
7936
Duration
6 m 0 s
Output
# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-num            base        Num library distributed with the OCaml compiler
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
coq                 8.10.2      Formal proof management system
num                 0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0      Official 4.05.0 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.6       A library manager for OCaml
The following actions will be performed:
  - install coq-equations        1.2.1+8.10
  - install coq-metacoq-template 1.0~alpha2+8.10
  - install coq-metacoq-checker  1.0~alpha2+8.10
  - install coq-metacoq-pcuic    1.0~alpha2+8.10
===== 4 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-equations.1.2.1+8.10] downloaded from https://github.com/mattam82/Coq-Equations/archive/v1.2.1-8.10-2.tar.gz
[coq-metacoq-checker.1.0~alpha2+8.10] downloaded from https://github.com/MetaCoq/metacoq/archive/v1.0-alpha2-8.10.tar.gz
[coq-metacoq-pcuic.1.0~alpha2+8.10] downloaded from https://github.com/MetaCoq/metacoq/archive/v1.0-alpha2-8.10.tar.gz
[coq-metacoq-template.1.0~alpha2+8.10] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed coq-equations.1.2.1+8.10
[ERROR] The compilation of coq-metacoq-template failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j7 template-coq".
#=== ERROR while compiling coq-metacoq-template.1.0~alpha2+8.10 ===============#
# context              2.0.1 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-metacoq-template.1.0~alpha2+8.10
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j7 template-coq
# exit-code            2
# env-file             ~/.opam/log/coq-metacoq-template-18462-b36dbe.env
# output-file          ~/.opam/log/coq-metacoq-template-18462-b36dbe.out
### output ###
# [...]
# CAMLOPT -c -for-pack Metacoq_template_plugin gen-src/pretty.ml
# CAMLOPT -c -for-pack Metacoq_template_plugin gen-src/run_extractable.ml
# CAMLOPT -pack -o gen-src/metacoq_template_plugin.cmx
# File "gen-src/metacoq_template_plugin.cmx", line 1:
# Error: Files gen-src/quoter.cmx and gen-src/tm_util.cmx
#        make inconsistent assumptions over interface Tm_util
# make[3]: *** [Makefile.plugin:643: gen-src/metacoq_template_plugin.cmx] Error 2
# make[2]: *** [Makefile.plugin:321: all] Error 2
# make[2]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-metacoq-template.1.0~alpha2+8.10/template-coq'
# make[1]: *** [Makefile:20: plugin] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-metacoq-template.1.0~alpha2+8.10/template-coq'
# make: *** [Makefile:51: template-coq] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-metacoq-template 1.0~alpha2+8.10
+- 
+- The following changes have been performed (the rest was aborted)
| - install coq-equations 1.2.1+8.10
+- 
# 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.05.0/.opam-switch/backup/state-20230421041258.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