ยซ Up

pocklington dev Error ๐Ÿ”ฅ

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
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.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/coq-community/pocklington"
dev-repo: "git+https://github.com/coq-community/pocklington.git"
bug-reports: "https://github.com/coq-community/pocklington/issues"
license: "LGPL-2.1-or-later"
synopsis: "Pocklington's criterion for primality in Coq"
description: """
Coq formalization of Pocklington's criterion for checking primality of
large natural numbers. Includes a formal proof of Fermat's little theorem."""
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
  "dune" {>= "2.5"}
  "coq" {>= "8.7"}
]
tags: [
  "category:Mathematics/Arithmetic and Number Theory/Number theory"
  "keyword:Pocklington"
  "keyword:number theory"
  "keyword:prime numbers"
  "keyword:primality"
  "keyword:Fermat's little theorem"
  "logpath:Pocklington"
]
authors: [
  "Olga Caprotti"
  "Martijn Oostdijk"
]
url {
  src: "git+https://github.com/coq-community/pocklington.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-pocklington.dev 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-pocklington.dev coq.dev
Return code
0
Duration
1 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-pocklington.dev 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-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.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           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-pocklington dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-pocklington.dev] synchronised from git+https://github.com/coq-community/pocklington.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-pocklington failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-pocklington -j 4".
#=== ERROR while compiling coq-pocklington.dev ================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-pocklington.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-pocklington -j 4
# exit-code            1
# env-file             ~/.opam/log/coq-pocklington-24048-e4db2f.env
# output-file          ~/.opam/log/coq-pocklington-24048-e4db2f.out
### output ###
# Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
# 3.8 and will be removed in an upcoming Dune version.
# (cd _build/default && /home/bench/.opam/ocaml-base-compiler.4.14.0/bin/coqc -q -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plugins/btauto -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plugins/cc -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plugins/derive -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plu[...]
# File "./theories/dec.v", line 55, characters 9-15:
# Error: The variable lt_n_O was not found in the current environment.
# 
# (cd _build/default && /home/bench/.opam/ocaml-base-compiler.4.14.0/bin/coqc -q -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plugins/btauto -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plugins/cc -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plugins/derive -I /home/bench/.opam/ocaml-base-compiler.4.14.0/lib/coq/../coq-core/plu[...]
# File "./theories/lemmas.v", line 34, characters 38-47:
# Error: The variable minus_n_O was not found in the current environment.
# 
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-pocklington dev
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none