« Up

flocq-quickchick 1.0.1 Error

(2019-11-30 21:22:11 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                 dev         Formal proof management system
num                 1.3         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.09.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.0      Official release 4.09.0
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.8.1       A library manager for OCaml
# opam file:
opam-version: "2.0"
synopsis: "Flocq binary_float generators for QuickChick testing framework"
maintainer: "Yaroslav Kogevnikov <ykozhevnikov@codeminders.com>"
authors: "Yaroslav Kogevnikov <ykozhevnikov@codeminders.com>"
license: "MIT"
homepage: "https://github.com/digamma-ai/flocq-quickchick"
bug-reports: "https://github.com/digamma-ai/flocq-quickchick/issues"
depends: [
  "coq" {>= "8.9"}
  "coq-quickchick" {>= "1.0.2"}
  "coq-flocq" {>= "3.1.0"}
]
build: [
  ["coq_makefile" "-f" "_CoqProject"  "-o" "Makefile"]
  [make "-j%{jobs}%"]
]
install: [make "install"]
dev-repo: "git+https://github.com/digamma-ai/flocq-quickchick.git"
url {
  src : "https://github.com/digamma-ai/flocq-quickchick/archive/1.0.1.tar.gz"
  checksum : "md5=ced088829a344c127cff792047855168"
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-flocq-quickchick.1.0.1 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 2h opam install -y --deps-only coq-flocq-quickchick.1.0.1 coq.dev
Return code
0
Duration
7 m 22 s

Install

Command
opam list; echo; ulimit -Sv 4000000; timeout 1h opam install -y -v coq-flocq-quickchick.1.0.1 coq.dev
Return code
7936
Duration
7 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                    dev         Formal proof management system
coq-ext-lib            dev         A library of Coq definitions, theorems, and tactics.
coq-flocq              dev         A floating-point formalization for the Coq system.
coq-mathcomp-ssreflect dev         Small Scale Reflection
coq-quickchick         dev         QuickChick is a random property-based testing library for Coq.
coq-simple-io          dev         IO monad for Coq
num                    1.3         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                  4.09.0      The OCaml compiler (virtual package)
ocaml-base-compiler    4.09.0      Official release 4.09.0
ocaml-config           1           OCaml Switch Configuration
ocamlbuild             0.14.0      OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind              1.8.1       A library manager for OCaml
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-flocq-quickchick 1.0.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-flocq-quickchick.1.0.1: http]
[coq-flocq-quickchick.1.0.1] downloaded from https://github.com/digamma-ai/flocq-quickchick/archive/1.0.1.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-flocq-quickchick: coq_makefile _CoqProject]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "coq_makefile" "-f" "_CoqProject" "-o" "Makefile" (CWD=/home/bench/.opam/ocaml-base-compiler.4.09.0/.opam-switch/build/coq-flocq-quickchick.1.0.1)
Processing  1/2: [coq-flocq-quickchick: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.09.0/.opam-switch/build/coq-flocq-quickchick.1.0.1)
- COQDEP VFILES
- COQC Generators.v
- File "./Generators.v", line 56, characters 0-20:
- Warning: Interpreting this declaration as if a global declaration prefixed by
- "Local", i.e. as a global declaration which shall not be available without
- qualification when imported. [local-declaration,scope]
- File "./Generators.v", line 56, characters 12-19:
- Error: The reference log_inf was not found in the current environment.
- 
- Makefile:672: recipe for target 'Generators.vo' failed
- make[1]: *** [Generators.vo] Error 1
- Makefile:326: recipe for target 'all' failed
- make: *** [all] Error 2
[ERROR] The compilation of coq-flocq-quickchick failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-flocq-quickchick.1.0.1 =========================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.09.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.09.0/.opam-switch/build/coq-flocq-quickchick.1.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-flocq-quickchick-29667-e4db2f.env
# output-file          ~/.opam/log/coq-flocq-quickchick-29667-e4db2f.out
### output ###
# [...]
# COQC Generators.v
# File "./Generators.v", line 56, characters 0-20:
# Warning: Interpreting this declaration as if a global declaration prefixed by
# "Local", i.e. as a global declaration which shall not be available without
# qualification when imported. [local-declaration,scope]
# File "./Generators.v", line 56, characters 12-19:
# Error: The reference log_inf was not found in the current environment.
# 
# Makefile:672: recipe for target 'Generators.vo' failed
# make[1]: *** [Generators.vo] Error 1
# Makefile:326: recipe for target 'all' failed
# make: *** [all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-flocq-quickchick 1.0.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-flocq-quickchick.1.0.1 coq.dev' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none