ยซ Up

disel-examples dev Error with dependencies ๐Ÿš’

๐Ÿ“… (2022-05-24 01:37:32 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.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
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: "Example systems for Disel, a separation-style logic for compositional verification of distributed systems in Coq"
build: [make "-j%{jobs}%" "-C" "Examples"]
install: [make "-C" "Examples" "install"]
depends: [
  "ocaml"
  "coq" {(>= "8.7" & < "8.11~") | (= "dev")}
  "coq-mathcomp-ssreflect" {(>= "1.6.2" & < "1.9~") | (= "dev")}
  "coq-fcsl-pcm"
  "coq-disel" {= version}
]
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-examples.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-examples.dev coq.dev
Return code
7936
Duration
12 m 31 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
dune                3.1.1       Fast, portable, and opinionated build system
ocaml               4.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-mathcomp-ssreflect dev
  - install coq-fcsl-pcm           dev
  - install coq-disel              dev
===== 3 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-fcsl-pcm.dev] synchronised from git+https://github.com/imdea-software/fcsl-pcm.git#master
[coq-disel.dev] synchronised from git+https://github.com/DistributedComponents/disel.git#master
[coq-mathcomp-ssreflect.dev] synchronised from git+https://github.com/math-comp/math-comp.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed coq-mathcomp-ssreflect.dev
-> installed coq-fcsl-pcm.dev
[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.6 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.10.2/.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-18616-543ebd.env
# output-file          ~/.opam/log/coq-disel-18616-543ebd.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.10.2/.opam-switch/build/coq-disel.dev/Core'
# make: *** [Makefile:2: default] Error 2
# make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.10.2/.opam-switch/build/coq-disel.dev/Core'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-disel dev
+- 
+- The following changes have been performed
| - install coq-fcsl-pcm           dev
| - install coq-mathcomp-ssreflect dev
+- 
# 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.10.2/.opam-switch/backup/state-20220518004826.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