« Up

coqprime 1.0.6 Error

(2021-11-01 16:42:58 UTC)

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              3           Virtual package relying on a GMP lib system installation
coq                   8.14.0      Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "thery@sophia.inria.fr"
homepage: "https://github.com/thery/coqprime"
bug-reports: "https://github.com/thery/coqprime/issues"
dev-repo: "git+https://github.com/thery/coqprime.git"
license: "LGPL-2.1-only"
authors: ["Laurent Théry"]
build: [
  [make "-j%{jobs}%"]
]
install: [
  [make "install"]
]
depends: [
  "ocaml"
  "coq" {>= "8.12~"}
  "coq-bignums"
]
synopsis: "Certifying prime numbers in Coq"
url {
  src: "https://github.com/thery/coqprime/archive/v8.12.zip"
  checksum: "md5=bb5bf2a2ed624fecd6701926d585a9a8"
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coqprime.1.0.6 coq.8.14.0
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-coqprime.1.0.6 coq.8.14.0
Return code
0
Duration
1 m 58 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-coqprime.1.0.6 coq.8.14.0
Return code
7936
Duration
31 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              3           Virtual package relying on a GMP lib system installation
coq                   8.14.0      Formal proof management system
coq-bignums           8.14.0      Bignums, the Coq library of arbitrary large numbers
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       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 8.14.0).
The following actions will be performed:
  - install coq-coqprime 1.0.6
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-coqprime.1.0.6: http]
[coq-coqprime.1.0.6] downloaded from https://github.com/thery/coqprime/archive/v8.12.zip
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-coqprime: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-coqprime.1.0.6)
- /home/bench/.opam/ocaml-base-compiler.4.12.0/bin//coq_makefile -f _CoqProject -o Makefile.coq
- COQDEP VFILES
- COQC src/Coqprime/Tactic/Tactic.v
- COQC src/Coqprime/N/NatAux.v
- COQC src/Coqprime/Z/ZCmisc.v
- COQC src/Coqprime/Z/Zmod.v
- COQC src/Coqprime/Z/Ppow.v
- COQC src/Coqprime/num/Bits.v
- File "./src/Coqprime/Z/ZCmisc.v", line 31, characters 0-85:
- Warning: The default value for rewriting hint locality is currently "local"
- in a section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding rewriting 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] Hint Rewrite foo : bar."
- [deprecated-hint-rewrite-without-locality,deprecated]
- File "./src/Coqprime/Z/ZCmisc.v", line 46, characters 0-44:
- Warning: The default value for rewriting hint locality is currently "local"
- in a section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding rewriting 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] Hint Rewrite foo : bar."
- [deprecated-hint-rewrite-without-locality,deprecated]
- COQC src/Coqprime/num/montgomery.v
- COQC src/Coqprime/List/ListAux.v
- COQC src/Coqprime/Z/ZCAux.v
-      = 1740564225 :: 343969132 :: 6812243 :: nil
-      : number
-      = 0 :: 1 :: nil
-      : number
-      = 31415926535897932384626433%Z
-      : Z
- COQC src/Coqprime/Z/Pmod.v
- COQC src/Coqprime/List/Permutation.v
- File "./src/Coqprime/Z/ZCAux.v", line 188, characters 0-9:
- Error: No product even after head-reduction.
- 
- make[1]: *** [Makefile.coq:763: src/Coqprime/Z/ZCAux.vo] Error 1
- make[1]: *** Waiting for unfinished jobs....
- File "./src/Coqprime/List/Permutation.v", line 428, characters 0-37:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding 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]
- Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
- File "./src/Coqprime/List/Permutation.v", line 429, characters 0-37:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding 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]
- Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
- File "./src/Coqprime/List/Permutation.v", line 430, characters 0-41:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding 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]
- Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
- File "./src/Coqprime/List/Permutation.v", line 431, characters 0-41:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding 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]
- Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
- File "./src/Coqprime/List/Permutation.v", line 452, characters 0-36:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding 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]
- Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
- File "./src/Coqprime/Z/Pmod.v", line 505, characters 0-68:
- Warning: The default value for rewriting hint locality is currently "local"
- in a section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding rewriting 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] Hint Rewrite foo : bar."
- [deprecated-hint-rewrite-without-locality,deprecated]
- make: *** [Makefile.coq:386: all] Error 2
[ERROR] The compilation of coq-coqprime failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-coqprime.1.0.6 =================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-coqprime.1.0.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqprime-7201-865888.env
# output-file          ~/.opam/log/coq-coqprime-7201-865888.out
### output ###
# [...]
# #[global] and #[export] depending on your choice. For example: "#[export]
# Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
# File "./src/Coqprime/Z/Pmod.v", line 505, characters 0-68:
# Warning: The default value for rewriting hint locality is currently "local"
# in a section and "global" otherwise, but is scheduled to change in a future
# release. For the time being, adding rewriting 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] Hint Rewrite foo : bar."
# [deprecated-hint-rewrite-without-locality,deprecated]
# make: *** [Makefile.coq:386: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqprime 1.0.6
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-coqprime.1.0.6 coq.8.14.0' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none