ยซ 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                   8.13.1      Formal proof management system
num                   1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.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.1
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.1
Return code
7936
Duration
5 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                   8.13.1      Formal proof management system
num                   1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.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
The following actions will be performed:
  - install coq-bignums            9.0.0+coq8.13
  - install conf-clang             1
  - install coq-mathcomp-ssreflect 1.16.0
  - install coq-flocq              4.1.3
  - install coq-coquelicot         3.4.0
  - install coq-interval           4.9.0
===== 6 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-coquelicot.3.4.0] downloaded from https://coquelicot.gitlabpages.inria.fr/releases/coquelicot-3.4.0.tar.gz
[coq-flocq.4.1.3] downloaded from https://flocq.gitlabpages.inria.fr/releases/flocq-4.1.3.tar.gz
[coq-interval.4.9.0] downloaded from https://coqinterval.gitlabpages.inria.fr/releases/interval-4.9.0.tar.gz
[coq-bignums.9.0.0+coq8.13] downloaded from https://github.com/coq/bignums/archive/v9.0.0+coq8.13.tar.gz
[coq-mathcomp-ssreflect.1.16.0] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.16.0.tar.gz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of conf-clang failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build clang --version".
-> installed coq-bignums.9.0.0+coq8.13
-> installed coq-mathcomp-ssreflect.1.16.0
#=== ERROR while compiling conf-clang.1 =======================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | https://opam.ocaml.org#9b339ea0
# path                 ~/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/conf-clang.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build clang --version
# exit-code            1
# env-file             ~/.opam/log/conf-clang-1654-5788a7.env
# output-file          ~/.opam/log/conf-clang-1654-5788a7.out
### output ###
# bwrap: execvp clang: No such file or directory
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-clang 1
+- 
+- The following changes have been performed (the rest was aborted)
| - install coq-bignums            9.0.0+coq8.13
| - install coq-mathcomp-ssreflect 1.16.0
+- 
The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
    clang
# 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.1/.opam-switch/backup/state-20231209104703.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