# 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 8.18.0 The Coq Proof Assistant coq-core 8.18.0 The Coq Proof Assistant -- Core Binaries and Tools coq-stdlib 8.18.0 The Coq Proof Assistant -- Standard Library coqide-server 8.18.0 The Coq Proof Assistant, XML protocol server dune 3.13.0 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/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"] run-test: [ [make "-j%{jobs}%" "-C" "bedrock2" "EXTERNAL_DEPENDENCIES=1" "test"] ] depends: [ "conf-findutils" {build} "conf-python-3" {build & with-test} "coq" {>= "8.15~"} "coq-coqutil" {= "0.0.2"} "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.2.tar.gz" checksum: "sha512=4f2b2975eb3ed26158b4cf2eb6f8b2eb27fc381e57da5b0be4eb275c3306d71542938cdf614108975bf24d985b6991b95cb1f681406b9f0759f214d4eb33b337" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-bedrock2.0.0.2 coq.8.18.0
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
true
opam list; echo; timeout 4h opam install -y --deps-only coq-bedrock2.0.0.2 coq.8.18.0
# 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 8.18.0 The Coq Proof Assistant coq-core 8.18.0 The Coq Proof Assistant -- Core Binaries and Tools coq-stdlib 8.18.0 The Coq Proof Assistant -- Standard Library coqide-server 8.18.0 The Coq Proof Assistant, XML protocol server dune 3.13.0 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 conf-findutils 1 - install coq-coqutil 0.0.2 ===== 2 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [coq-coqutil.0.0.2] downloaded from https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.2.tar.gz <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed conf-findutils.1 [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.2 ==================================# # 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.2 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 # exit-code 2 # env-file ~/.opam/log/coq-coqutil-31273-2dea01.env # output-file ~/.opam/log/coq-coqutil-31273-2dea01.out ### output ### # [...] # Warning: Notation Minus.minus_plus is deprecated since 8.16. # The Arith.Minus file is obsolete. Use Nat.add_sub (together with Nat.add_comm) instead. # [deprecated-syntactic-definition-since-8.16,deprecated-since-8.16,deprecated-syntactic-definition,deprecated,default] # File "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.2/src/coqutil/Datatypes/List.v", line 1789, characters 13-26: # Error: The reference Zdiv.div_Zdiv was not found in the current environment. # # make[2]: *** [Makefile.coq.all:838: /home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.2/src/coqutil/Datatypes/List.vo] Error 1 # make[2]: *** [/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.2/src/coqutil/Datatypes/List.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/coq-coqutil.0.0.2/src/coqutil/Datatypes/List.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.4.14.0/.opam-switch/build/coq-coqutil.0.0.2' # make: *** [Makefile:64: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-coqutil 0.0.2 +- +- 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: opam switch import "/home/bench/.opam/ocaml-base-compiler.4.14.0/.opam-switch/backup/state-20240126055824.export"
true
No files were installed.
true