« Up

mathcomp-analysis dev Error with dependencies

(2021-04-06 20:47:58 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
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.10.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.1      Official release 4.10.1
ocaml-config        1           OCaml Switch Configuration
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: "pierre-yves@strub.nu"
homepage: "https://github.com/math-comp/analysis"
bug-reports: "https://github.com/math-comp/analysis/issues"
dev-repo: "git+https://github.com/math-comp/analysis.git"
license: "CECILL-C"
authors: [
  "Reynald Affeldt"
  "Cyril Cohen"
  "Assia Mahboubi"
  "Damien Rouhling"
  "Pierre-Yves Strub"
]
build: [
  [make "INSTMODE=global" "config"]
  [make "-j%{jobs}%"]
]
install: [
  [make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/mathcomp/analysis"]
depends: [
  "coq" { (>= "8.11" & < "8.14~") | (= "dev") }
  "coq-mathcomp-ssreflect" { (>= "1.12.0" & < "1.13~") | (= "dev") }
  "coq-mathcomp-fingroup"
  "coq-mathcomp-algebra"
  "coq-mathcomp-solvable"
  "coq-mathcomp-field"
  "coq-mathcomp-finmap" { (>= "1.5.1" & < "1.6~") | (= "dev") }
  "coq-hierarchy-builder" { >= "0.10.0" | (= "dev") }
]
synopsis: "An analysis library for mathematical components"
description: """
This repository contains an experimental library for real analysis for
the Coq proof-assistant and using the Mathematical Components library.
It is inspired by the Coquelicot library.
"""
url {
  src: "git+https://github.com/math-comp/analysis.git#master"
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-mathcomp-analysis.dev 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 2h opam install -y --deps-only coq-mathcomp-analysis.dev coq.dev
Return code
7936
Duration
31 m 49 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
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.10.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.1      Official release 4.10.1
ocaml-config        1           OCaml Switch Configuration
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 seq                     base
  - install dune                    2.8.5
  - install coq-mathcomp-ssreflect  dev
  - install conf-perl               1
  - install sexplib0                v0.14.0
  - install result                  1.5
  - install re                      1.9.0
  - install ppx_derivers            1.2.1
  - install ocaml-compiler-libs     v0.12.3
  - install csexp                   1.5.1
  - install cppo                    1.6.7
  - install coq-mathcomp-fingroup   dev
  - install coq-mathcomp-bigenough  dev
  - install camlp5                  7.14
  - install ocaml-migrate-parsetree 1.8.0
  - install dune-configurator       2.8.5
  - install coq-mathcomp-algebra    dev
  - install coq-mathcomp-finmap     dev
  - install base                    v0.14.1
  - install coq-mathcomp-solvable   dev
  - install stdio                   v0.14.0
  - install coq-mathcomp-field      dev
  - install ppxlib                  0.14.0
  - install ppx_deriving            5.1
  - install elpi                    1.13.0
  - install coq-elpi                dev
  - install coq-hierarchy-builder   dev
===== 27 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[base.v0.14.1] downloaded from cache at https://opam.ocaml.org/cache
[camlp5.7.14] downloaded from cache at https://opam.ocaml.org/cache
[coq-elpi.dev] synchronised from git+https://github.com/LPCIC/coq-elpi.git#coq-master
[coq-hierarchy-builder.dev] synchronised from git+https://github.com/math-comp/hierarchy-builder.git#master
[coq-mathcomp-algebra.dev] synchronised from git+https://github.com/math-comp/math-comp.git
[coq-mathcomp-bigenough.dev] synchronised from git+https://github.com/math-comp/bigenough.git#master
[coq-mathcomp-fingroup.dev] synchronised from git+https://github.com/math-comp/math-comp.git
[coq-mathcomp-field.dev] synchronised from git+https://github.com/math-comp/math-comp.git
[coq-mathcomp-solvable.dev] synchronised from git+https://github.com/math-comp/math-comp.git
[coq-mathcomp-ssreflect.dev] synchronised from git+https://github.com/math-comp/math-comp.git#master
[cppo.1.6.7] downloaded from cache at https://opam.ocaml.org/cache
[csexp.1.5.1] downloaded from cache at https://opam.ocaml.org/cache
[dune.2.8.5] downloaded from cache at https://opam.ocaml.org/cache
[dune-configurator.2.8.5] downloaded from cache at https://opam.ocaml.org/cache
[coq-mathcomp-finmap.dev] synchronised from git+https://github.com/math-comp/finmap.git#master
[ocaml-compiler-libs.v0.12.3] downloaded from cache at https://opam.ocaml.org/cache
[elpi.1.13.0] downloaded from cache at https://opam.ocaml.org/cache
[ppx_derivers.1.2.1] downloaded from cache at https://opam.ocaml.org/cache
[ocaml-migrate-parsetree.1.8.0] downloaded from cache at https://opam.ocaml.org/cache
[ppx_deriving.5.1] downloaded from cache at https://opam.ocaml.org/cache
[ppxlib.0.14.0] downloaded from cache at https://opam.ocaml.org/cache
[re.1.9.0] downloaded from cache at https://opam.ocaml.org/cache
[result.1.5] downloaded from cache at https://opam.ocaml.org/cache
[sexplib0.v0.14.0] downloaded from cache at https://opam.ocaml.org/cache
[stdio.v0.14.0] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed conf-perl.1
-> installed dune.2.8.5
-> installed cppo.1.6.7
-> installed csexp.1.5.1
-> installed ocaml-compiler-libs.v0.12.3
-> installed ppx_derivers.1.2.1
-> installed re.1.9.0
-> installed result.1.5
-> installed dune-configurator.2.8.5
-> installed sexplib0.v0.14.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed coq-mathcomp-ssreflect.dev
-> installed base.v0.14.1
-> installed camlp5.7.14
-> installed coq-mathcomp-bigenough.dev
-> installed stdio.v0.14.0
-> installed ppxlib.0.14.0
-> installed coq-mathcomp-fingroup.dev
-> installed ppx_deriving.5.1
-> installed coq-mathcomp-finmap.dev
-> installed elpi.1.13.0
-> installed coq-mathcomp-algebra.dev
-> installed coq-elpi.dev
[ERROR] The compilation of coq-hierarchy-builder failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make".
-> installed coq-mathcomp-solvable.dev
-> installed coq-mathcomp-field.dev
#=== ERROR while compiling coq-hierarchy-builder.dev ==========================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.10.1/.opam-switch/build/coq-hierarchy-builder.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code            2
# env-file             ~/.opam/log/coq-hierarchy-builder-5902-a8b060.env
# output-file          ~/.opam/log/coq-hierarchy-builder-5902-a8b060.out
### output ###
# [...]
# At least one of the following errors holds: 
# File "./HB/common/database.elpi", line 254: (cs-instance) has type type but is applied to _ _ (global Inst)
# File "./HB/common/database.elpi", line 254: (global Inst) has type term but is used with type gref
# 
# 
# 
# make[3]: *** [Makefile.coq:721: structures.vo] Error 1
# make[2]: *** [Makefile.coq:344: all] Error 2
# make[2]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.10.1/.opam-switch/build/coq-hierarchy-builder.dev'
# make[1]: *** [Makefile:97: this-build] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.10.1/.opam-switch/build/coq-hierarchy-builder.dev'
# make: *** [Makefile:64: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-hierarchy-builder dev
+- 
+- The following changes have been performed
| - install base                    v0.14.1
| - install camlp5                  7.14
| - install conf-perl               1
| - install coq-elpi                dev
| - install coq-mathcomp-algebra    dev
| - install coq-mathcomp-bigenough  dev
| - install coq-mathcomp-field      dev
| - install coq-mathcomp-fingroup   dev
| - install coq-mathcomp-finmap     dev
| - install coq-mathcomp-solvable   dev
| - install coq-mathcomp-ssreflect  dev
| - install cppo                    1.6.7
| - install csexp                   1.5.1
| - install dune                    2.8.5
| - install dune-configurator       2.8.5
| - install elpi                    1.13.0
| - install ocaml-compiler-libs     v0.12.3
| - install ocaml-migrate-parsetree 1.8.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            5.1
| - install ppxlib                  0.14.0
| - install re                      1.9.0
| - install result                  1.5
| - install seq                     base
| - install sexplib0                v0.14.0
| - install stdio                   v0.14.0
+- 
# 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.1/.opam-switch/backup/state-20210406053322.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