Skip to content

Commit 569b4c6

Browse files
committed
old versions of asl do not work on OCaml 5
They fail with: ``` #=== ERROR while compiling asl.0.10 ===========================================# # 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/asl.0.10 # command ~/.opam/opam-init/hooks/sandbox.sh build make PREFIX=/home/opam/.opam/5.0 # exit-code 2 # env-file ~/.opam/log/asl-7-b11297.env # output-file ~/.opam/log/asl-7-b11297.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 569b4c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/asl/asl.0.10/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install: [make "PREFIX=%{prefix}%" "install"]
1515
remove: [["ocamlfind" "remove" "asl"]]
1616

1717
depends: [
18-
"ocaml"
18+
"ocaml" {< "5.0"}
1919
"result"
2020
"logs"
2121
"ocamlfind" {build}

packages/asl/asl.0.9/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install: [make "PREFIX=%{prefix}%" "install"]
1515
remove: [["ocamlfind" "remove" "asl"]]
1616

1717
depends: [
18-
"ocaml"
18+
"ocaml" {< "5.0"}
1919
"result"
2020
"logs"
2121
"ocamlfind" {build}

0 commit comments

Comments
 (0)