# 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.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 5.1.1 The OCaml compiler (virtual package) ocaml-base-compiler 5.1.1 Official release 5.1.1 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: [ # No reason to build compiler_ex since there's no install_compiler_ex target; the install_compiler target installs only compiler_noex [make "-j%{jobs}%" "EXTERNAL_DEPENDENCIES=1" "compiler_noex"] ] install: [make "EXTERNAL_DEPENDENCIES=1" "install_compiler"] depends: [ "conf-findutils" {build} "coq" {>= "8.15~"} "coq-bedrock2" {= "0.0.4"} "coq-riscv" {= "0.0.3"} "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 (compiler part)" description: """ bedrock2 is a low-level systems programming language. This language is equipped with a simple program logic for proving correctness of the programs. This package includes a verified compiler targeting RISC-V from this language. 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.4.tar.gz" checksum: "sha512=7abf5e6553d4844f3563c99b3ff4a0a3f96a901473d824623029c82efe4d22c3bdf0bacd710e61619cf3fa2cf9f88db68ca650ba7a251e782c3e92357ba20d9f" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-bedrock2-compiler.0.0.4 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-compiler.0.0.4 coq.8.18.0
# 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.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 5.1.1 The OCaml compiler (virtual package) ocaml-base-compiler 5.1.1 Official release 5.1.1 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 coq-record-update 0.3.3 - install conf-findutils 1 - install coq-coqutil 0.0.2 - install coq-riscv 0.0.3 - install coq-bedrock2 0.0.4 ===== 5 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved coq-bedrock2.0.0.4 (https://github.com/mit-plv/bedrock2/archive/refs/tags/v0.0.4.tar.gz) -> retrieved coq-coqutil.0.0.2 (https://github.com/mit-plv/coqutil/archive/refs/tags/v0.0.2.tar.gz) -> retrieved coq-record-update.0.3.3 (https://github.com/tchajed/coq-record-update/archive/v0.3.3.tar.gz) -> installed conf-findutils.1 -> retrieved coq-riscv.0.0.3 (https://github.com/mit-plv/riscv-coq/archive/refs/tags/v0.0.3.tar.gz) -> installed coq-record-update.0.3.3 [ERROR] The compilation of coq-coqutil.0.0.2 failed at "make -j4". #=== ERROR while compiling coq-coqutil.0.0.2 ==================================# # context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.5.1.1/.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-9692-38f8bc.env # output-file ~/.opam/log/coq-coqutil-9692-38f8bc.out ### output ### # [...] # Use attribute #[clearbody] to get the current behaviour of clearing the body # at the start of proofs in a forward compatible way. # [opaque-let,deprecated-since-8.18,deprecated,default] # File "/home/bench/.opam/ocaml-base-compiler.5.1.1/.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.5.1.1/.opam-switch/build/coq-coqutil.0.0.2/src/coqutil/Datatypes/List.vo] Error 1 # make[2]: *** [/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-coqutil.0.0.2/src/coqutil/Datatypes/List.vo] Deleting file '/home/bench/.opam/ocaml-base-compiler.5.1.1/.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.5.1.1/.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 (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: /usr/local/bin/opam switch import "/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/backup/state-20240122162309.export"
true
No files were installed.
true