ยซ Up

giskard 1.1 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                   8.18.0      The Coq Proof Assistant
coq-core              8.18.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.18.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.18.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      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: "palmskog@gmail.com"
homepage: "https://github.com/runtimeverification/giskard-verification"
dev-repo: "git+https://github.com/runtimeverification/giskard-verification.git"
bug-reports: "https://github.com/runtimeverification/giskard-verification/issues"
license: "NCSA"
synopsis: "Verified model of the Giskard consensus protocol in Coq"
description: """
The Giskard consensus protocol is used to validate transactions and computations
in the PlatON network. This project provides a model of Giskard in Coq, and formally
proves several key safety properties of the protocol."""
build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
  "coq" {>= "8.10"}
]
tags: [
  "category:Computer Science/Concurrent Systems and Protocols/Theory of concurrent systems"
  "keyword:Giskard"
  "keyword:consensus"
  "keyword:blockchain"
  "logpath:Giskard"
  "date:2022-11-23"
]
authors: [
  "Elaine Li"
  "Karl Palmskog"
  "Mircea Sebe"
]
url {
  src: "https://github.com/runtimeverification/giskard-verification/archive/v1.1.tar.gz"
  checksum: "sha512=96c90a21e95f109c3cd7e1bbcf03abeb07f9b1a5af9fcffff07f50e9818e4f8eb7f16c7656a0d39bb00b67c6c1de02afe45767fdb56ca82070eb50b348a27d33"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-giskard.1.1 coq.8.18.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; timeout 4h opam install -y --deps-only coq-giskard.1.1 coq.8.18.0
Return code
0
Duration
1 m 0 s

Install ๐Ÿš€

Command
opam list; echo; timeout 4h opam install -y -v coq-giskard.1.1 coq.8.18.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-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.18.0      The Coq Proof Assistant
coq-core              8.18.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.18.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.18.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      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 8.18.0).
The following actions will be performed:
  - install coq-giskard 1.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-giskard.1.1: http]
[coq-giskard.1.1] downloaded from https://github.com/runtimeverification/giskard-verification/archive/v1.1.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-giskard: 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-giskard.1.1)
- coq_makefile -f _CoqProject -o Makefile.coq
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-giskard.1.1'
- COQDEP VFILES
- COQC theories/lib.v
- COQC theories/structures.v
- COQC theories/local.v
- COQC theories/global.v
- COQC theories/prepare.v
- File "./theories/prepare.v", line 396, characters 8-19:
- Error: No such goal. Focus next goal with bullet *.
- 
- make[2]: *** [Makefile.coq:838: theories/prepare.vo] Error 1
- make[2]: *** [theories/prepare.vo] Deleting file 'theories/prepare.glob'
- make[1]: *** [Makefile.coq:409: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-giskard.1.1'
- make: *** [Makefile:2: all] Error 2
[ERROR] The compilation of coq-giskard failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-giskard.1.1 ====================================#
# 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-giskard.1.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-giskard-23912-335865.env
# output-file          ~/.opam/log/coq-giskard-23912-335865.out
### output ###
# [...]
# COQC theories/structures.v
# COQC theories/local.v
# COQC theories/global.v
# COQC theories/prepare.v
# File "./theories/prepare.v", line 396, characters 8-19:
# Error: No such goal. Focus next goal with bullet *.
# 
# make[2]: *** [Makefile.coq:838: theories/prepare.vo] Error 1
# make[2]: *** [theories/prepare.vo] Deleting file 'theories/prepare.glob'
# make[1]: *** [Makefile.coq:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-giskard.1.1'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-giskard 1.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-giskard.1.1 coq.8.18.0' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none