Skip to content

Commit 3b00d9a

Browse files
committed
old versions of mirage-logs do not work with OCaml 5
They fail with: ``` #=== ERROR while compiling mirage-logs.0.1 ====================================# # 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/mirage-logs.0.1 # command ~/.opam/opam-init/hooks/sandbox.sh build make PREFIX=/home/opam/.opam/5.0 # exit-code 2 # env-file ~/.opam/log/mirage-logs-7-ed5965.env # output-file ~/.opam/log/mirage-logs-7-ed5965.out ### output ### # ocaml setup.ml -configure # File "./setup.ml", line 318, characters 20-36: # 318 | String.compare (String.lowercase s1) (String.lowercase s2) # ^^^^^^^^^^^^^^^^ # Error: Unbound value String.lowercase # make: *** [Makefile:34: setup.data] Error 2 ```
1 parent b50d55d commit 3b00d9a

File tree

2 files changed

+2
-2
lines changed
  • packages/mirage-logs

2 files changed

+2
-2
lines changed

packages/mirage-logs/mirage-logs.0.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ remove: [
1414
["ocamlfind" "remove" "mirage-logs"]
1515
]
1616
depends: [
17-
"ocaml" {>= "4.01.0"}
17+
"ocaml" {>= "4.01.0" & < "5.0"}
1818
"logs" {>= "0.5.0"}
1919
"ocamlfind" {build}
2020
"ocamlbuild" {build}

packages/mirage-logs/mirage-logs.0.2/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build: [make "PREFIX=%{prefix}%"]
99
install: [make "PREFIX=%{prefix}%" "install"]
1010
remove: ["ocamlfind" "remove" "mirage-logs"]
1111
depends: [
12-
"ocaml" {>= "4.01.0"}
12+
"ocaml" {>= "4.01.0" & < "5.0"}
1313
"logs" {>= "0.5.0"}
1414
"ocamlfind" {build}
1515
"ocamlbuild" {build}

0 commit comments

Comments
 (0)