ยซ Up

kami 0.0.3-rv32i Error ๐Ÿ”ฅ

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                      8.15.1      Formal proof management system
dune                     3.12.1      Fast, portable, and opinionated build system
ocaml                    4.06.1      The OCaml compiler (virtual package)
ocaml-base-compiler      4.06.1      Official 4.06.1 release
ocaml-config             1           OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.6       A library manager for OCaml
ocamlfind-secondary      1.9.6       Adds support for ocaml-secondary-compiler to ocamlfind
zarith                   1.13        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
authors: [
  "Massachusetts Institute of Technology"
  "Kevix"
  "SiFive"
]
maintainer: "Jason Gross <jgross@mit.edu>"
homepage: "https://github.com/mit-plv/kami"
bug-reports: "https://github.com/mit-plv/kami/issues"
license: "MIT"
build: [
  [make "-j%{jobs}%" "EXTERNAL_DEPENDENCIES=1" "coq"]
]
install: [make "EXTERNAL_DEPENDENCIES=1" "install"]
depends: [
  "coq" {>= "8.15~"}
  "coq-riscv" {= "0.0.4"}
]
dev-repo: "git+https://github.com/mit-plv/kami.git"
synopsis: "A work-in-progress language and compiler for verified low-level programming"
tags: ["logpath:kami"]
url {
  src: "https://github.com/mit-plv/kami/archive/refs/tags/v0.0.3.tar.gz"
  checksum: "sha512=c76f047b4ade255ce22d1a25a702e69a9ae213e50b7cf3f754c32a80e3fb38ec0f4dda6217e9f34176033f6079efb0ab91b74d3e96f377c65f870f03b8d43a9d"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-kami.0.0.3-rv32i coq.8.15.1
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-kami.0.0.3-rv32i coq.8.15.1
Return code
0
Duration
38 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-kami.0.0.3-rv32i coq.8.15.1
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-findutils           1           Virtual package relying on findutils
conf-gmp                 4           Virtual package relying on a GMP lib system installation
coq                      8.15.1      Formal proof management system
coq-coqutil              0.0.4       Coq library for tactics, basic definitions, sets, maps
coq-record-update        0.3.3       Generic support for updating record fields in Coq
coq-riscv                0.0.4       RISC-V Specification in Coq, somewhat experimental
dune                     3.12.1      Fast, portable, and opinionated build system
ocaml                    4.06.1      The OCaml compiler (virtual package)
ocaml-base-compiler      4.06.1      Official 4.06.1 release
ocaml-config             1           OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.6       A library manager for OCaml
ocamlfind-secondary      1.9.6       Adds support for ocaml-secondary-compiler to ocamlfind
zarith                   1.13        Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is 8.15.1).
The following actions will be performed:
  - install coq-kami 0.0.3-rv32i
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-kami.0.0.3-rv32i: http]
[coq-kami.0.0.3-rv32i] downloaded from https://github.com/mit-plv/kami/archive/refs/tags/v0.0.3.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-kami: make coq]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" "EXTERNAL_DEPENDENCIES=1" "coq" (CWD=/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-kami.0.0.3-rv32i)
- printf -- '-R Kami Kami\n-arg "-w" -arg "-cannot-define-projection,-implicit-core-hint-db,-notation-overridden"\n' > _CoqProject
- Generating Makefile
- make -f Makefile.coq.all
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-kami.0.0.3-rv32i'
- COQDEP VFILES
- File "Kami/InlineFacts.v", characters 323-324: Syntax error
- COQDEP VFILES
- File "Kami/InlineFacts.v", characters 323-324: Syntax error
- COQDEP VFILES
- File "Kami/InlineFacts.v", characters 323-324: Syntax error
- make[2]: *** No rule to make target '.Makefile.coq.all.d', needed by 'Kami/Lib/StringStringAsOT.vo'.  Stop.
- make[1]: *** [Makefile.coq.all:387: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-kami.0.0.3-rv32i'
- make: *** [Makefile:30: coq] Error 2
[ERROR] The compilation of coq-kami failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 EXTERNAL_DEPENDENCIES=1 coq".
#=== ERROR while compiling coq-kami.0.0.3-rv32i ===============================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.06.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-kami.0.0.3-rv32i
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 EXTERNAL_DEPENDENCIES=1 coq
# exit-code            2
# env-file             ~/.opam/log/coq-kami-29166-335865.env
# output-file          ~/.opam/log/coq-kami-29166-335865.out
### output ###
# [...]
# make -f Makefile.coq.all
# make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-kami.0.0.3-rv32i'
# COQDEP VFILES
# File "Kami/InlineFacts.v", characters 323-324: Syntax error
# COQDEP VFILES
# File "Kami/InlineFacts.v", characters 323-324: Syntax error
# COQDEP VFILES
# File "Kami/InlineFacts.v", characters 323-324: Syntax error
# make[2]: *** No rule to make target '.Makefile.coq.all.d', needed by 'Kami/Lib/StringStringAsOT.vo'.  Stop.
# make[1]: *** [Makefile.coq.all:387: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-kami.0.0.3-rv32i'
# make: *** [Makefile:30: coq] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-kami 0.0.3-rv32i
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-kami.0.0.3-rv32i coq.8.15.1' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none