# 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 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.2 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: [
"Andres Erbsen <andreser@mit.edu>"
"Google Inc."
"Jade Philipoom <jadep@mit.edu> <jade.philipoom@gmail.com>"
"Massachusetts Institute of Technology"
"Zoe Paraskevopoulou <zoe.paraskevopoulou@gmail.com>"
]
maintainer: "Jason Gross <jgross@mit.edu>"
homepage: "https://github.com/mit-plv/fiat-crypto"
bug-reports: "https://github.com/mit-plv/fiat-crypto/issues"
license: "MIT OR Apache-2.0 OR BSD-1-Clause"
build: [
[make "-j%{jobs}%" "EXTERNAL_REWRITER=1" "EXTERNAL_COQPRIME=1" "coq" "standalone-unified-ocaml"]
]
install: [
[make "EXTERNAL_REWRITER=1" "EXTERNAL_COQPRIME=1" "BINDIR=%{bin}%" "install" "install-standalone-unified-ocaml"]
["etc/test-run-fiat-crypto-silent.sh" "%{bin}%/fiat_crypto"] {with-test}
["etc/test-run-fiat-crypto-silent.sh" "fiat_crypto"] {with-test}
]
depends: [
"conf-findutils" {build}
"ocaml" {build & >= "4.08~"}
"ocamlfind" {build}
"coq" {>= "8.16~"}
"coq-coqprime"
"coq-rewriter"
]
conflict-class: [
"coq-fiat-crypto"
"coq-coqutil"
"coq-bedrock2"
"coq-rupicola"
]
dev-repo: "git+https://github.com/mit-plv/fiat-crypto.git"
synopsis: "Cryptographic Primitive Code Generation by Fiat."
description: """
Coq code and proofs for a command-line binary that can synthesize proven-correct
big-integer modular field arithmetic operations for cryptography.
Target languages include C, Rust, Zig, Go, and bedrock2.
"""
tags: ["logpath:Crypto"]
url {
src: "git+https://github.com/mit-plv/fiat-crypto.git#master"
}
trueDry install with the current Coq version:
opam install -y --show-action coq-fiat-crypto-with-bedrock.dev coq.devDry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
trueopam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-fiat-crypto-with-bedrock.dev coq.dev# 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 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.2 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 coq-rewriter dev
- install coq-bignums dev
- install conf-findutils 1
- install coq-coqprime dev
===== 4 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-findutils.1
-> retrieved coq-bignums.dev (git+https://github.com/coq/bignums.git#master)
-> retrieved coq-coqprime.dev (git+https://github.com/thery/coqprime.git#master)
[ERROR] The compilation of coq-bignums.dev failed at "make -j4".
-> retrieved coq-rewriter.dev (git+https://github.com/mit-plv/rewriter.git#master)
[ERROR] The compilation of coq-rewriter.dev failed at "make -j4".
#=== ERROR while compiling coq-rewriter.dev ===================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-rewriter.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code 2
# env-file ~/.opam/log/coq-rewriter-24557-d97011.env
# output-file ~/.opam/log/coq-rewriter-24557-d97011.out
### output ###
# sed 's?@META@?src/Rewriter/Util/plugins/META.coq-rewriter?g' _CoqProject.in > _CoqProject
# Error: Invalid empty COQ_EXTENDED_VERSION:
# coqc --version || true
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# coqtop </dev/null || true
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted (core dumped)
# Makefile:27: Makefile.coq: No such file or directory
# make: *** [Makefile:47: .coq-version] Error 1
#=== ERROR while compiling coq-bignums.dev ====================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-bignums.dev
# command ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code 2
# env-file ~/.opam/log/coq-bignums-24557-49f96c.env
# output-file ~/.opam/log/coq-bignums-24557-49f96c.out
### output ###
# [...]
# CAMLOPT -a -o plugin/bignums_syntax_plugin.cmxa
# CAMLOPT -shared -o plugin/bignums_syntax_plugin.cmxs
# COQC BigNumPrelude.v
# Fatal error: Not enough heap memory to reserve minor heaps
# Aborted
# make[2]: *** [Makefile.coq:847: SpecViaQ/QSig.vo] Error 134
# Aborted (core dumped)
# make[2]: *** Waiting for unfinished jobs....
# make[2]: *** [Makefile.coq:847: BigNumPrelude.vo] Error 134
# make[1]: *** [Makefile.coq:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-bignums.dev'
# make: *** [Makefile:2: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-bignums dev
| - build coq-rewriter dev
+-
+- The following changes have been performed (the rest was aborted)
| - 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-20240114094557.export"
trueNo files were installed.
true