ยซ Up

pi-agm 1.2.6 Error ๐Ÿ”ฅ

Context

# 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                   8.17.0      The Coq Proof Assistant
coq-core              8.17.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.0      The Coq Proof Assistant, XML protocol server
dune                  3.12.2      Fast, portable, and opinionated build system
ocaml                 5.1.1       The OCaml compiler (virtual package)
ocaml-base-compiler   5.1.1       Official release 5.1.1
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"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-pi-agm.1.2.6 coq.8.17.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; timeout 4h opam install -y --deps-only coq-pi-agm.1.2.6 coq.8.17.0
Return code
0
Duration
5 m 0 s

Install ๐Ÿš€

Command
opam list; echo; timeout 4h opam install -y -v coq-pi-agm.1.2.6 coq.8.17.0
Return code
7936
Duration
1 m 0 s
Output
# 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-g++               1.0           Virtual package relying on the g++ compiler (for C++)
conf-gmp               4             Virtual package relying on a GMP lib system installation
coq                    8.17.0        The Coq Proof Assistant
coq-bignums            9.0.0+coq8.17 Bignums, the Coq library of arbitrarily large numbers
coq-coquelicot         3.4.0         A Coq formalization of real analysis compatible with the standard library
coq-core               8.17.0        The Coq Proof Assistant -- Core Binaries and Tools
coq-flocq              4.1.3         A formalization of floating-point arithmetic for the Coq system
coq-interval           4.9.0         A Coq tactic for proving bounds on real-valued expressions automatically
coq-mathcomp-ssreflect 1.18.0        Small Scale Reflection
coq-stdlib             8.17.0        The Coq Proof Assistant -- Standard Library
coqide-server          8.17.0        The Coq Proof Assistant, XML protocol server
dune                   3.12.2        Fast, portable, and opinionated build system
ocaml                  5.1.1         The OCaml compiler (virtual package)
ocaml-base-compiler    5.1.1         Official release 5.1.1
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
[NOTE] Package coq is already installed (current version is 8.17.0).
The following actions will be performed:
  - install coq-pi-agm 1.2.6
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [coq-pi-agm.1.2.6: http]
Processing  1/3:
-> retrieved coq-pi-agm.1.2.6  (https://github.com/ybertot/pi-agm/archive/v1.2.6.zip)
Processing  2/3: [coq-pi-agm: coq_makefile _CoqProject]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "coq_makefile" "-f" "_CoqProject" "-o" "Makefile" (CWD=/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-pi-agm.1.2.6)
Processing  2/3: [coq-pi-agm: make 4]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j" "4" (CWD=/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-pi-agm.1.2.6)
- COQDEP VFILES
- COQC filter_Rlt.v
- COQC atan_derivative_improper_integral.v
- COQC rounding_big.v
- COQC arcsinh.v
- COQC computing.v
- File "./filter_Rlt.v", line 2, characters 0-49:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./atan_derivative_improper_integral.v", line 3, characters 0-49:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
-      = 31415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201967%bigZ
-      : BigZ.t_
- COQC generalities.v
- File "./generalities.v", line 1, characters 0-49:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./generalities.v", line 7, characters 0-50:
- Error: The default value for hint locality is currently "global" outside
- sections, but is scheduled to change to "export" in the next release (Coq
- 8.18). In Coq 8.17, not providing an explicit locality outside sections
- triggers a fatal warning, to ensure that hint localities are made explicit
- before the upcoming change in the default value. 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]
- 
- make[1]: *** [Makefile:830: generalities.vo] Error 1
- make[1]: *** [generalities.vo] Deleting file 'generalities.glob'
- make: *** [Makefile:409: all] Error 2
[ERROR] The compilation of coq-pi-agm.1.2.6 failed at "make -j 4".
#=== ERROR while compiling coq-pi-agm.1.2.6 ===================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-pi-agm.1.2.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j 4
# exit-code            2
# env-file             ~/.opam/log/coq-pi-agm-8520-49cef3.env
# output-file          ~/.opam/log/coq-pi-agm-8520-49cef3.out
### output ###
# [...]
# Error: The default value for hint locality is currently "global" outside
# sections, but is scheduled to change to "export" in the next release (Coq
# 8.18). In Coq 8.17, not providing an explicit locality outside sections
# triggers a fatal warning, to ensure that hint localities are made explicit
# before the upcoming change in the default value. 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]
# 
# make[1]: *** [Makefile:830: generalities.vo] Error 1
# make[1]: *** [generalities.vo] Deleting file 'generalities.glob'
# make: *** [Makefile:409: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-pi-agm 1.2.6
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-pi-agm.1.2.6 coq.8.17.0' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none