ยซ Up

actuary 2.2 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.14.0      Formal proof management system
dune                  3.4.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.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.12"}
  "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:2021-12-18"
]
authors: [
  "Yosuke Ito"
]
url {
  src: "https://github.com/Yosuke-Ito-345/Actuary/archive/v2.2.tar.gz"
  checksum: "sha512=0805c63fa2eac6782716ff0f63fb59e125e24dff1ed6a8356d4020d5325b3e579ba5de548f7a1cec5832dd46d1e2892a43d841ee1f1e8f2affde305db498d1fc"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-actuary.2.2 coq.8.14.0
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.2 coq.8.14.0
Return code
0
Duration
5 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-actuary.2.2 coq.8.14.0
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.14.0      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
dune                   3.4.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.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.14.0).
The following actions will be performed:
  - install coq-actuary 2.2
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-actuary.2.2: http]
[coq-actuary.2.2] downloaded from https://github.com/Yosuke-Ito-345/Actuary/archive/v2.2.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.2)
- 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.2'
- 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 attribute is therefore deprecated. It is
- recommended to use "export" whenever possible. Use the attributes #[local],
- #[global] and #[export] depending on your choice. For example: "#[export]
- Hint Unfold foo : bar." [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 attribute is therefore deprecated. It is
- recommended to use "export" whenever possible. Use the attributes #[local],
- #[global] and #[export] depending on your choice. For example: "#[export]
- Hint Unfold foo : bar." [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 attribute is therefore deprecated. It is
- recommended to use "export" whenever possible. Use the attributes #[local],
- #[global] and #[export] depending on your choice. For example: "#[export]
- Hint Unfold foo : bar." [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 attribute is therefore deprecated. It is
- recommended to use "export" whenever possible. Use the attributes #[local],
- #[global] and #[export] depending on your choice. For example: "#[export]
- Hint Unfold foo : bar." [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 attribute is therefore deprecated. It is
- recommended to use "export" whenever possible. Use the attributes #[local],
- #[global] and #[export] depending on your choice. For example: "#[export]
- Hint Unfold foo : bar." [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 attribute is therefore deprecated. It is
- recommended to use "export" whenever possible. Use the attributes #[local],
- #[global] and #[export] depending on your choice. For example: "#[export]
- Hint Unfold foo : bar." [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:763: theories/LifeTable.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- make[1]: *** [Makefile.coq:386: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-actuary.2.2'
- 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.2 ====================================#
# 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.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-actuary-11220-335865.env
# output-file          ~/.opam/log/coq-actuary-11220-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:763: theories/LifeTable.vo] Error 1
# make[2]: *** Waiting for unfinished jobs....
# make[1]: *** [Makefile.coq:386: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-actuary.2.2'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-actuary 2.2
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-actuary.2.2 coq.8.14.0' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none