ยซ Up

mathcomp-field 1.11+beta1 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.0.3       Fast, portable, and opinionated build system
ocaml               4.08.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1      Official release 4.08.1
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: "Mathematical Components <mathcomp-dev@sympa.inria.fr>"
homepage: "https://math-comp.github.io/"
bug-reports: "https://github.com/math-comp/math-comp/issues"
dev-repo: "git+https://github.com/math-comp/math-comp.git"
license: "CeCILL-B"
build: [ make "-C" "mathcomp/field" "-j" "%{jobs}%" ]
install: [ make "-C" "mathcomp/field" "install" ]
depends: [ "coq-mathcomp-solvable" { = version } ]
tags: [ "keyword:algebra" "keyword:field" "keyword:small scale reflection" "keyword:mathematical components" "keyword:odd order theorem" "logpath:mathcomp.field" ]
authors: [ "Jeremy Avigad <>" "Andrea Asperti <>" "Stephane Le Roux <>" "Yves Bertot <>" "Laurence Rideau <>" "Enrico Tassi <>" "Ioana Pasca <>" "Georges Gonthier <>" "Sidi Ould Biha <>" "Cyril Cohen <>" "Francois Garillot <>" "Alexey Solovyev <>" "Russell O'Connor <>" "Laurent Thรฉry <>" "Assia Mahboubi <>" ]
synopsis: "Mathematical Components Library on Fields"
description:"""
This library contains definitions and theorems about field extensions,
galois theory, algebraic numbers, cyclotomic polynomials...
"""
url {
src: "https://github.com/math-comp/math-comp/archive/mathcomp-1.11+beta1.tar.gz"
checksum: "sha256=412e3bd8faae4c52a4e1651a3ea3ad949ae6f93a2ffbb579f0ebd4662d5d418e"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-mathcomp-field.1.11+beta1 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-mathcomp-field.1.11+beta1 coq.dev
Return code
7936
Duration
2 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.0.3       Fast, portable, and opinionated build system
ocaml               4.08.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1      Official release 4.08.1
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-mathcomp-ssreflect 1.11+beta1
  - install coq-mathcomp-fingroup  1.11+beta1
  - install coq-mathcomp-algebra   1.11+beta1
  - install coq-mathcomp-solvable  1.11+beta1
===== 4 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-mathcomp-algebra.1.11+beta1] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.11+beta1.tar.gz
[coq-mathcomp-fingroup.1.11+beta1] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.11+beta1.tar.gz
[coq-mathcomp-solvable.1.11+beta1] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.11+beta1.tar.gz
[coq-mathcomp-ssreflect.1.11+beta1] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed coq-mathcomp-ssreflect.1.11+beta1
[ERROR] The compilation of coq-mathcomp-fingroup failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -C mathcomp/fingroup -j 4".
#=== ERROR while compiling coq-mathcomp-fingroup.1.11+beta1 ===================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-mathcomp-fingroup.1.11+beta1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C mathcomp/fingroup -j 4
# exit-code            2
# env-file             ~/.opam/log/coq-mathcomp-fingroup-10547-9e78df.env
# output-file          ~/.opam/log/coq-mathcomp-fingroup-10547-9e78df.out
### output ###
# [...]
# release. For the time being, adding hints outside of sections without
# specifying an explicit locality attribute is therefore deprecated. It is
# recommended to use "export" whenever possible. Use the attributes #[local],
# #[global] and #[export] depending on your choice. For example: "#[export]
# Hint Unfold foo : bar." [deprecated-hint-without-locality,deprecated]
# File "./fingroup.v", line 2995, characters 0-17:
# Error: Arguments of section variables such as gP may not be renamed.
# 
# make[2]: *** [Makefile.coq:793: fingroup.vo] Error 1
# make[1]: *** [Makefile.coq:410: all] Error 2
# make: *** [../Makefile.common:85: this-build] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-mathcomp-fingroup.1.11+beta1/mathcomp/fingroup'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-mathcomp-fingroup 1.11+beta1
+- 
+- The following changes have been performed (the rest was aborted)
| - install coq-mathcomp-ssreflect 1.11+beta1
+- 
# 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.08.1/.opam-switch/backup/state-20220303173522.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