(2020-04-14 10:21:03 UTC)
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-m4 1 Virtual package relying on m4 coq dev Formal proof management system num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.10.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.10.0 Official release 4.10.0 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.8.1 A library manager for OCaml # opam file: opam-version: "2.0" maintainer: "thery@sophia.inria.fr" homepage: "http://coqprime.gforge.inria.fr/" bug-reports: "http://coqprime.gforge.inria.fr/" dev-repo: "git+https://github.com/thery/coqprime.git" license: "LGPL" authors: ["Laurent Théry"] build: [ [make "-j%{jobs}%"] ] install: [ [make "install"] ] remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Coqprime"] depends: [ "ocaml" "coq" {>= "8.10~"} "coq-bignums" ] synopsis: "Certifying prime numbers in Coq" flags: light-uninstall url { src: "https://github.com/thery/coqprime/archive/v8.10.zip" checksum: "md5=ae2f432db8d3cf5297370a7508b9e5f5" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-coqprime.1.0.4 coq.dev
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
true
opam list; echo; ulimit -Sv 4000000; timeout 2h opam install -y --deps-only coq-coqprime.1.0.4 coq.dev
opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v coq-coqprime.1.0.4 coq.dev
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-m4 1 Virtual package relying on m4 coq dev Formal proof management system coq-bignums dev Bignums, the Coq library of arbitrary large numbers dune 2.5.0 Fast, portable, and opinionated build system num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.10.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.10.0 Official release 4.10.0 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.8.1 A library manager for OCaml [NOTE] Package coq is already installed (current version is dev). The following actions will be performed: - install coq-coqprime 1.0.4 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/1: [coq-coqprime.1.0.4: http] [coq-coqprime.1.0.4] downloaded from https://github.com/thery/coqprime/archive/v8.10.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.10.0/.opam-switch/build/coq-coqprime.1.0.4) - /home/bench/.opam/ocaml-base-compiler.4.10.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 - COQC src/Coqprime/num/montgomery.v - COQC src/Coqprime/List/ListAux.v - COQC src/Coqprime/Z/ZCAux.v - COQC src/Coqprime/Z/Pmod.v - = 1740564225 :: 343969132 :: 6812243 :: nil - : number - = 0 :: 1 :: nil - : number - = 31415926535897932384626433%Z - : Z - COQC src/Coqprime/List/Permutation.v - File "./src/Coqprime/Z/ZCAux.v", line 33, characters 6-23: - Error: - In environment - x1, x2 : Z - H1 : ~ prime (x2 * x1) - H : 1 < x2 * x1 - Rec : forall y : Z, - 0 <= y < x2 * x1 -> - 1 < y -> ~ prime y -> exists p : Z, prime p /\ (p | y) /\ p * p <= y - H2 : 1 < x1 - H3 : x1 < x2 * x1 - H5 : prime x1 - H6 : x2 * x1 < x1 * x1 - Hx2 : x2 <= x1 - H7 : ~ prime x2 - Unable to unify "(?M1580 * ?M1578 ?= ?M1580 * ?M1579) = Gt -> False" with - "exists p : Z, prime p /\ (p | x2 * x1) /\ p * p <= x2 * x1". - - make[1]: *** [Makefile.coq:700: src/Coqprime/Z/ZCAux.vo] Error 1 - make[1]: *** Waiting for unfinished jobs.... - File "./src/Coqprime/List/Permutation.v", line 458, characters 0-161: - Warning: Interpreting this declaration as if a global declaration prefixed by - "Local", i.e. as a global declaration which shall not be available without - qualification when imported. [local-declaration,scope] - File "./src/Coqprime/num/montgomery.v", line 562, characters 0-79: - Error: Found no subterm matching "(0 ?= phi a)%Z" in the current goal. - - make[1]: *** [Makefile.coq:699: src/Coqprime/num/montgomery.vo] Error 1 - make: *** [Makefile.coq:335: 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.4 =================================# # context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.0 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-coqprime.1.0.4 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 # exit-code 2 # env-file ~/.opam/log/coq-coqprime-1118-865888.env # output-file ~/.opam/log/coq-coqprime-1118-865888.out ### output ### # Unable to unify "(?M1580 * ?M1578 ?= ?M1580 * ?M1579) = Gt -> False" with # [...] # make[1]: *** [Makefile.coq:700: src/Coqprime/Z/ZCAux.vo] Error 1 # make[1]: *** Waiting for unfinished jobs.... # File "./src/Coqprime/List/Permutation.v", line 458, characters 0-161: # Warning: Interpreting this declaration as if a global declaration prefixed by # "Local", i.e. as a global declaration which shall not be available without # qualification when imported. [local-declaration,scope] # File "./src/Coqprime/num/montgomery.v", line 562, characters 0-79: # Error: Found no subterm matching "(0 ?= phi a)%Z" in the current goal. # # make[1]: *** [Makefile.coq:699: src/Coqprime/num/montgomery.vo] Error 1 # make: *** [Makefile.coq:335: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-coqprime 1.0.4 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-coqprime.1.0.4 coq.dev' failed.
No files were installed.
true