# Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-domains base
base-nnp base Naked pointers prohibited in the OCaml heap
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.2 Fast, portable, and opinionated build system
ocaml 5.0.0 The OCaml compiler (virtual package)
ocaml-base-compiler 5.0.0 Official release 5.0.0
ocaml-config 3 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: "yves.bertot@inria.fr"
homepage: "http://www-sop.inria.fr/members/Yves.Bertot/"
bug-reports: "yves.bertot@inria.fr"
license: "CECILL-B"
build: [["coq_makefile" "-f" "_CoqProject" "-o" "Makefile" ]
[ make "-j" "%{jobs}%" ]]
install: [ make "install" "DEST='%{lib}%/coq/user-contrib/pi_agm'" ]
depends: [
"ocaml"
"coq" {>= "8.12"}
"coq-coquelicot" {>= "3" & < "4~"}
"coq-interval" {>= "4"}
]
dev-repo: "git+https://github.com/ybertot/pi-agm.git"
tags: [ "keyword:real analysis" "keyword:pi" "category:Mathematics/Real Calculus and Topology" "logpath:agm" "date:2020-06-23" ]
authors: [ "Yves Bertot <yves.bertot@inria.fr>" ]
synopsis:
"Computing thousands or millions of digits of PI with arithmetic-geometric means"
description: """
This is a proof of correctness for two algorithms to compute PI to high
precision using arithmetic-geometric means. A first file contains
the calculus-based proofs for an abstract view of the algorithm, where all
numbers are real numbers. A second file describes how to approximate all
computations using large integers. Other files describe the second algorithm
which is close to the one used in mpfr, for instance.
The whole development can be used to produce mathematically proved and
formally verified approximations of PI."""
url {
src: "https://github.com/ybertot/pi-agm/archive/v1.2.6.zip"
checksum: "sha256=f690dd8e464acafb4c14437a0ad09545a11f4ebd6771b05f4e7f74ca5c08a7ff"
}
trueDry install with the current Coq version:
opam install -y --show-action coq-pi-agm.1.2.6 coq.devDry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
trueopam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-pi-agm.1.2.6 coq.dev# Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-domains base
base-nnp base Naked pointers prohibited in the OCaml heap
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.2 Fast, portable, and opinionated build system
ocaml 5.0.0 The OCaml compiler (virtual package)
ocaml-base-compiler 5.0.0 Official release 5.0.0
ocaml-config 3 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
The following actions will be performed:
- install cppo 1.6.9
- install ppx_derivers 1.2.1
- install conf-g++ 1.0
- install cmdliner 1.2.0
- install easy-format 1.3.4
- install seq base
- install ocaml-compiler-libs v0.12.4
- install stdlib-shims 0.3.0
- install coq-flocq dev
- install menhirLib dev
- install coq-bignums dev
- install menhirSdk dev
- install result 1.5
- install conf-which 1
- install camlp-streams 5.0.1
- install sexplib0 v0.16.0
- install yojson 2.1.2
- install re 1.11.0
- install menhir dev
- install conf-autoconf 0.1
- install biniou 1.2.2
- install ppxlib 0.31.0
- install atd 2.15.0
- install atdgen-runtime 2.15.0
- install ppx_deriving 5.2.1
- install atdts 2.15.0
- install atdgen 2.15.0
- install elpi 1.18.1
- install coq-elpi dev
- install coq-hierarchy-builder dev
- install coq-mathcomp-ssreflect dev
- install coq-coquelicot 3.4.0
- install coq-interval dev
===== 33 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atd.2.15.0 (https://opam.ocaml.org/cache)
-> retrieved atdts.2.15.0 (cached)
-> retrieved biniou.1.2.2 (https://opam.ocaml.org/cache)
-> retrieved camlp-streams.5.0.1 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.2.0 (https://opam.ocaml.org/cache)
-> installed conf-which.1
-> installed conf-g++.1.0
-> retrieved atdgen.2.15.0 (https://opam.ocaml.org/cache)
-> installed camlp-streams.5.0.1
-> installed conf-autoconf.0.1
-> retrieved atdgen-runtime.2.15.0 (https://opam.ocaml.org/cache)
-> retrieved coq-coquelicot.3.4.0 (https://coquelicot.gitlabpages.inria.fr/releases/coquelicot-3.4.0.tar.gz)
-> installed cmdliner.1.2.0
-> retrieved coq-flocq.dev (git+https://gitlab.inria.fr/flocq/flocq.git#master)
-> retrieved coq-bignums.dev (git+https://github.com/coq/bignums.git#master)
-> retrieved coq-elpi.dev (git+https://github.com/LPCIC/coq-elpi.git#coq-master)
[ERROR] The compilation of coq-flocq.dev failed at "./configure".
[ERROR] The compilation of coq-bignums.dev failed at "make -j4".
-> retrieved coq-interval.dev (git+https://gitlab.inria.fr/coqinterval/interval.git/#master)
-> retrieved cppo.1.6.9 (https://opam.ocaml.org/cache)
-> retrieved easy-format.1.3.4 (https://opam.ocaml.org/cache)
-> retrieved coq-hierarchy-builder.dev (git+https://github.com/math-comp/hierarchy-builder.git#master)
-> installed easy-format.1.3.4
-> installed cppo.1.6.9
-> installed biniou.1.2.2
-> retrieved elpi.1.18.1 (https://opam.ocaml.org/cache)
-> retrieved coq-mathcomp-ssreflect.dev (git+https://github.com/math-comp/math-comp.git#master)
-> retrieved menhir.dev (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> retrieved ocaml-compiler-libs.v0.12.4 (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1 (https://opam.ocaml.org/cache)
-> retrieved ppx_deriving.5.2.1 (https://opam.ocaml.org/cache)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.31.0 (https://opam.ocaml.org/cache)
-> retrieved re.1.11.0 (https://opam.ocaml.org/cache)
-> retrieved result.1.5 (https://opam.ocaml.org/cache)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (https://opam.ocaml.org/cache)
-> installed ocaml-compiler-libs.v0.12.4
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> installed result.1.5
-> retrieved yojson.2.1.2 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed re.1.11.0
-> installed yojson.2.1.2
-> retrieved menhirLib.dev (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed atdgen-runtime.2.15.0
-> retrieved menhirSdk.dev (git+https://gitlab.inria.fr/fpottier/menhir.git#master)
-> installed menhirLib.dev
-> installed menhirSdk.dev
-> installed ppxlib.0.31.0
-> installed menhir.dev
-> installed ppx_deriving.5.2.1
-> installed atd.2.15.0
-> installed atdts.2.15.0
-> installed atdgen.2.15.0
-> installed elpi.1.18.1
[ERROR] The compilation of coq-elpi.dev failed at "make build COQBIN=/home/bench/.opam/ocaml-base-compiler.5.0.0/bin/ ELPIDIR=/home/bench/.opam/ocaml-base-compiler.5.0.0/lib/elpi OCAMLWARN=".
#=== ERROR while compiling coq-flocq.dev ======================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-flocq.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build ./configure
# exit-code 1
# env-file ~/.opam/log/coq-flocq-3553-03fbde.env
# output-file ~/.opam/log/coq-flocq-3553-03fbde.out
### output ###
# checking for coqc... /home/bench/.opam/ocaml-base-compiler.5.0.0/bin/coqc
# checking Coq version... Fatal error: Not enough heap memory to reserve minor heaps
# configure: error: must be at least 8.12 (you have version ).
#=== ERROR while compiling coq-elpi.dev =======================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-elpi.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build make build COQBIN=/home/bench/.opam/ocaml-base-compiler.5.0.0/bin/ ELPIDIR=/home/bench/.opam/ocaml-base-compiler.5.0.0/lib/elpi OCAMLWARN=
# exit-code 2
# env-file ~/.opam/log/coq-elpi-3553-641459.env
# output-file ~/.opam/log/coq-elpi-3553-641459.out
### output ###
# [...]
# CAMLOPT -c -for-pack Elpi_plugin src/coq_elpi_vernacular.ml
# CAMLOPT -c -for-pack Elpi_plugin src/coq_elpi_vernacular_syntax.ml
# CAMLOPT -pack -o src/elpi_plugin.cmx
# CAMLOPT -a -o src/elpi_plugin.cmxa
# CAMLOPT -shared -o src/elpi_plugin.cmxs
# COQC theories/elpi.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[3]: *** [Makefile.coq:847: theories/elpi.vo] Error 134
# make[2]: *** [Makefile.coq:417: all] Error 2
# make[1]: *** [Makefile.coq:937: opt] Error 2
# make: *** [Makefile:51: build-core] Error 2
#=== ERROR while compiling coq-bignums.dev ====================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-bignums.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code 2
# env-file ~/.opam/log/coq-bignums-3553-b8312b.env
# output-file ~/.opam/log/coq-bignums-3553-b8312b.out
### output ###
# [...]
# CAMLOPT -a -o plugin/bignums_syntax_plugin.cmxa
# CAMLOPT -shared -o plugin/bignums_syntax_plugin.cmxs
# COQC BigNumPrelude.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# make[2]: *** [Makefile.coq:847: BigNumPrelude.vo] Error 134
# make[2]: *** Waiting for unfinished jobs....
# Aborted
# make[2]: *** [Makefile.coq:847: SpecViaQ/QSig.vo] Error 134
# make[1]: *** [Makefile.coq:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-bignums.dev'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-bignums dev
| - build coq-elpi dev
| - build coq-flocq dev
+-
+- The following changes have been performed (the rest was aborted)
| - install atd 2.15.0
| - install atdgen 2.15.0
| - install atdgen-runtime 2.15.0
| - install atdts 2.15.0
| - install biniou 1.2.2
| - install camlp-streams 5.0.1
| - install cmdliner 1.2.0
| - install conf-autoconf 0.1
| - install conf-g++ 1.0
| - install conf-which 1
| - install cppo 1.6.9
| - install easy-format 1.3.4
| - install elpi 1.18.1
| - install menhir dev
| - install menhirLib dev
| - install menhirSdk dev
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers 1.2.1
| - install ppx_deriving 5.2.1
| - install ppxlib 0.31.0
| - install re 1.11.0
| - install result 1.5
| - install seq base
| - install sexplib0 v0.16.0
| - install stdlib-shims 0.3.0
| - install yojson 2.1.2
+-
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
/usr/local/bin/opam switch import "/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/backup/state-20240114214528.export"
trueNo files were installed.
true