ยซ Up

pi-agm 1.2.6 Error ๐Ÿ”ฅ

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-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.13.2      Formal proof management system
num                   1.5         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                 4.13.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.13.1      Official release 4.13.1
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: "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.13.2
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-pi-agm.1.2.6 coq.8.13.2
Return code
0
Duration
7 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-pi-agm.1.2.6 coq.8.13.2
Return code
7936
Duration
2 m 0 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-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.13.2        Formal proof management system
coq-bignums            9.0.0+coq8.13 Bignums, the Coq library of arbitrary large numbers
coq-coquelicot         3.4.0         A Coq formalization of real analysis compatible with the standard library
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.16.0        Small Scale Reflection
num                    1.5           The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                  4.13.1        The OCaml compiler (virtual package)
ocaml-base-compiler    4.13.1        Official release 4.13.1
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 8.13.2).
The following actions will be performed:
  - install coq-pi-agm 1.2.6
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-pi-agm.1.2.6: http]
[coq-pi-agm.1.2.6] downloaded from https://github.com/ybertot/pi-agm/archive/v1.2.6.zip
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [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.4.13.1/.opam-switch/build/coq-pi-agm.1.2.6)
Processing  1/2: [coq-pi-agm: make 4]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j" "4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.13.1/.opam-switch/build/coq-pi-agm.1.2.6)
- COQDEP VFILES
- COQC filter_Rlt.v
- COQC atan_derivative_improper_integral.v
- COQC arcsinh.v
- COQC rounding_big.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:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- COQC elliptic_integral.v
- File "./elliptic_integral.v", line 1, characters 0-49:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./elliptic_integral.v", line 6, characters 0-50:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- COQC agmpi.v
- File "./agmpi.v", line 1, characters 0-57:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./agmpi.v", line 7, characters 0-50:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- COQC rounding_correct.v
- COQC alg2.v
- File "./alg2.v", line 1, characters 0-57:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./rounding_correct.v", line 1, characters 0-104:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./alg2.v", line 7, characters 0-50:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- COQC rounding2.v
- COQC hrounding_correct.v
- File "./rounding2.v", line 1, characters 0-57:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./hrounding_correct.v", line 1, characters 0-104:
- Warning:
- New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
- [ambiguous-paths,typechecker]
- File "./hrounding_correct.v", line 11, characters 60-63:
- Error:
- In environment
- p : bigZ
- x : bigZ
- y : bigZ
- The term "[p]" has type "(bigZ * unit)%type"
- while it is expected to have type "Z".
- 
- make[1]: *** [Makefile:720: hrounding_correct.vo] Error 1
- make[1]: *** Waiting for unfinished jobs....
- File "./rounding2.v", line 9, characters 0-50:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- make: *** [Makefile:343: all] Error 2
[ERROR] The compilation of coq-pi-agm failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j 4".
#=== ERROR while compiling coq-pi-agm.1.2.6 ===================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.13.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-11418-2dea01.env
# output-file          ~/.opam/log/coq-pi-agm-11418-2dea01.out
### output ###
# [...]
# The term "[p]" has type "(bigZ * unit)%type"
# while it is expected to have type "Z".
# 
# make[1]: *** [Makefile:720: hrounding_correct.vo] Error 1
# make[1]: *** Waiting for unfinished jobs....
# File "./rounding2.v", line 9, characters 0-50:
# Warning: The default value for hint locality is currently "local" in a
# section and "global" otherwise, but is scheduled to change in a future
# release. For the time being, adding hints outside of sections without
# specifying an explicit locality is therefore deprecated. It is recommended to
# use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
# make: *** [Makefile:343: 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.13.2' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none