ยซ Up

coquelicot 3.3.0 Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
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: "guillaume.melquiond@inria.fr"
homepage: "http://coquelicot.saclay.inria.fr/"
dev-repo: "git+https://gitlab.inria.fr/coquelicot/coquelicot.git"
bug-reports: "https://gitlab.inria.fr/coquelicot/coquelicot/issues"
license: "LGPL-3.0-or-later"
build: [
  ["autoconf"] {dev}
  ["./configure"]
  ["./remake" "-j%{jobs}%"]
]
install: ["./remake" "install"]
depends: [
  "coq" {>= "8.12"}
  "coq-mathcomp-ssreflect" {>= "1.6" & < "1.17~"}
  "conf-autoconf" {build & dev}
  ("conf-g++" {build} | "conf-clang" {build})
]
tags: [
  "keyword:real analysis"
  "keyword:topology"
  "keyword:filters"
  "keyword:metric spaces"
  "category:Mathematics/Real Calculus and Topology"
  "logpath:Coquelicot"
  "date:2023-01-25"
]
authors: [
  "Sylvie Boldo <sylvie.boldo@inria.fr>"
  "Catherine Lelay <catherine.lelay@inria.fr>"
  "Guillaume Melquiond <guillaume.melquiond@inria.fr>"
]
synopsis: "A Coq formalization of real analysis compatible with the standard library"
url {
  src: "https://coquelicot.gitlabpages.inria.fr/releases/coquelicot-3.3.0.tar.gz"
  checksum: "sha512=d0f70f4b6618a7a53fe478618eaf27797d9e00b994cb290bdfc8193e5ff0d6514d0f41f70756f8884b6619fbc24224e2334517fbdfdb70c9f698a912c69f032d"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-coquelicot.3.3.0 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-coquelicot.3.3.0 coq.dev
Return code
7936
Duration
1 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
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 conf-g++               1.0
  - install coq-mathcomp-ssreflect 1.11+beta1
===== 2 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-mathcomp-ssreflect.1.11+beta1] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.11+beta1.tar.gz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
[ERROR] The compilation of coq-mathcomp-ssreflect failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -C mathcomp/ssreflect -j 4".
#=== ERROR while compiling coq-mathcomp-ssreflect.1.11+beta1 ==================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-mathcomp-ssreflect.1.11+beta1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C mathcomp/ssreflect -j 4
# exit-code            2
# env-file             ~/.opam/log/coq-mathcomp-ssreflect-29402-2dea01.env
# output-file          ~/.opam/log/coq-mathcomp-ssreflect-29402-2dea01.out
### output ###
# [...]
# COQC ssrfun.v
# COQC ssrbool.v
# File "./ssrbool.v", line 33, characters 0-152:
# Error: Notation "[ rel _ _ | _ ]" is already defined at level 0
# with arguments name, name, constr while it is now required to be at level 0
# with arguments ident, ident, constr.
# 
# make[2]: *** [Makefile.coq:847: ssrbool.vo] Error 1
# make[2]: *** [ssrbool.vo] Deleting file 'ssrbool.glob'
# make[1]: *** [Makefile.coq:417: all] Error 2
# make: *** [../Makefile.common:85: this-build] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-mathcomp-ssreflect.1.11+beta1/mathcomp/ssreflect'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-mathcomp-ssreflect 1.11+beta1
+- 
+- The following changes have been performed
| - install conf-g++ 1.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.14.0/.opam-switch/backup/state-20240101134510.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