ยซ Up

algorand 1.2 Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
coq                 8.11.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.09.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1      Official release 4.09.1
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.6       A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/runtimeverification/algorand-verification"
dev-repo: "git+https://github.com/runtimeverification/algorand-verification.git"
bug-reports: "https://github.com/runtimeverification/algorand-verification/issues"
license: "NCSA"
synopsis: "A verified model of Algorand in Coq"
description: """
The Algorand consensus protocol provides the foundation for a
decentralized digital currency and transactions platform. This project
provides a model of the protocol in Coq, expressed as a transition
system over global states in a message-passing distributed system.
Included is a formal proof of safety for the transition system."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
  "coq" {>= "8.11" & < "8.12~"}
  "coq-mathcomp-ssreflect" {>= "1.11" & < "1.12~"}
  "coq-mathcomp-algebra"
  "coq-mathcomp-finmap" {>= "1.5"}
  "coq-mathcomp-analysis" {>= "0.3.1" & < "0.3.3~"}
  "coq-interval" {>= "4.0.0"}
  "coq-record-update"
]
tags: [
  "category:Computer Science/Concurrent Systems and Protocols/Theory of concurrent systems"
  "keyword:distributed algorithms"
  "keyword:blockchain"
  "keyword:consensus"
  "keyword:algorand"
  "logpath:Algorand"
  "date:2020-07-24"
]
authors: [
  "Musab A. Alturki"
  "Jing Chen"
  "Victor Luchangco"
  "Brandon Moore"
  "Karl Palmskog"
  "Lucas Peรฑa"
  "Grigore Rosu"
]
url {
  src: "https://github.com/runtimeverification/algorand-verification/archive/release-1.2.tar.gz"
  checksum: "sha512=f687c34da1800db35e7ef5a56e1eae918e016a7c3e5471995317c70de1084771563019e0adb132af1d92914e50b843cca197752bf56a63839e5ccf8feaf3cbd2"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-algorand.1.2 coq.8.11.2
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-algorand.1.2 coq.8.11.2
Return code
7936
Duration
1 h 6 m
Output
# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-threads        base
base-unix           base
conf-findutils      1           Virtual package relying on findutils
coq                 8.11.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.09.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.09.1      Official release 4.09.1
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.6       A library manager for OCaml
The following actions will be performed:
  - install coq-record-update      0.3.2
  - install conf-g++               1.0
  - install coq-mathcomp-ssreflect 1.11.0
  - install coq-bignums            8.11.0
  - install coq-flocq              3.4.3
  - install coq-mathcomp-finmap    1.5.1
  - install coq-mathcomp-fingroup  1.11.0
  - install coq-mathcomp-bigenough 1.0.1
  - install coq-coquelicot         3.2.0
  - install coq-mathcomp-algebra   1.11.0
  - install coq-interval           4.9.0
  - install coq-mathcomp-solvable  1.11.0
  - install coq-mathcomp-field     1.11.0
  - install coq-mathcomp-analysis  0.3.2
===== 14 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-coquelicot.3.2.0] downloaded from https://coquelicot.gitlabpages.inria.fr/releases/coquelicot-3.2.0.tar.gz
[coq-bignums.8.11.0] downloaded from https://github.com/coq/bignums/archive/V8.11.0.tar.gz
[coq-flocq.3.4.3] downloaded from https://flocq.gitlabpages.inria.fr/releases/flocq-3.4.3.tar.gz
[coq-interval.4.9.0] downloaded from https://coqinterval.gitlabpages.inria.fr/releases/interval-4.9.0.tar.gz
[coq-mathcomp-algebra.1.11.0] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.11.0.tar.gz
[coq-mathcomp-analysis.0.3.2] downloaded from https://github.com/math-comp/analysis/archive/0.3.2.tar.gz
[coq-mathcomp-field.1.11.0] found in cache
[coq-mathcomp-fingroup.1.11.0] found in cache
[coq-mathcomp-bigenough.1.0.1] downloaded from https://github.com/math-comp/bigenough/archive/1.0.1.tar.gz
[coq-mathcomp-solvable.1.11.0] found in cache
[coq-mathcomp-ssreflect.1.11.0] found in cache
[coq-mathcomp-finmap.1.5.1] downloaded from https://github.com/math-comp/finmap/archive/1.5.1.tar.gz
[coq-record-update.0.3.2] downloaded from https://github.com/tchajed/coq-record-update/archive/v0.3.2.tar.gz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
-> installed coq-record-update.0.3.2
-> installed coq-bignums.8.11.0
-> installed coq-mathcomp-ssreflect.1.11.0
-> installed coq-mathcomp-bigenough.1.0.1
-> installed coq-mathcomp-finmap.1.5.1
-> installed coq-coquelicot.3.2.0
-> installed coq-mathcomp-fingroup.1.11.0
-> installed coq-flocq.3.4.3
-> installed coq-mathcomp-algebra.1.11.0
[ERROR] The compilation of coq-interval failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ./remake -j4".
-> installed coq-mathcomp-solvable.1.11.0
-> installed coq-mathcomp-field.1.11.0
-> installed coq-mathcomp-analysis.0.3.2
#=== ERROR while compiling coq-interval.4.9.0 =================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.09.1/.opam-switch/build/coq-interval.4.9.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./remake -j4
# exit-code            1
# env-file             ~/.opam/log/coq-interval-29202-9dfd00.env
# output-file          ~/.opam/log/coq-interval-29202-9dfd00.out
### output ###
# [...]
# Finished src/Tactics/Integral_helper.vo
# Finished src/Interval/Float.vo
# Finished src/Interval/Transcend.vo
# Finished src/Interval/Float_full.vo
# Finished src/Float/Primitive_ops.vo
# File "./src/Interval/Float_full_primfloat.v", line 43, characters 11-13:
# Error: Syntax Error: Lexer: Undefined token
# 
# Failed to build src/Interval/Float_full_primfloat.vo
# Failed to build all
# Failed to build src/Tactic_float.vo
# Failed to build src/Tactic.vo
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-interval 4.9.0
+- 
+- The following changes have been performed
| - install conf-g++               1.0
| - install coq-bignums            8.11.0
| - install coq-coquelicot         3.2.0
| - install coq-flocq              3.4.3
| - install coq-mathcomp-algebra   1.11.0
| - install coq-mathcomp-analysis  0.3.2
| - install coq-mathcomp-bigenough 1.0.1
| - install coq-mathcomp-field     1.11.0
| - install coq-mathcomp-fingroup  1.11.0
| - install coq-mathcomp-finmap    1.5.1
| - install coq-mathcomp-solvable  1.11.0
| - install coq-mathcomp-ssreflect 1.11.0
| - install coq-record-update      0.3.2
+- 
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
    opam switch import "/home/bench/.opam/ocaml-base-compiler.4.09.1/.opam-switch/backup/state-20231209074525.export"

Install ๐Ÿš€

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none