ยซ Up

coqutil 0.0.1 Error ๐Ÿ”ฅ

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                   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.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"
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.11~"}
]
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.1.tar.gz"
  checksum: "sha512=fc8f334260add1d437030660e7cb79627e0e3a8603140cade9f6d83f895fc8dd49b218c350b84cc18342af357fffa9d0698b33519283dda9742a3486562b6343"
}

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.1 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.1 coq.dev
Return code
0
Duration
1 m 0 s

Install ๐Ÿš€

Command
opam list; echo; timeout 4h opam install -y -v coq-coqutil.0.0.1 coq.dev
Return code
7936
Duration
1 m 0 s
Output
# 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-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.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
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-coqutil 0.0.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [coq-coqutil.0.0.1: http]
Processing  1/3:
-> retrieved coq-coqutil.0.0.1  (https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.1.tar.gz)
Processing  2/3: [coq-coqutil: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1)
- Generating Makefile.coq.all
- make -f Makefile.coq.all
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1'
- COQDEP VFILES
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Tactics/autoforward.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/sanity.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Tactics/forward.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/Lia.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Datatypes/Option.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Sorting/Permutation.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Tactics/fwd_bool_hints.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Tactics/fwd_arith_hints.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Datatypes/PrimitivePair.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Word/Interface.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/div_mod_to_equations.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/PushPullMod.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.v
- COQC /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Tactics/eabstract.v
- File "/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.v", line 4, characters 32-34:
- Error: This expression has type message list
- but an expression was expected of type message
- 
- make[2]: *** [Makefile.coq.all:847: /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.vo] Error 1
- make[2]: *** [/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.glob'
- make[2]: *** Waiting for unfinished jobs....
- File "/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.v", line 197, characters 35-45:
- Error: Rewriting base z_bitwise_forced_no_hyps does not exist.
- 
- make[2]: *** [Makefile.coq.all:847: /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.vo] Error 1
- make[2]: *** [/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.glob'
- make[1]: *** [Makefile.coq.all:417: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1'
- make: *** [Makefile:87: all] Error 2
[ERROR] The compilation of coq-coqutil.0.0.1 failed at "make -j4".
#=== ERROR while compiling coq-coqutil.0.0.1 ==================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqutil-7526-4480ad.env
# output-file          ~/.opam/log/coq-coqutil-7526-4480ad.out
### output ###
# but an expression was expected of type message
# [...]
# make[2]: *** [Makefile.coq.all:847: /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.vo] Error 1
# make[2]: *** [/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Ltac2Lib/Msg.glob'
# make[2]: *** Waiting for unfinished jobs....
# File "/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.v", line 197, characters 35-45:
# Error: Rewriting base z_bitwise_forced_no_hyps does not exist.
# 
# make[2]: *** [Makefile.coq.all:847: /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.vo] Error 1
# make[2]: *** [/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.glob'
# make[1]: *** [Makefile.coq.all:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1'
# make: *** [Makefile:87: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqutil 0.0.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-coqutil.0.0.1 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none