ยซ Up

bedrock2 0.0.1 Error with dependencies ๐Ÿš’

Context

# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.17.0      The Coq Proof Assistant
coq-core              8.17.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
ocaml-config          3           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/bedrock2"
bug-reports: "https://github.com/mit-plv/bedrock2/issues"
license: "MIT"
build: [
  [make "-j%{jobs}%" "EXTERNAL_DEPENDENCIES=1" "bedrock2_ex"]
]
install: [make "EXTERNAL_DEPENDENCIES=1" "install_bedrock2"]
depends: [
  "conf-findutils" {build}
  "coq" {>= "8.15~"}
  "coq-coqutil" {= "0.0.1"}
  "zarith" {>= "1.11"}
]
dev-repo: "git+https://github.com/mit-plv/bedrock2.git"
synopsis: "A work-in-progress language and compiler for verified low-level programming"
description: """
bedrock2 is a low-level systems programming language. This
language is equipped with a simple program logic for
proving correctness of the programs.  A verified compiler
targeting RISC-V from this language exists but is not yet on opam.
The project has similar goals as bedrock, but uses a different design.
No code is shared between bedrock and bedrock2.
"""
tags: ["logpath:bedrock2"]
url {
  src: "https://github.com/mit-plv/bedrock2/archive/refs/tags/v0.0.1.tar.gz"
  checksum: "sha512=d9303db34ab8414b20a77135d6ca019b0904bba69baca246c6e89afa5ca9be78c2753020a534fd9042f179142cfcbcd8182cb07c938af411b4f83f8882493d62"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-bedrock2.0.0.1 coq.8.17.0
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; timeout 4h opam install -y --deps-only coq-bedrock2.0.0.1 coq.8.17.0
Return code
7936
Duration
1 m 0 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-domains          base
base-nnp              base        Naked pointers prohibited in the OCaml heap
base-threads          base
base-unix             base
conf-gmp              4           Virtual package relying on a GMP lib system installation
coq                   8.17.0      The Coq Proof Assistant
coq-core              8.17.0      The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib            8.17.0      The Coq Proof Assistant -- Standard Library
coqide-server         8.17.0      The Coq Proof Assistant, XML protocol server
dune                  3.13.0      Fast, portable, and opinionated build system
ocaml                 5.0.0       The OCaml compiler (virtual package)
ocaml-base-compiler   5.0.0       Official release 5.0.0
ocaml-config          3           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 conf-findutils 1
  - install coq-coqutil    0.0.1
===== 2 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved coq-coqutil.0.0.1  (https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.1.tar.gz)
-> installed conf-findutils.1
[ERROR] The compilation of coq-coqutil.0.0.1 failed at "make -j4".
#=== ERROR while compiling coq-coqutil.0.0.1 ==================================#
# context              2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-coqutil-22977-0e5bab.env
# output-file          ~/.opam/log/coq-coqutil-22977-0e5bab.out
### output ###
# [...]
# before the upcoming change in the default value. It is recommended to use
# "export" whenever possible. Use the attributes #[local], #[global] and
# #[export] depending on your choice. For example: "#[export] Hint Rewrite foo
# : bar." This is supported since Coq 8.14.
# [deprecated-hint-rewrite-without-locality,deprecated]
# 
# make[2]: *** [Makefile.coq.all:830: /home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.vo] Error 1
# make[2]: *** [/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1/src/coqutil/Z/bitblast.glob'
# make[2]: *** Waiting for unfinished jobs....
# make[1]: *** [Makefile.coq.all:409: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-coqutil.0.0.1'
# make: *** [Makefile:87: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-coqutil 0.0.1
+- 
+- The following changes have been performed
| - install conf-findutils 1
+- 
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
    /usr/local/bin/opam switch import "/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/backup/state-20240131063145.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