ยซ Up

flocq 4.1.2 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: "guillaume.melquiond@inria.fr"
homepage: "https://flocq.gitlabpages.inria.fr/"
dev-repo: "git+https://gitlab.inria.fr/flocq/flocq.git"
bug-reports: "https://gitlab.inria.fr/flocq/flocq/issues"
license: "LGPL-3.0-or-later"
build: [
  ["autoconf"] {dev}
  ["./configure"]
  ["./remake" "-j%{jobs}%"]
]
install: ["./remake" "install"]
depends: [
  "coq" {>= "8.12"}
  "conf-autoconf" {build & dev}
  ("conf-g++" {build} | "conf-clang" {build})
]
tags: [
  "keyword:floating-point arithmetic"
  "logpath:Flocq"
  "date:2023-09-01"
]
authors: [
  "Sylvie Boldo <sylvie.boldo@inria.fr>"
  "Guillaume Melquiond <guillaume.melquiond@inria.fr>"
]
synopsis: "A formalization of floating-point arithmetic for the Coq system"
url {
  src: "https://flocq.gitlabpages.inria.fr/releases/flocq-4.1.2.tar.gz"
  checksum: "sha512=a86aecbb2fd93153c84d6d70bd54e4981e8940d05292c4d8ac6eba3448d756dc96e7d0242b511e6e0faefc002e04043c4c084a9e2215f13880a813c55dce019d"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-flocq.4.1.2 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-flocq.4.1.2 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-flocq.4.1.2 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-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                   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-flocq 4.1.2
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-flocq.4.1.2: http]
[coq-flocq.4.1.2] downloaded from https://flocq.gitlabpages.inria.fr/releases/flocq-4.1.2.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-flocq: ./configure]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-flocq.4.1.2)
- checking for coqc... /home/bench/.opam/ocaml-base-compiler.4.14.0/bin/coqc
- checking Coq version... 8.20
- checking for coqdep... /home/bench/.opam/ocaml-base-compiler.4.14.0/bin/coqdep
- checking for coqdoc... /home/bench/.opam/ocaml-base-compiler.4.14.0/bin/coqdoc
- checking for g++... g++
- checking whether the C++ compiler works... yes
- checking for C++ compiler default output file name... a.out
- checking for suffix of executables... 
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether the compiler supports GNU C++... yes
- checking whether g++ accepts -g... yes
- checking for g++ option to enable C++11 features... none needed
- configure: building remake...
- /usr/bin/ld: /opam-tmp/ccGu9Qzd.o: in function `main':
- remake.cpp:(.text.startup+0xbb3): warning: the use of `tempnam' is dangerous, better use `mkstemp'
- configure: creating ./config.status
- config.status: creating Remakefile
- config.status: creating src/Version.v
- config.status: creating src/IEEE754/Int63Compat.v
- config.status: creating src/Pff/Nat2Z_compat.v
Processing  1/2: [coq-flocq: ./remake]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "./remake" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-flocq.4.1.2)
- Building src/Version.vo
- Building src/Core/Raux.vo
- Building src/Core/Zaux.vo
- Building src/Core/Defs.vo
- Building src/Core/Digits.vo
- Building src/Core/Float_prop.vo
- Building src/Core/FIX.vo
- Building src/Core/FLT.vo
- Building src/Core/Generic_fmt.vo
- Building src/Core/FLX.vo
- File "./src/Version.v", line 30, characters 6-18:
- Warning: Unused variable Empty_string might be a misspelled constructor. Use
- _ or _Empty_string to silence this warning.
- [unused-pattern-matching-variable,default]
- Finished src/Version.vo
- Building src/Core/Round_NE.vo
- Building src/Core/Round_pred.vo
- Building src/Core/Ulp.vo
- Building src/Core/FTZ.vo
- Building src/Core/Core.vo
- Building src/Calc/Bracket.vo
- Building src/Calc/Div.vo
- Building src/Calc/Operations.vo
- Building src/Calc/Plus.vo
- Building src/Calc/Round.vo
- Building src/Calc/Sqrt.vo
- Building src/Prop/Div_sqrt_error.vo
- File "./src/Core/Zaux.v", line 327, characters 2-6:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 327, characters 8-12:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 327, characters 28-32:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 361, characters 10-14:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 361, characters 31-35:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 367, characters 25-29:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 367, characters 25-29:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 367, characters 25-29:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 367, characters 25-29:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- Building src/Prop/Mult_error.vo
- Building src/Prop/Plus_error.vo
- Building src/Prop/Relative.vo
- Building src/Prop/Sterbenz.vo
- Building src/Prop/Round_odd.vo
- Building src/Prop/Double_rounding.vo
- File "./src/Core/Zaux.v", line 855, characters 31-35:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- File "./src/Core/Zaux.v", line 858, characters 14-18:
- Warning: Notation Zmod is deprecated since 8.17.
- Use Coq.ZArith.BinIntDef.Z.modulo instead
- [deprecated-syntactic-definition-since-8.17,deprecated-since-8.17,deprecated-syntactic-definition,deprecated,default]
- Building src/IEEE754/BinarySingleNaN.vo
- Building src/IEEE754/Binary.vo
- Building src/IEEE754/Bits.vo
- File "./src/Core/Zaux.v", line 991, characters 0-20:
- Error: The variable plus_0_r was not found in the current environment.
- 
- Building src/IEEE754/Int63Compat.vo
- Building src/IEEE754/Int63Copy.vo
- Building src/IEEE754/PrimFloat.vo
- Failed to build src/Core/Zaux.vo
- Failed to build src/Prop/Sterbenz.vo
- Failed to build src/Prop/Div_sqrt_error.vo
- Failed to build src/Calc/Sqrt.vo
- Failed to build src/IEEE754/Binary.vo
- Failed to build src/IEEE754/Bits.vo
- Failed to build src/IEEE754/BinarySingleNaN.vo
- Failed to build src/Calc/Operations.vo
- Failed to build src/Prop/Round_odd.vo
- Failed to build src/Prop/Plus_error.vo
- Failed to build src/Prop/Mult_error.vo
- Failed to build src/Calc/Plus.vo
- Failed to build src/Calc/Div.vo
- Failed to build src/Calc/Bracket.vo
- Failed to build src/Calc/Round.vo
- Failed to build src/Core/FTZ.vo
- Failed to build src/Prop/Double_rounding.vo
- Failed to build src/Core/Core.vo
- Failed to build src/Prop/Relative.vo
- Failed to build src/Core/Ulp.vo
- Failed to build src/Core/Round_NE.vo
- Failed to build src/Core/FLX.vo
- Failed to build src/Core/Generic_fmt.vo
- Failed to build src/Core/FLT.vo
- Failed to build src/Core/FIX.vo
- Failed to build src/Core/Digits.vo
- Failed to build src/Core/Float_prop.vo
- Failed to build src/Core/Defs.vo
- Failed to build src/Core/Round_pred.vo
- Failed to build src/Core/Raux.vo
- Failed to build all
- Failed to build src/IEEE754/PrimFloat.vo
- Finished src/IEEE754/Int63Copy.vo
- Finished src/IEEE754/Int63Compat.vo
[ERROR] The compilation of coq-flocq failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./remake -j4".
#=== ERROR while compiling coq-flocq.4.1.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-flocq.4.1.2
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./remake -j4
# exit-code            1
# env-file             ~/.opam/log/coq-flocq-561-2dea01.env
# output-file          ~/.opam/log/coq-flocq-561-2dea01.out
### output ###
# [...]
# Failed to build src/Core/Generic_fmt.vo
# Failed to build src/Core/FLT.vo
# Failed to build src/Core/FIX.vo
# Failed to build src/Core/Digits.vo
# Failed to build src/Core/Float_prop.vo
# Failed to build src/Core/Defs.vo
# Failed to build src/Core/Round_pred.vo
# Failed to build src/Core/Raux.vo
# Failed to build all
# Failed to build src/IEEE754/PrimFloat.vo
# Finished src/IEEE754/Int63Copy.vo
# Finished src/IEEE754/Int63Compat.vo
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-flocq 4.1.2
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-flocq.4.1.2 coq.dev' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none