« Up

pi-agm 1.2.6 Error with dependencies

(2021-10-27 02:59:51 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-gmp              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager for OCaml
zarith                1.12        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.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-pi-agm.1.2.6 coq.dev
Return code
7936
Duration
14 m 21 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-gmp              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-flocq              dev
  - install coq-mathcomp-ssreflect dev
  - install conf-g++               1.0
  - install coq-bignums            dev
  - install coq-coquelicot         3.2.0
  - install coq-interval           4.3.0
===== 6 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-coquelicot.3.2.0] downloaded from https://coquelicot.gitlabpages.inria.fr/releases/coquelicot-3.2.0.tar.gz
[coq-interval.4.3.0] downloaded from https://coqinterval.gitlabpages.inria.fr/releases/interval-4.3.0.tar.gz
[coq-flocq.dev] synchronised from git+https://gitlab.inria.fr/flocq/flocq.git#master
[coq-bignums.dev] synchronised from git+https://github.com/coq/bignums.git#master
[coq-mathcomp-ssreflect.dev] synchronised from git+https://github.com/math-comp/math-comp.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
-> installed coq-bignums.dev
-> installed coq-mathcomp-ssreflect.dev
-> installed coq-coquelicot.3.2.0
-> installed coq-flocq.dev
[ERROR] The compilation of coq-interval failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./remake -j4".
#=== ERROR while compiling coq-interval.4.3.0 =================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-interval.4.3.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./remake -j4
# exit-code            1
# env-file             ~/.opam/log/coq-interval-30461-2f17b7.env
# output-file          ~/.opam/log/coq-interval-30461-2f17b7.out
### output ###
# [...]
# Finished src/Tactics/Interval_helper.vo
# File "./src/Tactics/Integral_helper.v", line 22, characters 0-42:
# Warning:
# New coercion path [real; Finite] : Rbar >-> Rbar is not definitionally an identity function.
# [ambiguous-paths,typechecker]
# Finished src/Tactics/Plot_helper.vo
# Finished src/Tactics/Integral_helper.vo
# Finished src/Interval/Float.vo
# File "./src/Interval/Transcend.v", line 52, characters 0-88:
# Warning: Not a truly recursive cofixpoint. [non-recursive,fixpoints]
# Finished src/Interval/Transcend.vo
# Finished src/Interval/Float_full.vo
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-interval 4.3.0
+- 
+- The following changes have been performed
| - install conf-g++               1.0
| - install coq-bignums            dev
| - install coq-coquelicot         3.2.0
| - install coq-flocq              dev
| - install coq-mathcomp-ssreflect dev
+- 
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
    opam switch import "/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/backup/state-20211023060157.export"

Install

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none