math-comp / analysis

Mathematical Components compliant Analysis Library
Other
197 stars 44 forks source link

HB failing when installing of 0.7.0 with opam #1169

Open affeldt-aist opened 7 months ago

affeldt-aist commented 7 months ago

(I am just posting for the record an installation failure that I ran into last night but can't investigate right now, hoping somebody as a quick clue.)

This opam command (see [1] for the context):

$ opam install coq-mathcomp-analysis.0.7.0
The following actions will be performed:
  ∗ install coq-mathcomp-classical 0.7.0 [required by coq-mathcomp-analysis]
  ∗ install coq-mathcomp-analysis  0.7.0

is failing as follows:

[ERROR] The compilation of coq-mathcomp-classical.0.7.0 failed at "make -C classical -j11".

#=== ERROR while compiling coq-mathcomp-classical.0.7.0 =======================#
# context     2.1.2 | linux/x86_64 | ocaml-system.4.13.1 | https://coq.inria.fr/opam/released#2024-01-29 18:27
# path        ~/.opam/4.13.1/.opam-switch/build/coq-mathcomp-classical.0.7.0
# command     ~/.opam/opam-init/hooks/sandbox.sh build make -C classical -j11
# exit-code   2
# env-file    ~/.opam/log/coq-mathcomp-classical-512351-49e430.env
# output-file ~/.opam/log/coq-mathcomp-classical-512351-49e430.out
### output ###
# [...]
# COQC functions.v
# File "./functions.v", line 233, characters 0-101:
# Error: The elpi tactic/command HB.mixin failed without giving a specific
# error message. Please report this inconvenience to the authors of the
# program.
# 
# make[2]: *** [Makefile.coq:830: functions.vo] Error 1
# make[2]: *** [functions.vo] Deleting file 'functions.glob'
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/affeldt/.opam/4.13.1/.opam-switch/build/coq-mathcomp-classical.0.7.0/classical'
# make: *** [../Makefile.common:63: this-build] Error 2
# make: Leaving directory '/home/affeldt/.opam/4.13.1/.opam-switch/build/coq-mathcomp-classical.0.7.0/classical'

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build coq-mathcomp-classical 0.7.0
└─ 
╶─ No changes have been performed

[1]

# Packages matching: installed
# Name                       # Installed     # Synopsis
atd                          2.12.0          Parser for the ATD data format description language
atdgen                       2.12.0          Generates efficient JSON serializers, deserializers and validators
atdgen-runtime               2.12.0          Runtime library for code generated by atdgen
atdts                        2.12.0          TypeScript code generation for ATD APIs
base-bigarray                base
base-threads                 base
base-unix                    base
biniou                       1.2.2           Binary data format designed for speed, safety, ease of use and backwar
camlp-streams                5.0.1           The Stream and Genlex libraries for use with Camlp4 and Camlp5
cmdliner                     1.2.0           Declarative definition of command line interfaces for OCaml
conf-g++                     1.0             Virtual package relying on the g++ compiler (for C++)
conf-gmp                     4               Virtual package relying on a GMP lib system installation
coq                          8.17.1          The Coq Proof Assistant
coq-bignums                  9.0.0+coq8.17   Bignums, the Coq library of arbitrarily large numbers
coq-coquelicot               3.4.1           A Coq formalization of real analysis compatible with the standard libr
coq-core                     8.17.1          The Coq Proof Assistant -- Core Binaries and Tools
coq-elpi                     1.17.1          Elpi extension language for Coq
coq-equations                1.3+8.17        A function definition package for Coq
coq-flocq                    4.1.4           A formalization of floating-point arithmetic for the Coq system
coq-hierarchy-builder        1.6.0           High level commands to declare and evolve a hierarchy based on packed 
coq-interval                 4.9.0           A Coq tactic for proving bounds on real-valued expressions automatical
coq-mathcomp-algebra         1.19.0          Mathematical Components Library on Algebra
coq-mathcomp-algebra-tactics 1.1.1           Ring, field, lra, nra, and psatz tactics for Mathematical Components
coq-mathcomp-bigenough       1.0.1           A small library to do epsilon - N reasoning
coq-mathcomp-field           1.19.0          Mathematical Components Library on Fields
coq-mathcomp-fingroup        1.19.0          Mathematical Components Library on finite groups
coq-mathcomp-finmap          1.5.2           Finite sets, finite maps, finitely supported functions
coq-mathcomp-solvable        1.19.0          Mathematical Components Library on finite groups (II)
coq-mathcomp-ssreflect       1.19.0          Small Scale Reflection
coq-mathcomp-zify            1.3.0+1.12+8.13 Micromega tactics for Mathematical Components
coq-paramcoq                 1.1.3+coq8.17   Plugin for generating parametricity statements to perform refinement p
coq-stdlib                   8.17.1          The Coq Proof Assistant -- Standard Library
coqide-server                8.17.1          The Coq Proof Assistant, XML protocol server
cppo                         1.6.9           Code preprocessor like cpp for OCaml
dune                         3.8.2           Fast, portable, and opinionated build system
easy-format                  1.3.4           High-level and functional interface to the Format module of the OCaml 
elpi                         1.16.10         ELPI - Embeddable λProlog Interpreter
menhir                       20230608        An LR(1) parser generator
menhirLib                    20230608        Runtime support library for parsers generated by Menhir
menhirSdk                    20230608        Compile-time library for auxiliary tools related to Menhir
ocaml                        4.13.1          The OCaml compiler (virtual package)
ocaml-compiler-libs          v0.12.4         OCaml compiler libraries repackaged
ocaml-config                 2               OCaml Switch Configuration
ocaml-system                 4.13.1          The OCaml compiler (system version, from outside of opam)
ocamlfind                    1.9.6           A library manager for OCaml
ppx_derivers                 1.2.1           Shared [@@deriving] plugin registry
ppx_deriving                 5.2.1           Type-driven code generation for OCaml
ppxlib                       0.29.1          Standard library for ppx rewriters
re                           1.10.4          RE is a regular expression library for OCaml
result                       1.5             Compatibility Result module
seq                          base            Compatibility package for OCaml's standard iterator type starting from
sexplib0                     v0.16.0         Library containing the definition of S-expressions and some base conve
stdlib-shims                 0.3.0           Backport some of the new stdlib features to older compiler
yojson                       2.1.0           Yojson is an optimized parsing and printing library for the JSON forma
zarith                       1.12            Implements arithmetic and logical operations over arbitrary-precision 
affeldt-aist commented 7 months ago

NB: It goes through in this slightly different configuration:

# Packages matching: installed
# Name                       # Installed     # Synopsis
atd                          2.15.0          Parser for the ATD data format description language
atdgen                       2.15.0          Generates efficient JSON serializers, deserializers and validators
atdgen-runtime               2.15.0          Runtime library for code generated by atdgen
atdts                        2.15.0          TypeScript code generation for ATD APIs
base-bigarray                base
base-threads                 base
base-unix                    base
biniou                       1.2.2           Binary data format designed for speed, safety, ease of use and backwar
camlp-streams                5.0.1           The Stream and Genlex libraries for use with Camlp4 and Camlp5
camlp5                       7.14            Preprocessor-pretty-printer of OCaml
cmdliner                     1.2.0           Declarative definition of command line interfaces for OCaml
conf-findutils               1               Virtual package relying on findutils
conf-gmp                     4               Virtual package relying on a GMP lib system installation
conf-linux-libc-dev          0               Virtual package relying on the installation of the Linux kernel header
conf-perl                    2               Virtual package relying on perl
coq                          8.19.0          The Coq Proof Assistant
coq-core                     8.19.0          The Coq Proof Assistant -- Core Binaries and Tools
coq-elpi                     2.0.1           Elpi extension language for Coq
coq-hierarchy-builder        1.7.0           High level commands to declare and evolve a hierarchy based on packed 
coq-mathcomp-algebra         1.19.0          Mathematical Components Library on Algebra
coq-mathcomp-algebra-tactics 1.1.1           Ring, field, lra, nra, and psatz tactics for Mathematical Components
coq-mathcomp-analysis        0.7.0           An analysis library for mathematical components
coq-mathcomp-bigenough       1.0.1           A small library to do epsilon - N reasoning
coq-mathcomp-classical       0.7.0           A library for classical logic for mathematical components
coq-mathcomp-field           1.19.0          Mathematical Components Library on Fields
coq-mathcomp-fingroup        1.19.0          Mathematical Components Library on finite groups
coq-mathcomp-finmap          1.5.2           Finite sets, finite maps, finitely supported functions
coq-mathcomp-solvable        1.19.0          Mathematical Components Library on finite groups (II)
coq-mathcomp-ssreflect       1.19.0          Small Scale Reflection
coq-mathcomp-zify            1.3.0+1.12+8.13 Micromega tactics for Mathematical Components
coq-stdlib                   8.19.0          The Coq Proof Assistant -- Standard Library
coqide-server                8.19.0          The Coq Proof Assistant, XML protocol server
cppo                         1.6.9           Code preprocessor like cpp for OCaml
dune                         3.10.0          Fast, portable, and opinionated build system
easy-format                  1.3.4           High-level and functional interface to the Format module of the OCaml 
elpi                         1.18.1          ELPI - Embeddable λProlog Interpreter
menhir                       20231231        An LR(1) parser generator
menhirCST                    20231231        Runtime support library for parsers generated by Menhir
menhirLib                    20231231        Runtime support library for parsers generated by Menhir
menhirSdk                    20231231        Compile-time library for auxiliary tools related to Menhir
ocaml                        4.12.0          The OCaml compiler (virtual package)
ocaml-base-compiler          4.12.0          Official release 4.12.0
ocaml-compiler-libs          v0.12.4         OCaml compiler libraries repackaged
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
ppx_derivers                 1.2.1           Shared [@@deriving] plugin registry
ppx_deriving                 5.2.1           Type-driven code generation for OCaml
ppxlib                       0.30.0          Standard infrastructure for ppx rewriters
re                           1.11.0          RE is a regular expression library for OCaml
result                       1.5             Compatibility Result module
seq                          base            Compatibility package for OCaml's standard iterator type starting from
sexplib0                     v0.16.0         Library containing the definition of S-expressions and some base conve
stdlib-shims                 0.3.0           Backport some of the new stdlib features to older compiler
yojson                       2.1.2           Yojson is an optimized parsing and printing library for the JSON forma
zarith                       1.13            Implements arithmetic and logical operations over arbitrary-precision