ยซ Up

alea 8.12.0 Error ๐Ÿ”ฅ

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "anton.a.trunov@gmail.com"
homepage: "https://github.com/coq-community/alea"
dev-repo: "git+https://github.com/coq-community/alea.git"
bug-reports: "https://github.com/coq-community/alea/issues"
license: "LGPL-2.1-only"
synopsis: "Coq library for reasoning on randomized algorithms"
description: """
ALEA is a library for reasoning on randomized algorithms
in Coq, based on interpreting programs inside a monad
as probability distributions."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
  "coq" {(>= "8.12" & < "8.15~") | (= "dev")}
]
tags: [
  "category:Computer Science/Data Types and Data Structures"
  "keyword:randomized algorithm"
  "keyword:probability"
  "keyword:monads"
  "logpath:ALEA"
]
authors: [
  "Christine Paulin-Mohring"
  "David Baelde"
  "Pierre Courtieu"
]
url {
  src: "https://github.com/coq-community/alea/archive/v8.12.0.tar.gz"
  checksum: "sha512=eca50e7804b3ab29294d6a41e34d3207298c5f72086b82b4ce3387fc479505e930ac83159d214f378adb1f6d351e72849c14341581db4490bbc2a20a249959ab"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-alea.8.12.0 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-alea.8.12.0 coq.dev
Return code
0
Duration
1 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-alea.8.12.0 coq.dev
Return code
7936
Duration
1 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        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-alea 8.12.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-alea.8.12.0: http]
[coq-alea.8.12.0] downloaded from https://github.com/coq-community/alea/archive/v8.12.0.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-alea: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-alea.8.12.0)
- coq_makefile -f _CoqProject -o CoqMakefile
- make --no-print-directory -f CoqMakefile 
- COQDEP VFILES
- Warning: in file Sets.v, library Lt is required
-          from root Coq and has not been found in the loadpath!
-          [module-not-found,filesystem,default]
- COQC Ccpo.v
- COQC Misc.v
- COQC Sets.v
- File "./Sets.v", line 2, characters 0-27:
- Error: Cannot find a physical path bound to logical path Lt with prefix Coq.
- 
- make[2]: *** [CoqMakefile:847: Sets.vo] Error 1
- make[2]: *** [Sets.vo] Deleting file 'Sets.glob'
- make[2]: *** Waiting for unfinished jobs....
- File "./Ccpo.v", line 238, characters 10-18:
- Error: The variable le_trans was not found in the current environment.
- 
- make[2]: *** [CoqMakefile:847: Ccpo.vo] Error 1
- make[2]: *** [Ccpo.vo] Deleting file 'Ccpo.glob'
- make[1]: *** [CoqMakefile:417: all] Error 2
- make: *** [Makefile:13: invoke-coqmakefile] Error 2
[ERROR] The compilation of coq-alea failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-alea.8.12.0 ====================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-alea.8.12.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-alea-11735-335865.env
# output-file          ~/.opam/log/coq-alea-11735-335865.out
### output ###
# [...]
# Error: Cannot find a physical path bound to logical path Lt with prefix Coq.
# 
# make[2]: *** [CoqMakefile:847: Sets.vo] Error 1
# make[2]: *** [Sets.vo] Deleting file 'Sets.glob'
# make[2]: *** Waiting for unfinished jobs....
# File "./Ccpo.v", line 238, characters 10-18:
# Error: The variable le_trans was not found in the current environment.
# 
# make[2]: *** [CoqMakefile:847: Ccpo.vo] Error 1
# make[2]: *** [Ccpo.vo] Deleting file 'Ccpo.glob'
# make[1]: *** [CoqMakefile:417: all] Error 2
# make: *** [Makefile:13: invoke-coqmakefile] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-alea 8.12.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-alea.8.12.0 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none