« Up

menhirlib 20190924 Error

(2020-08-26 04:03:56 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-m4             1           Virtual package relying on m4
coq                 8.12.0      Formal proof management system
num                 1.3         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.10.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.0      Official release 4.10.0
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
# opam file:
opam-version: "2.0"
synopsis: "A support library for verified Coq parsers produced by Menhir"
maintainer: "francois.pottier@inria.fr"
authors: [
  "Jacques-Henri Jourdan <jacques-henri.jourdan@lri.fr>"
]
homepage: "https://gitlab.inria.fr/fpottier/menhir"
dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
bug-reports: "jacques-henri.jourdan@lri.fr"
build: [
  [make "-C" "coq-menhirlib" "-j%{jobs}%"]
]
install: [
  [make "-C" "coq-menhirlib" "install"]
]
depends: [
  "coq" { >= "8.7" }
]
conflicts: [
  "menhir" { != "20190924" }
]
tags: [
  "date:2019-09-24"
  "logpath:MenhirLib"
]
url {
  src:
    "https://gitlab.inria.fr/fpottier/menhir/repository/20190924/archive.tar.gz"
  checksum: [
    "md5=677f1997fb73177d5a00fa1b8d61c3ef"
    "sha512=ea8a9a6d773529cf6ac05e4c6c4532770fbb8e574c9b646efcefe90d9f24544741e3e8cfd94c8afea0447e34059a8c79c2829b46764ce3a3d6dcb3e7f75980fc"
  ]
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-menhirlib.20190924 coq.8.12.0
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-menhirlib.20190924 coq.8.12.0
Return code
0
Duration
6 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v coq-menhirlib.20190924 coq.8.12.0
Return code
7936
Duration
9 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-m4             1           Virtual package relying on m4
coq                 8.12.0      Formal proof management system
num                 1.3         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.10.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.0      Official release 4.10.0
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
[NOTE] Package coq is already installed (current version is 8.12.0).
The following actions will be performed:
  - install coq-menhirlib 20190924
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-menhirlib.20190924: http]
[coq-menhirlib.20190924] downloaded from https://gitlab.inria.fr/fpottier/menhir/repository/20190924/archive.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-menhirlib: make coq-menhirlib]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-C" "coq-menhirlib" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924)
- make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib'
- Compiling Alphabet...
- Compiling Version...
- File "/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib/src/Alphabet.v", line 181, characters 28-29:
- Error:
- Syntax error: [constr:operconstr level 200] expected after '(' (in [constr:operconstr]).
- 
- make[2]: *** [Makefile.coq:152: /home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib/src/Alphabet.vo] Error 1
- make[1]: *** [Makefile:15: all] Error 2
- make: *** [Makefile:6: all] Error 2
- make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib'
[ERROR] The compilation of coq-menhirlib failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -C coq-menhirlib -j4".
#=== ERROR while compiling coq-menhirlib.20190924 =============================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C coq-menhirlib -j4
# exit-code            2
# env-file             ~/.opam/log/coq-menhirlib-26336-0a5907.env
# output-file          ~/.opam/log/coq-menhirlib-26336-0a5907.out
### output ###
# make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib'
# Compiling Alphabet...
# Compiling Version...
# File "/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib/src/Alphabet.v", line 181, characters 28-29:
# Error:
# Syntax error: [constr:operconstr level 200] expected after '(' (in [constr:operconstr]).
# 
# make[2]: *** [Makefile.coq:152: /home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib/src/Alphabet.vo] Error 1
# make[1]: *** [Makefile:15: all] Error 2
# make: *** [Makefile:6: all] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.10.0/.opam-switch/build/coq-menhirlib.20190924/coq-menhirlib'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-menhirlib 20190924
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-menhirlib.20190924 coq.8.12.0' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none