ยซ Up

railroad-crossing dev Error ๐Ÿ”ฅ

๐Ÿ“… (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: "dev@clarus.me"
homepage: "https://github.com/coq-contribs/railroad-crossing"
license: "LGPL 2"
build: [
  ["coq_makefile" "-f" "Make" "-o" "Makefile"]
  [make "-j%{jobs}%"]
]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/RailroadCrossing"]
depends: [
  "ocaml"
  "coq" {= "dev"}
]
tags: [
  "keyword:CTL"
  "keyword:TCTL"
  "keyword:real time"
  "keyword:timed automatas"
  "keyword:safety"
  "keyword:concurrency properties"
  "keyword:invariants"
  "keyword:non-Zeno"
  "keyword:discrete time"
  "category:Computer Science/Concurrent Systems and Protocols/Correctness of specific protocols"
  "date:February-March 2000"
]
authors: [ "Carlos Daniel Luna <http://www.fing.edu.uy/~cluna>" ]
synopsis: "The Railroad Crossing Example"
description: """
This library present the specification and verification of
one real time system: the Railroad Crossing Problem, which has been
proposed as a benchmark for the comparison of real-time formalisms. We
specify the system using timed automatas (timed graphs) with discrete
time and we prove invariants, the system safety property and the NonZeno
property, using the logics CTL and TCTL."""
flags: light-uninstall
url {
  src: "git+https://github.com/coq-contribs/railroad-crossing.git#master"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-railroad-crossing.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-railroad-crossing.dev coq.dev
Return code
0
Duration
48 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-railroad-crossing.dev coq.dev
Return code
7936
Duration
1 m 28 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
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-railroad-crossing dev
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-railroad-crossing.dev] synchronised from git+https://github.com/coq-contribs/railroad-crossing.git#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-railroad-crossing failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-railroad-crossing.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-railroad-crossing.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-railroad-crossing-18793-0a5907.env
# output-file          ~/.opam/log/coq-railroad-crossing-18793-0a5907.out
### output ###
# [...]
# Warning: Notation plus_assoc is deprecated since 8.16.
# The Arith.Plus file is obsolete. Use Nat.add_assoc instead.
# [deprecated-syntactic-definition,deprecated]
# File "./railroad_crossing.v", line 236, characters 0-27:
# Warning: Use of โ€œRequireโ€ inside a section is fragile. It is not recommended
# to use this functionality in finished proof scripts.
# [require-in-section,fragile]
# File "./railroad_crossing.v", line 236, characters 0-27:
# Error: The reference classic was not found in the current environment.
# 
# make[1]: *** [Makefile:791: railroad_crossing.vo] Error 1
# make: *** [Makefile:408: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-railroad-crossing 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