ยซ Up

pi-agm 1.2.6 Error with dependencies ๐Ÿš’

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.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler      4.05.0      Official 4.05.0 release
ocaml-config             1           OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.1       A library manager for OCaml
ocamlfind-secondary      1.9.1       Adds support for ocaml-secondary-compiler to ocamlfind
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
1 h 31 m
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.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler      4.05.0      Official 4.05.0 release
ocaml-config             1           OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.1       A library manager for OCaml
ocamlfind-secondary      1.9.1       Adds support for ocaml-secondary-compiler to ocamlfind
zarith                   1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-mathcomp-ssreflect dev
  - install conf-g++               1.0
  - install coq-flocq              dev
  - install coq-bignums            dev
  - install coq-coquelicot         3.2.0
  - install coq-interval           4.3.1
===== 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.1] downloaded from https://coqinterval.gitlabpages.inria.fr/releases/interval-4.3.1.tar.gz
[coq-bignums.dev] synchronised from git+https://github.com/coq/bignums.git#master
[coq-flocq.dev] synchronised from git+https://gitlab.inria.fr/flocq/flocq.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-mathcomp-ssreflect.dev
-> installed coq-bignums.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 -j7".
#=== ERROR while compiling coq-interval.4.3.1 =================================#
# context              2.0.1 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-interval.4.3.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./remake -j7
# exit-code            1
# env-file             ~/.opam/log/coq-interval-12267-2f37d9.env
# output-file          ~/.opam/log/coq-interval-12267-2f37d9.out
### output ###
# [...]
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# File "./src/Interval/Transcend.v", line 2077, characters 14-24:
# Warning: Notation plus_assoc is deprecated since 8.16.
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# File "./src/Interval/Transcend.v", line 2077, characters 14-24:
# Warning: Notation plus_assoc is deprecated since 8.16.
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# Finished src/Interval/Transcend.vo
# Finished src/Interval/Float_full.vo
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-interval 4.3.1
+- 
+- 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.05.0/.opam-switch/backup/state-20211212031526.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