ยซ Up

coqutil 0.0.4 Error ๐Ÿ”ฅ

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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"
authors: [
  "Massachusetts Institute of Technology"
]
maintainer: "Jason Gross <jgross@mit.edu>"
homepage: "https://github.com/mit-plv/coqutil"
bug-reports: "https://github.com/mit-plv/coqutil/issues"
license: "MIT"
build: [
  [make "-j%{jobs}%"]
]
install: [make "install"]
depends: [
  "conf-findutils" {build}
  "coq" {>= "8.15~"}
]
conflict-class: [
  "coq-coqutil"
]
dev-repo: "git+https://github.com/mit-plv/coqutil.git"
synopsis: "Coq library for tactics, basic definitions, sets, maps"
description: """
### coqutil -- Various Coq Utilities
Contents:
* [Datatypes](https://github.com/mit-plv/coqutil/tree/master/src/coqutil/Datatypes): Some utilities for existing datatypes, and new datatypes.
* [Decidable](https://github.com/mit-plv/coqutil/blob/master/src/coqutil/Decidable.v): `BoolSpec`-based decidability typeclasses. Allows one to write `if MyType_eqb a b then ... else ...` where `MyType_eqb a b` returns a `bool`, instead of writing `if MyType_eq_dec a b then ... else ...` where `MyType_eq_dec a b` returns a `sumbool`, while still getting `a = b` and `a <> b` as hypotheses (as opposed to `MyType_eqb a b = true` and `MyType_eqb a b = false`) after destructing the `if` (need to use [`destr`](https://github.com/mit-plv/coqutil/blob/master/src/coqutil/Tactics/destr.v) instead of `destruct`). So one gets the benefits of `Sumbool` without getting its disadvantage of having to carry around proof terms, which can cause a blow-up under reduction if one is not careful.
* [Map](https://github.com/mit-plv/coqutil/tree/master/src/coqutil/Map): A typeclass based map library allowing one to abstract over the concrete implementation of maps. The implementations have to be extensional, which excludes certain efficient implementations, but simplifies proofs, because one can `replace mapA with mapB` if one can prove that `mapA` and `mapB` have the same contents. Comes with a [solver](https://github.com/mit-plv/coqutil/blob/master/src/coqutil/Map/Solver.v) which works reasonably fast on most map goals we have encountered so far.
* [Tactics](https://github.com/mit-plv/coqutil/tree/master/src/coqutil/Tactics): A collection of useful general-purpose tactics.
* [Word](https://github.com/mit-plv/coqutil/tree/master/src/coqutil/Word): Fixed width words for any width, in the same typeclass based style as the map library. Designed for the case where all words have the same (potentially abstract) bit width. Therefore, it does not provide functions to concatenate and split words, which is better addressed by [bbv](https://github.com/mit-plv/bbv/).
* [Z](https://github.com/mit-plv/coqutil/tree/master/src/coqutil/Z): Utilities to work with the `Z` type from Coq's standard library, including a tactic to prove `Z` equalities by splitting the equality into equalities on bit index ranges, a tactic to make `lia` capable of reasoning about goals with division and modulo, and a tactic to simplify expressions containing nested occurrences of `mod`, and more misc utilities.
* Various macros, notations, and desirable default settings.
Each feature is intended to be as minimal and as independent of the other features as possible, so that users can pick just what they need.
"""
tags: ["logpath:coqutil"]
url {
  src: "https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.4.tar.gz"
  checksum: "sha512=d8edb84e9a68de786368b27212f500f8f472ffc72fd715facb89b66ad75b69319e40b42eb53a8e68212379aa5e21c0c5b827411ec1790f956d65762372f7d6be"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coqutil.0.0.4 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-coqutil.0.0.4 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-coqutil.0.0.4 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         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-coqutil 0.0.4
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-coqutil.0.0.4: http]
[coq-coqutil.0.0.4] downloaded from https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.4.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-coqutil: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4)
- printf -- '-R /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/ coqutil\n-arg -w -arg unsupported-attributes\n' > _CoqProject
- Generating Makefile.coq.test
- make -f Makefile.coq.test
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4'
- COQDEP VFILES
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/autoforward.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/sanity.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/forward.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Z/Lia.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Datatypes/Option.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Sorting/Permutation.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fwd_arith_hints.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Datatypes/PrimitivePair.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Word/Interface.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Z/div_mod_to_equations.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Z/PushPullMod.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Z/bitblast.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Ltac2Lib/Pervasives.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/ParamRecords.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/eabstract.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/eplace.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/letexists.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/ident_of_string.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/syntactic_unify.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/ident_to_string.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Ltac2Lib/Char.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Ltac2Lib/Constr.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/pattern_tuple.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/simpl_rewrite.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/grepeat.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/let_binding_to_eq.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.v
- COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/ltac_list_ops.v
- File "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.v", line 73, characters 26-30:
- Error: This expression has type (ident * constr option * constr) list
- but an expression was expected of type constr
- 
- make[2]: *** [Makefile.coq.test:847: /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.vo] Error 1
- make[2]: *** [/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.glob'
- make[2]: *** Waiting for unfinished jobs....
- Finished transaction in 0.234 secs (0.234u,0.s) (successful)
- make[1]: *** [Makefile.coq.test:417: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4'
- make: *** [Makefile:26: test] Error 2
[ERROR] The compilation of coq-coqutil failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-coqutil.0.0.4 ==================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqutil-29325-335865.env
# output-file          ~/.opam/log/coq-coqutil-29325-335865.out
### output ###
# [...]
# COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/ltac_list_ops.v
# File "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.v", line 73, characters 26-30:
# Error: This expression has type (ident * constr option * constr) list
# but an expression was expected of type constr
# 
# make[2]: *** [Makefile.coq.test:847: /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.vo] Error 1
# make[2]: *** [/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.glob'
# make[2]: *** Waiting for unfinished jobs....
# Finished transaction in 0.234 secs (0.234u,0.s) (successful)
# make[1]: *** [Makefile.coq.test:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4'
# make: *** [Makefile:26: test] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqutil 0.0.4
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-coqutil.0.0.4 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none