« Up

menhirlib 20200525 Error

(2021-10-27 02:59:51 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
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
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"
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"
license: "LGPL-3.0-or-later"
build: [
  [make "-C" "coq-menhirlib" "-j%{jobs}%"]
]
install: [
  [make "-C" "coq-menhirlib" "install"]
]
depends: [
  "coq" { >= "8.7" }
]
conflicts: [
  "menhir" { != "20200525" }
]
tags: [
  "date:2020-05-25"
  "logpath:MenhirLib"
]
url {
  src:
    "https://gitlab.inria.fr/fpottier/menhir/-/archive/20200525/archive.tar.gz"
  checksum: [
    "md5=382b76757ae8343f42bca7de3bd70efb"
    "sha512=d5cf05b9174fff08922b8a815188cc353ae756dd2ea50df634d407e3bc13c083765b756f484ad08545e8fade36b622f8c498ebb13d0398d724e87bf8bcdfd580"
  ]
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-menhirlib.20200525 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 4h opam install -y --deps-only coq-menhirlib.20200525 coq.dev
Return code
0
Duration
8 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-menhirlib.20200525 coq.dev
Return code
7936
Duration
10 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-gmp              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager 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-menhirlib 20200525
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-menhirlib.20200525: http]
[coq-menhirlib.20200525] downloaded from https://gitlab.inria.fr/fpottier/menhir/-/archive/20200525/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.12.0/.opam-switch/build/coq-menhirlib.20200525)
- make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib'
- *** Warning: in file /home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib/src/Alphabet.v, library Omega is required from root Coq and has not been found in the loadpath!
- Compiling Alphabet...
- Compiling Version...
- File "/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib/src/Alphabet.v", line 14, characters 24-29:
- Error: Unable to locate library Omega with prefix Coq.
- 
- make[2]: *** [Makefile.coq:153: /home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib/src/Alphabet.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [Makefile:10: all] Error 2
- make: *** [Makefile:6: all] Error 2
- make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/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.20200525 =============================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C coq-menhirlib -j4
# exit-code            2
# env-file             ~/.opam/log/coq-menhirlib-30813-0a5907.env
# output-file          ~/.opam/log/coq-menhirlib-30813-0a5907.out
### output ###
# [...]
# make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib'
# *** Warning: in file /home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib/src/Alphabet.v, library Omega is required from root Coq and has not been found in the loadpath!
# Compiling Alphabet...
# Compiling Version...
# File "/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib/src/Alphabet.v", line 14, characters 24-29:
# Error: Unable to locate library Omega with prefix Coq.
# 
# make[2]: *** [Makefile.coq:153: /home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib/src/Alphabet.vo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[1]: *** [Makefile:10: all] Error 2
# make: *** [Makefile:6: all] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20200525/coq-menhirlib'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-menhirlib 20200525
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-menhirlib.20200525 coq.dev' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none