ยซ Up

stdpp 1.6.0 Error ๐Ÿ”ฅ

Context

# 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         Formal proof management system
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "Ralf Jung <jung@mpi-sws.org>"
authors: "The std++ team"
license: "BSD-3-Clause"
homepage: "https://gitlab.mpi-sws.org/iris/stdpp"
bug-reports: "https://gitlab.mpi-sws.org/iris/stdpp/issues"
dev-repo: "git+https://gitlab.mpi-sws.org/iris/stdpp.git"
synopsis: "An extended \"Standard Library\" for Coq"
description: """
The key features of this library are as follows:
- It provides a great number of definitions and lemmas for common data
  structures such as lists, finite maps, finite sets, and finite multisets.
- It uses type classes for common notations (like `โˆ…`, `โˆช`, and Haskell-style
  monad notations) so that these can be overloaded for different data structures.
- It uses type classes to keep track of common properties of types, like it
  having decidable equality or being countable or finite.
- Most data structures are represented in canonical ways so that Leibniz
  equality can be used as much as possible (for example, for maps we have
  `m1 = m2` iff `โˆ€ i, m1 !! i = m2 !! i`). On top of that, the library provides
  setoid instances for most types and operations.
- It provides various tactics for common tasks, like an ssreflect inspired
  `done` tactic for finishing trivial goals, a simple breadth-first solver
  `naive_solver`, an equality simplifier `simplify_eq`, a solver `solve_proper`
  for proving compatibility of functions with respect to relations, and a solver
  `set_solver` for goals involving set operations.
- It is entirely dependency- and axiom-free.
"""
tags: [
  "date:2021-11-05"
  "logpath:stdpp"
]
depends: [
  "coq" { (>= "8.10.2" & < "8.15~") | (= "dev") }
]
patches: ["ocamlrunparam.patch"]
build: [make "-j%{jobs}%"]
install: [make "install"]
url {
  src:
    "https://gitlab.mpi-sws.org/iris/stdpp/-/archive/coq-stdpp-1.6.0.tar.gz"
  checksum:
    "sha512=47de4f889a1eebce066e03512c19731a5e52f4f3bbd46e158ac00a693d983a0c8f93ec45692b3f8d16f4522296e18100ebe711cf854d50b03731bfa1914362b8"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-stdpp.1.6.0 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-stdpp.1.6.0 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-stdpp.1.6.0 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         Formal proof management system
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       A library manager for OCaml
zarith                1.12        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-stdpp 1.6.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-stdpp.1.6.0: http]
[coq-stdpp.1.6.0] downloaded from https://gitlab.mpi-sws.org/iris/stdpp/-/archive/coq-stdpp-1.6.0.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-stdpp: patch]
Processing  1/2: [coq-stdpp: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0)
- "coq_makefile" -f _CoqProject -o Makefile.coq 
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0'
- COQDEP VFILES
- COQDEP TESTFILES
- COQLINT
- COQC theories/options.v
- COQC theories/base.v
- File "./theories/base.v", line 94, characters 0-29:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/base.v", line 333, characters 0-87:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 463, characters 0-133:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 469, characters 0-143:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 575, characters 0-46:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/base.v", line 677, characters 0-31:
- Warning: Notation prod_uncurry is deprecated since 8.13. Use curry instead.
- [deprecated-syntactic-definition,deprecated]
- File "./theories/base.v", line 679, characters 0-31:
- Warning: Notation prod_curry is deprecated since 8.13. Use uncurry instead.
- [deprecated-syntactic-definition,deprecated]
- File "./theories/base.v", line 827, characters 0-30:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/base.v", line 886, characters 0-29:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/base.v", line 1389, characters 0-302:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 1397, characters 0-295:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 1438, characters 0-274:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 1459, characters 0-584:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- File "./theories/base.v", line 1492, characters 0-186:
- Warning:
- A coercion will be introduced in future versions when using ':>' in 'Class' declarations. Use '#[global] Existing Instance field.' instead if you don't want the coercion.
- [future-coercion-class-field,records]
- COQC theories/proof_irrel.v
- COQC theories/well_founded.v
- COQC theories/decidable.v
- COQC theories/tactics.v
- COQC theories/option.v
- COQC theories/fin.v
- COQC theories/orders.v
- COQC theories/telescopes.v
- File "./theories/telescopes.v", line 191, characters 0-34:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- COQC theories/streams.v
- COQC theories/functions.v
- COQC theories/hlist.v
- File "./theories/option.v", line 147, characters 0-32:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- COQTEST tests/telescopes.v (ref: tests/telescopes.ref)
- COQC theories/numbers.v
- COQTEST tests/tactics.v (ref: tests/tactics.ref)
- --- tests/tactics.ref	2021-11-05 19:19:06.000000000 +0000
- +++ /tmp/tmp.GiLK12zlrX	2022-05-14 00:12:47.846740420 +0000
- @@ -1,6 +1,9 @@
- +File "/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0/tests/tactics.v", line 38, characters 2-29:
-  The command has indeed failed with message:
-  Failed to progress.
- +File "/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0/tests/tactics.v", line 39, characters 16-28:
-  The command has indeed failed with message:
-  Failed to progress.
- +File "/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0/tests/tactics.v", line 49, characters 22-35:
-  The command has indeed failed with message:
-  Failed to progress.
- make[2]: *** [Makefile.coq.local:44: tests/tactics.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- File "./theories/numbers.v", line 17, characters 0-22:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 117, characters 0-26:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 118, characters 0-26:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 283, characters 0-24:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 284, characters 0-24:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 327, characters 0-24:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 328, characters 0-24:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 550, characters 0-24:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 551, characters 0-24:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 767, characters 0-26:
- Warning: The default value for Typeclasses Opaque and Typeclasses Transparent
- locality is currently "local" in a section and "global" otherwise, but is
- scheduled to change in a future release. For the time being, adding typeclass
- transparency hints outside of sections without specifying an explicit
- locality attribute is therefore deprecated. It is recommended to use "export"
- whenever possible. Use the attributes #[local], #[global] and #[export]
- depending on your choice. For example: "#[export] Typeclasses Transparent
- foo." [deprecated-typeclasses-transparency-without-locality,deprecated]
- File "./theories/numbers.v", line 1353, characters 13-23:
- Warning: Notation plus_assoc is deprecated since 8.16.
- The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
- [deprecated-syntactic-definition,deprecated]
- File "./theories/numbers.v", line 1353, characters 13-23:
- Warning: Notation plus_assoc is deprecated since 8.16.
- The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
- [deprecated-syntactic-definition,deprecated]
- File "./theories/numbers.v", line 1353, characters 13-23:
- Warning: Notation plus_assoc is deprecated since 8.16.
- The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
- [deprecated-syntactic-definition,deprecated]
- make[1]: *** [Makefile.coq:408: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0'
- make: *** [Makefile:3: all] Error 2
[ERROR] The compilation of coq-stdpp failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-stdpp.1.6.0 ====================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-stdpp-4262-8b8a2d.env
# output-file          ~/.opam/log/coq-stdpp-4262-8b8a2d.out
### output ###
# [...]
# [deprecated-syntactic-definition,deprecated]
# File "./theories/numbers.v", line 1353, characters 13-23:
# Warning: Notation plus_assoc is deprecated since 8.16.
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# File "./theories/numbers.v", line 1353, characters 13-23:
# Warning: Notation plus_assoc is deprecated since 8.16.
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# make[1]: *** [Makefile.coq:408: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-stdpp.1.6.0'
# make: *** [Makefile:3: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-stdpp 1.6.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-stdpp.1.6.0 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none