ยซ Up

kami 0.0.3-rv32i Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
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.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-kami.0.0.3-rv32i coq.dev
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-gmp              4           Virtual package relying on a GMP lib system installation
coq                   dev         The Coq Proof Assistant
coq-core              dev         The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            dev         The Coq Proof Assistant -- Standard Library
coqide-server         dev         The Coq Proof Assistant, XML protocol server
dune                  3.12.1      Fast, portable, and opinionated build system
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.6       A library manager for OCaml
zarith                1.13        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-record-update 0.3.3
  - install conf-findutils    1
  - install coq-coqutil       0.0.4
  - install coq-riscv         0.0.4
===== 4 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-riscv.0.0.4] downloaded from https://github.com/mit-plv/riscv-coq/archive/refs/tags/v0.0.4.tar.gz
[coq-record-update.0.3.3] downloaded from https://github.com/tchajed/coq-record-update/archive/v0.3.3.tar.gz
[coq-coqutil.0.0.4] downloaded from https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.4.tar.gz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-findutils.1
-> installed coq-record-update.0.3.3
[ERROR] The compilation of coq-coqutil failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-coqutil.0.0.4 ==================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqutil-25410-af3201.env
# output-file          ~/.opam/log/coq-coqutil-25410-af3201.out
### output ###
# [...]
# COQC /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/ltac_list_ops.v
# File "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.v", line 73, characters 26-30:
# Error: This expression has type (ident * constr option * constr) list
# but an expression was expected of type constr
# 
# make[2]: *** [Makefile.coq.test:847: /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.vo] Error 1
# make[2]: *** [/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4/src/coqutil/Tactics/fold_hyps.glob'
# make[2]: *** Waiting for unfinished jobs....
# Finished transaction in 0.221 secs (0.217u,0.s) (successful)
# make[1]: *** [Makefile.coq.test:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.4'
# make: *** [Makefile:26: test] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqutil 0.0.4
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-findutils    1
| - install coq-record-update 0.3.3
+- 
# 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.14.0/.opam-switch/backup/state-20240101132120.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