« Up

menhirlib 20201216 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/coq-menhirlib"
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" { != "20201216" }
]
tags: [
  "date:2020-12-16"
  "logpath:MenhirLib"
]
url {
  src:
    "https://gitlab.inria.fr/fpottier/menhir/-/archive/20201216/archive.tar.gz"
  checksum: [
    "md5=f27f8f5dedd316eff4c02d9130fced49"
    "sha512=50f86fb2f55184f43c4be9c572ada4feb2208eb350ef64b2651351934a1b48a0b7e98c8c752c3c22e95676c5a0f38b0e638b3f845e53ecff1740dad95b50918c"
  ]
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-menhirlib.20201216 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.20201216 coq.dev
Return code
0
Duration
44 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-menhirlib.20201216 coq.dev
Return code
7936
Duration
49 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 20201216
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-menhirlib.20201216: http]
[coq-menhirlib.20201216] downloaded from https://gitlab.inria.fr/fpottier/menhir/-/archive/20201216/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.20201216)
- make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20201216/coq-menhirlib'
- *** Warning: in file Alphabet.v, library Omega is required from root Coq and has not been found in the loadpath!
- Compiling Version...
- Compiling Alphabet...
- File "./Alphabet.v", line 14, characters 24-29:
- Error: Unable to locate library Omega with prefix Coq.
- 
- make[2]: *** [Makefile.coq:143: Alphabet.vo] Error 1
- 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.20201216/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.20201216 =============================#
# 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.20201216
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -C coq-menhirlib -j4
# exit-code            2
# env-file             ~/.opam/log/coq-menhirlib-24503-0a5907.env
# output-file          ~/.opam/log/coq-menhirlib-24503-0a5907.out
### output ###
# make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-menhirlib.20201216/coq-menhirlib'
# *** Warning: in file Alphabet.v, library Omega is required from root Coq and has not been found in the loadpath!
# Compiling Version...
# Compiling Alphabet...
# File "./Alphabet.v", line 14, characters 24-29:
# Error: Unable to locate library Omega with prefix Coq.
# 
# make[2]: *** [Makefile.coq:143: Alphabet.vo] Error 1
# 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.20201216/coq-menhirlib'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-menhirlib 20201216
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-menhirlib.20201216 coq.dev' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none