Skip to content

Commit c7ba76c

Browse files
committed
bitcoin doesn't work on OCaml 5
It fails with: ``` #=== ERROR while compiling bitcoin.2.0 ========================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/bitcoin.2.0 # command ~/.opam/opam-init/hooks/sandbox.sh build ./configure --prefix /home/opam/.opam/5.0 --docdir /home/opam/.opam/5.0/doc/bitcoin --disable-ocsigen --disable-ocamlnet --disable-cohttp --disable-ocurl # exit-code 2 # env-file ~/.opam/log/bitcoin-7-a1d24e.env # output-file ~/.opam/log/bitcoin-7-a1d24e.out ### output ### # File "./setup.ml", line 318, characters 20-36: # 318 | String.compare (String.lowercase s1) (String.lowercase s2) # ^^^^^^^^^^^^^^^^ # Error: Unbound value String.lowercase ```
1 parent b50d55d commit c7ba76c

File tree

1 file changed

+1
-1
lines changed
  • packages/bitcoin/bitcoin.2.0

1 file changed

+1
-1
lines changed

packages/bitcoin/bitcoin.2.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build: [
1919
install: [[make "install"]]
2020
remove: [["ocamlfind" "remove" "bitcoin"]]
2121
depends: [
22-
"ocaml"
22+
"ocaml" {< "5.0"}
2323
"yojson" {< "2.0.0"}
2424
"cryptokit"
2525
"ocamlbuild" {build}

0 commit comments

Comments
 (0)