« Up

hierarchy-builder dev Error

(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: "Enrico Tassi <enrico.tassi@inria.fr>"
authors: [ "Cyril Cohen" "Kazuhiko Sakaguchi" "Enrico Tassi" ]
license: "MIT"
homepage: "https://github.com/math-comp/hierarchy-builder"
bug-reports: "https://github.com/math-comp/hierarchy-builder/issues"
dev-repo: "git+https://github.com/math-comp/hierarchy-builder"
build: [ make ]
install: [ make "install" "VFILES=structures.v" ]
depends: [ "coq-elpi" {= "dev"} ]
synopsis: "Hierarchy Builder"
description: """
High level commands to declare and evolve a hierarchy based on packed classes.
"""
url {
  src: "git+https://github.com/math-comp/hierarchy-builder.git#master"
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-hierarchy-builder.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-hierarchy-builder.dev coq.dev
Return code
0
Duration
12 m 42 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y coq-hierarchy-builder.dev coq.dev
Return code
7936
Duration
20 s
Output
# Packages matching: installed
# Name                  # Installed # Synopsis
base                    v0.14.1     Full standard library replacement for OCaml
base-bigarray           base
base-threads            base
base-unix               base
camlp5                  7.14        Preprocessor-pretty-printer of OCaml
conf-findutils          1           Virtual package relying on findutils
conf-gmp                3           Virtual package relying on a GMP lib system installation
conf-perl               1           Virtual package relying on perl
coq                     dev         Formal proof management system
coq-elpi                dev         Elpi extension language for Coq
cppo                    1.6.7       Code preprocessor like cpp for OCaml
csexp                   1.5.1       Parsing and printing of S-expressions in Canonical form
dune                    2.8.5       Fast, portable, and opinionated build system
dune-configurator       2.8.5       Helper library for gathering system configuration
elpi                    1.13.0      ELPI - Embeddable λProlog Interpreter
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-compiler-libs     v0.12.3     OCaml compiler libraries repackaged
ocaml-config            1           OCaml Switch Configuration
ocaml-migrate-parsetree 1.8.0       Convert OCaml parsetrees between different versions
ocamlfind               1.9.1       A library manager for OCaml
ppx_derivers            1.2.1       Shared [@@deriving] plugin registry
ppx_deriving            5.1         Type-driven code generation for OCaml
ppxlib                  0.14.0      Base library and tools for ppx rewriters
re                      1.9.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 4.07.
sexplib0                v0.14.0     Library containing the definition of S-expressions and some base converters
stdio                   v0.14.0     Standard IO library for OCaml
zarith                  1.12        Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-hierarchy-builder dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-hierarchy-builder.dev] synchronised from git+https://github.com/math-comp/hierarchy-builder.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-hierarchy-builder failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make".
#=== 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-9113-e4db2f.env
# output-file          ~/.opam/log/coq-hierarchy-builder-9113-e4db2f.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
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none