ยซ Up

hierarchy-builder 0.9.0 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
coq                 8.11.1      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
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
# 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"      {>= "8.10.0" & < "8.12.0~" }
  "coq-elpi" {>= "1.3.0" & < "1.4.0~"}
  ]
synopsis: "Hierarchy Builder"
description: """
High level commands to declare and evolve a hierarchy based on packed classes.
"""
url {
  src: "https://github.com/math-comp/hierarchy-builder/archive/v0.9.0.tar.gz"
  checksum: "sha256=6eb4d51a1c66aeea8448f7c62b21a8603ccd025c00b9b62976c1e01278a6cd01"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-hierarchy-builder.0.9.0 coq.8.11.1
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-hierarchy-builder.0.9.0 coq.8.11.1
Return code
7936
Duration
9 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
coq                 8.11.1      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
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
The following actions will be performed:
  - install conf-perl               2
  - install seq                     base
  - install dune                    3.0.3
  - install camlp5                  7.14
  - install result                  1.5
  - install re                      1.10.3
  - install ppx_derivers            1.2.1
  - install cppo                    1.6.8
  - install ocaml-migrate-parsetree 1.8.0
  - install ppx_tools               6.5
  - install ppxfind                 1.4
  - install ppx_tools_versioned     5.4.0
  - install ppx_deriving            4.4.1
  - install elpi                    1.10.2
  - install coq-elpi                1.3.1
===== 15 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cppo.1.6.8] downloaded from cache at https://opam.ocaml.org/cache
[camlp5.7.14] downloaded from cache at https://opam.ocaml.org/cache
[coq-elpi.1.3.1] downloaded from https://github.com/LPCIC/coq-elpi/archive/v1.3.1.tar.gz
[dune.3.0.3] downloaded from cache at https://opam.ocaml.org/cache
[elpi.1.10.2] 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_derivers.1.2.1] downloaded from cache at https://opam.ocaml.org/cache
[ppx_deriving.4.4.1] downloaded from cache at https://opam.ocaml.org/cache
[ppx_tools.6.5] downloaded from cache at https://opam.ocaml.org/cache
[ppx_tools_versioned.5.4.0] downloaded from cache at https://opam.ocaml.org/cache
[ppxfind.1.4] downloaded from cache at https://opam.ocaml.org/cache
[re.1.10.3] downloaded from cache at https://opam.ocaml.org/cache
[result.1.5] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed conf-perl.2
-> installed dune.3.0.3
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed cppo.1.6.8
-> installed re.1.10.3
-> installed ppx_tools.6.5
-> installed ocaml-migrate-parsetree.1.8.0
-> installed ppxfind.1.4
[ERROR] The compilation of ppx_deriving failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_deriving -j 4".
-> installed ppx_tools_versioned.5.4.0
-> installed camlp5.7.14
#=== ERROR while compiling ppx_deriving.4.4.1 =================================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.08.1 | https://opam.ocaml.org#9d1edec4
# path                 ~/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/ppx_deriving.4.4.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_deriving -j 4
# exit-code            1
# env-file             ~/.opam/log/ppx_deriving-32660-617fdf.env
# output-file          ~/.opam/log/ppx_deriving-32660-617fdf.out
### output ###
# File "src_plugins/map/dune", line 1, characters 0-146:
# 1 | (rule
# 2 |  (deps ppx_deriving_map.cppo.ml)
# 3 |  (targets ppx_deriving_map.ml)
# 4 |  (action (run %{bin:cppo} -V OCAML:%{ocaml_version} %{deps} -o %{targets})))
# (cd _build/default/src_plugins/map && /home/bench/.opam/ocaml-base-compiler.4.08.1/bin/cppo -V OCAML:4.08.1 ppx_deriving_map.cppo.ml -o ppx_deriving_map.ml)
# Error: File "ppx_deriving_map.cppo.ml", line 1, characters 0-33
# Error: Cannot find included file "../compat_macros.cppo"
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_deriving 4.4.1
+- 
+- The following changes have been performed (the rest was aborted)
| - install camlp5                  7.14
| - install conf-perl               2
| - install cppo                    1.6.8
| - install dune                    3.0.3
| - install ocaml-migrate-parsetree 1.8.0
| - install ppx_derivers            1.2.1
| - install ppx_tools               6.5
| - install ppx_tools_versioned     5.4.0
| - install ppxfind                 1.4
| - install re                      1.10.3
| - install result                  1.5
| - install seq                     base
+- 
# 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-20220319173421.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