ยซ Up

actuary 2.3 Error ๐Ÿ”ฅ

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              4           Virtual package relying on a GMP lib system installation
coq                   8.13.1      Formal proof management system
num                   1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
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.5       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/Yosuke-Ito-345/Actuary"
dev-repo: "git+https://github.com/Yosuke-Ito-345/Actuary.git"
bug-reports: "https://github.com/Yosuke-Ito-345/Actuary/issues"
license: "MIT"
synopsis: "Formalization of actuarial mathematics in Coq"
description: """
This package formalizes basic actuarial mathematics using Coq and
the Mathematical Components and Coquelicot libraries. This includes
the theory of interest, life tables, annuities, and reserves."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
  "coq" {>= "8.13"}
  "coq-mathcomp-ssreflect" {>= "1.12"}
  "coq-coquelicot" {>= "3.1.0"}
]
tags: [  
  "category:Mathematics/Real Calculus and Topology"
  "keyword:present value"
  "keyword:life tables"
  "keyword:annuities"
  "keyword:reserves"
  "keyword:actuarial mathematics"
  "logpath:Actuary"
  "date:2022-06-07"
]
authors: [
  "Yosuke Ito"
]
url {
  src: "https://github.com/Yosuke-Ito-345/Actuary/archive/v2.3.tar.gz"
  checksum: "sha512=152a54f2ca00a49808bcb3f357a75609df31e69f41e755ab72bb74fd5c21e2a84033882c590b8230385780d495a2a6f4c8f96c1cf961241ca5676376b04a4535"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-actuary.2.3 coq.8.13.1
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-actuary.2.3 coq.8.13.1
Return code
0
Duration
9 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-actuary.2.3 coq.8.13.1
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-findutils         1           Virtual package relying on findutils
conf-g++               1.0         Virtual package relying on the g++ compiler (for C++)
conf-gmp               4           Virtual package relying on a GMP lib system installation
coq                    8.13.1      Formal proof management system
coq-coquelicot         3.2.0       A Coq formalization of real analysis compatible with the standard library
coq-mathcomp-ssreflect 1.15.0      Small Scale Reflection
num                    1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
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.5       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 8.13.1).
The following actions will be performed:
  - install coq-actuary 2.3
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-actuary.2.3: http]
[coq-actuary.2.3] downloaded from https://github.com/Yosuke-Ito-345/Actuary/archive/v2.3.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-actuary: 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-actuary.2.3)
- coq_makefile -f _CoqProject -o Makefile.coq
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-actuary.2.3'
- COQDEP VFILES
- COQC theories/Basics.v
- File "./theories/Basics.v", line 138, characters 0-29:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- File "./theories/Basics.v", line 145, characters 0-29:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- File "./theories/Basics.v", line 152, characters 0-27:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- File "./theories/Basics.v", line 159, characters 0-29:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- File "./theories/Basics.v", line 166, characters 0-28:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- COQC theories/Interest.v
- COQC theories/LifeTable.v
- File "./theories/Interest.v", line 13, characters 0-37:
- Warning: This notation will not be used for printing as it is bound to a
- single variable. [notation-bound-to-variable,parsing]
- File "./theories/LifeTable.v", line 20, characters 0-55:
- Warning: The default value for hint locality is currently "local" in a
- section and "global" otherwise, but is scheduled to change in a future
- release. For the time being, adding hints outside of sections without
- specifying an explicit locality is therefore deprecated. It is recommended to
- use "export" whenever possible. [deprecated-hint-without-locality,deprecated]
- File "./theories/LifeTable.v", line 307, characters 21-31:
- Error:
- In environment
- l : life
- l_fin : l_finite l
- The term "\l_ \ฯ‰ > 0" has type "Prop" while it is expected to have type
-  "?Q -> ?P".
- 
- make[2]: *** [Makefile.coq:720: theories/LifeTable.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [Makefile.coq:343: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-actuary.2.3'
- make: *** [Makefile:2: all] Error 2
[ERROR] The compilation of coq-actuary failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-actuary.2.3 ====================================#
# 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-actuary.2.3
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-actuary-15598-335865.env
# output-file          ~/.opam/log/coq-actuary-15598-335865.out
### output ###
# [...]
# Error:
# In environment
# l : life
# l_fin : l_finite l
# The term "\l_ \ฯ‰ > 0" has type "Prop" while it is expected to have type
#  "?Q -> ?P".
# 
# make[2]: *** [Makefile.coq:720: theories/LifeTable.vo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[1]: *** [Makefile.coq:343: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-actuary.2.3'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-actuary 2.3
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-actuary.2.3 coq.8.13.1' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none