« Up

elpi 1.3.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.10.2      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: [ "Enrico Tassi" ]
license: "LGPL-2.1-or-later"
homepage: "https://github.com/LPCIC/coq-elpi"
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
dev-repo: "git+https://github.com/LPCIC/coq-elpi"
build: [ make "COQBIN=%{bin}%/" "ELPIDIR=%{prefix}%/lib/elpi" ]
install: [ make "install" "COQBIN=%{bin}%/" "ELPIDIR=%{prefix}%/lib/elpi" ]
depends: [
  "elpi" {>= "1.10.2" & < "1.11.0~"}
  "coq" {>= "8.10" & < "8.11~"}
  ]
synopsis: "Elpi extension language for Coq"
description: """
Coq-elpi provides a Coq plugin that embeds ELPI.
It also provides a way to embed Coq's terms into λProlog using
the Higher-Order Abstract Syntax approach
and a way to read terms back.  In addition to that it exports to ELPI a
set of Coq's primitives, e.g. printing a message, accessing the
environment of theorems and data types, defining a new constant and so on.
For convenience it also provides a quotation and anti-quotation for Coq's
syntax in λProlog.  E.g. `{{nat}}` is expanded to the type name of natural
numbers, or `{{A -> B}}` to the representation of a product by unfolding
the `->` notation. Finally it provides a way to define new vernacular commands
and new tactics."""
url {
src: "https://github.com/LPCIC/coq-elpi/archive/v1.3.0.tar.gz"
checksum: "sha256=d93545398683231159c1466456ba9d9920fb3ceaecf80c49827be11816762581"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-elpi.1.3.0 coq.8.10.2
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-elpi.1.3.0 coq.8.10.2
Return code
7936
Duration
8 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.10.2      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
===== 14 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
[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 camlp5.7.14
-> installed ppx_tools_versioned.5.4.0
#=== 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#0a4c2bf0
# 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-29174-1d5e91.env
# output-file          ~/.opam/log/ppx_deriving-29174-1d5e91.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-20220314150231.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