ยซ Up

disel dev Error ๐Ÿ”ฅ

๐Ÿ“… (2022-05-14 08:21:45 UTC)

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                   dev         Formal proof management system
dune                  3.1.1       Fast, portable, and opinionated build system
ocaml                 4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.1      Official release 4.12.1
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.3       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/DistributedComponents/disel"
dev-repo: "git+https://github.com/DistributedComponents/disel.git"
bug-reports: "https://github.com/DistributedComponents/disel/issues"
license: "BSD-2-Clause"
synopsis: "Core framework files for Disel, a separation-style logic for compositional verification of distributed systems in Coq"
description: """
Disel is a framework for implementation and compositional verification of
distributed systems and their clients in Coq. In Disel, users implement
distributed systems using a domain specific language shallowly embedded in Coq
which provides both high-level programming constructs as well as low-level
communication primitives. Components of composite systems are specified in Disel
as protocols, which capture system-specific logic and disentangle system definitions
from implementation details.
"""
build: [make "-j%{jobs}%" "-C" "Core"]
install: [make "-C" "Core" "install"]
depends: [
  "ocaml"
  "coq" {(>= "8.7" & < "8.11~") | (= "dev")}
  "coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.9~") | (= "dev")}
  "coq-fcsl-pcm"
]
tags: [
  "category:Computer Science/Concurrent Systems and Protocols/Theory of concurrent systems"
  "keyword:program verification"
  "keyword:separation logic"
  "keyword:distributed algorithms"
  "logpath:DiSeL"
]
authors: [
  "Ilya Sergey"
  "James R. Wilcox"
]
url {
  src: "git+https://github.com/DistributedComponents/disel.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-disel.dev 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-disel.dev coq.dev
Return code
0
Duration
4 m 14 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-disel.dev coq.dev
Return code
7936
Duration
1 m 5 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-gmp               4           Virtual package relying on a GMP lib system installation
coq                    dev         Formal proof management system
coq-fcsl-pcm           dev         Partial Commutative Monoids
coq-mathcomp-ssreflect dev         Small Scale Reflection
dune                   3.1.1       Fast, portable, and opinionated build system
ocaml                  4.12.1      The OCaml compiler (virtual package)
ocaml-base-compiler    4.12.1      Official release 4.12.1
ocaml-config           2           OCaml Switch Configuration
ocaml-options-vanilla  1           Ensure that OCaml is compiled with no special options enabled
ocamlfind              1.9.3       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 dev).
The following actions will be performed:
  - install coq-disel dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-disel.dev] synchronised from git+https://github.com/DistributedComponents/disel.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-disel failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 -C Core".
#=== ERROR while compiling coq-disel.dev ======================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-disel.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 -C Core
# exit-code            2
# env-file             ~/.opam/log/coq-disel-26124-e4db2f.env
# output-file          ~/.opam/log/coq-disel-26124-e4db2f.out
### output ###
# [...]
# File "./Always.v", line 428, characters 17-60:
# Error:
# No assumption in [/\ valid W, valid (i2 \+ j1), hook_complete W,
#                      dom W.1 =i dom (i2 \+ j1)
#                    & forall l : Label,
#                      coh (getProtocol W l) (getStatelet (i2 \+ j1) l)]
# 
# make[2]: *** [Makefile.coq:791: Always.vo] Error 1
# make[1]: *** [Makefile.coq:408: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-disel.dev/Core'
# make: *** [Makefile:2: default] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-disel.dev/Core'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-disel dev
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none