« Up

coqprime 1.0.3 Error

(2020-08-26 04:03:56 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-m4             1           Virtual package relying on m4
coq                 8.12.0      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: [
  ["./configure.sh"]
  [make "-j%{jobs}%"]
]
install: [
  [make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/Coqprime"]
depends: [
  "ocaml"
  "coq" {>= "8.8~"}
  "coq-bignums"
]
synopsis: "Certifying prime numbers in Coq"
flags: light-uninstall
url {
  src: "https://github.com/thery/coqprime/archive/v8.8.zip"
  checksum: "md5=3430856778d10abe378fbdd385ac834d"
}

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.3 coq.8.12.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 2h opam install -y --deps-only coq-coqprime.1.0.3 coq.8.12.0
Return code
0
Duration
2 m 20 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v coq-coqprime.1.0.3 coq.8.12.0
Return code
7936
Duration
12 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-m4             1           Virtual package relying on m4
coq                 8.12.0      Formal proof management system
coq-bignums         8.12.0      Bignums, the Coq library of arbitrary large numbers
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 8.12.0).
The following actions will be performed:
  - install coq-coqprime 1.0.3
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-coqprime.1.0.3: http]
[coq-coqprime.1.0.3] downloaded from https://github.com/thery/coqprime/archive/v8.8.zip
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-coqprime: ./configure.sh]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "./configure.sh" (CWD=/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-coqprime.1.0.3)
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.3)
- 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
- File "./src/Coqprime/Z/Ppow.v", line 24, characters 5-22:
- Error: Found no subterm matching "2 * Z.pos ?M1461" in the current goal.
- 
- make[1]: *** [Makefile:715: src/Coqprime/Z/Ppow.vo] Error 1
- make[1]: *** Waiting for unfinished jobs....
- COQC src/Coqprime/num/Bits.v
- File "./src/Coqprime/Z/ZCmisc.v", line 65, characters 1-13:
- Error: No such hypothesis: H1
- 
- make[1]: *** [Makefile:715: src/Coqprime/Z/ZCmisc.vo] Error 1
- File "./src/Coqprime/num/Bits.v", line 16, characters 0-3:
- Error: No head constant to reduce.
- 
- make[1]: *** [Makefile:715: src/Coqprime/num/Bits.vo] Error 1
- make: *** [Makefile:339: 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.3 =================================#
# 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.3
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqprime-23371-e4db2f.env
# output-file          ~/.opam/log/coq-coqprime-23371-e4db2f.out
### output ###
# [...]
# make[1]: *** [Makefile:715: src/Coqprime/Z/Ppow.vo] Error 1
# make[1]: *** Waiting for unfinished jobs....
# COQC src/Coqprime/num/Bits.v
# File "./src/Coqprime/Z/ZCmisc.v", line 65, characters 1-13:
# Error: No such hypothesis: H1
# 
# make[1]: *** [Makefile:715: src/Coqprime/Z/ZCmisc.vo] Error 1
# File "./src/Coqprime/num/Bits.v", line 16, characters 0-3:
# Error: No head constant to reduce.
# 
# make[1]: *** [Makefile:715: src/Coqprime/num/Bits.vo] Error 1
# make: *** [Makefile:339: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqprime 1.0.3
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-coqprime.1.0.3 coq.8.12.0' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none