ยซ 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            4           Virtual package relying on a GMP lib system installation
coq                 dev         Formal proof management system
dune                3.1.1       Fast, portable, and opinionated build system
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       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
29 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-gmp            4           Virtual package relying on a GMP lib system installation
coq                 dev         Formal proof management system
dune                3.1.1       Fast, portable, and opinionated build system
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       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-bignums            dev
  - install coq-flocq              dev
  - install coq-mathcomp-ssreflect dev
  - install conf-which             1
  - install conf-g++               1.0
  - install conf-autoconf          0.1
  - install coq-coquelicot         3.2.0
  - install coq-interval           dev
===== 8 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-coquelicot.3.2.0] downloaded from https://coquelicot.gitlabpages.inria.fr/releases/coquelicot-3.2.0.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-interval.dev] synchronised from git+https://gitlab.inria.fr//coqinterval/interval.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 conf-which.1
-> installed conf-autoconf.0.1
-> 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.dev ===================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.10.2/.opam-switch/build/coq-interval.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./remake -j4
# exit-code            1
# env-file             ~/.opam/log/coq-interval-15763-ab22a1.env
# output-file          ~/.opam/log/coq-interval-15763-ab22a1.out
### output ###
# [...]
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# File "./src/Interval/Transcend.v", line 2072, 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 2072, 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 dev
+- 
+- The following changes have been performed
| - install conf-autoconf          0.1
| - install conf-g++               1.0
| - install conf-which             1
| - 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.10.2/.opam-switch/backup/state-20220517194057.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