« Up

semantics 8.11.1 Error

(2021-10-27 02:59:51 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              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
authors: [
  "Yves Bertot"
]
maintainer: "kartiksinghal@gmail.com"
homepage: "https://github.com/coq-community/semantics"
dev-repo: "git+https://github.com/coq-community/semantics.git"
bug-reports: "https://github.com/coq-community/semantics/issues"
license: "MIT"
synopsis: "A survey of semantics styles, from natural semantics through structural operational, axiomatic, and denotational semantics, to abstract interpretation"
description: """
This is a survey of programming language semantics styles
for a miniature example of a programming language, with their encoding
in Coq, the proofs of equivalence of different styles, and the proof
of soundess of tools obtained from axiomatic semantics or abstract
interpretation.  The tools can be run inside Coq, thus making them
available for proof by reflection, and the code can also be extracted
and connected to a yacc-based parser, thanks to the use of a functor
parameterized by a module type of strings.  A hand-written parser is
also provided in Coq, but there are no proofs associated.
"""
build: [make "-j%{jobs}%" ]
install: [make "install"]
depends: [
  "coq" {>= "8.10"}
  "ocamlbuild" {build}
]
tags: [
  "category:Computer Science/Semantics and Compilation/Semantics"
  "keyword:natural semantics"
  "keyword:denotational semantics"
  "keyword:axiomatic semantics"
  "keyword:Hoare logic"
  "keyword:Dijkstra weakest pre-condition calculus"
  "keyword:abstract interpretation"
  "keyword:intervals"
  "logpath:Semantics"
]
url {
  src: "https://github.com/coq-community/semantics/archive/v8.11.1.tar.gz"
  checksum: [
    "md5=ed6ac2b800fd6277e9bf8a49ea9f4468"
    "sha512=02c6c8f8049e23fd36ec754f3df26d52f2b8f9e7f9d6b86841970dbad164a4283fdb33f8711aea17cafc73c4159dfdcb3005cf926b5bb1d2ebd847bddcbecdf5"
  ]
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-semantics.8.11.1 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-semantics.8.11.1 coq.dev
Return code
0
Duration
28 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-semantics.8.11.1 coq.dev
Return code
7936
Duration
12 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              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlbuild            0.14.0      OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind             1.9.1       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-semantics 8.11.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-semantics.8.11.1: http]
[coq-semantics.8.11.1] downloaded from https://github.com/coq-community/semantics/archive/v8.11.1.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-semantics: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1)
- coq_makefile -f _CoqProject -o Makefile.coq
- make -f Makefile.coq Makefile
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1'
- COQDEP VFILES
- *** Warning: in file context_sqrt.v, library Omega is required and has not been found in the loadpath!
- *** Warning: in file function_cpo.v, library Omega is required and has not been found in the loadpath!
- make[1]: Nothing to be done for 'Makefile'.
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1'
- make -f Makefile.coq all
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1'
- COQC syntax.v
- COQC function_cpo.v
- COQC intervals.v
- COQC context_sqrt.v
- File "./context_sqrt.v", line 1, characters 22-27:
- Error: Unable to locate library Omega.
- 
- make[2]: *** [Makefile.coq:764: context_sqrt.vo] Error 1
- make[2]: *** Waiting for unfinished jobs....
- File "./function_cpo.v", line 2, characters 27-32:
- Error: Unable to locate library Omega.
- 
- File "./intervals.v", line 28, characters 4-5:
- Warning: Unused variable a catches more than one case.
- [unused-pattern-matching-variable,pattern-matching]
- File "./intervals.v", line 39, characters 12-13:
- Warning: Unused variable a catches more than one case.
- [unused-pattern-matching-variable,pattern-matching]
- make[2]: *** [Makefile.coq:764: function_cpo.vo] Error 1
- File "./intervals.v", line 55, characters 0-5:
- Error: The reference omega was not found in the current environment.
- 
- make[2]: *** [Makefile.coq:763: intervals.vo] Error 1
- make[1]: *** [Makefile.coq:387: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1'
- make: *** [Makefile:2: all] Error 2
[ERROR] The compilation of coq-semantics failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-semantics.8.11.1 ===============================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-semantics-22593-0a5907.env
# output-file          ~/.opam/log/coq-semantics-22593-0a5907.out
### output ###
# [...]
# [unused-pattern-matching-variable,pattern-matching]
# File "./intervals.v", line 39, characters 12-13:
# Warning: Unused variable a catches more than one case.
# [unused-pattern-matching-variable,pattern-matching]
# make[2]: *** [Makefile.coq:764: function_cpo.vo] Error 1
# File "./intervals.v", line 55, characters 0-5:
# Error: The reference omega was not found in the current environment.
# 
# make[2]: *** [Makefile.coq:763: intervals.vo] Error 1
# make[1]: *** [Makefile.coq:387: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-semantics.8.11.1'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-semantics 8.11.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-semantics.8.11.1 coq.dev' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none