Skip to content

Commit 4a1fa6b

Browse files
committed
datakit0-client: add lower bounds for Result
Otherwise it fails with: ``` #=== ERROR while compiling datakit-client.0.12.0 ==============================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.02.3 | pinned(https://github.com/moby/datakit/releases/download/0.12.0/datakit-0.12.0.tbz) # path ~/.opam/4.02/.opam-switch/build/datakit-client.0.12.0 # command ~/.opam/opam-init/hooks/sandbox.sh build jbuilder build -p datakit-client -j 71 # exit-code 1 # env-file ~/.opam/log/datakit-client-7-f1cdc4.env # output-file ~/.opam/log/datakit-client-7-f1cdc4.out ### output ### # ocamldep api/ocaml/datakit_client.depends.ocamldep-output # ocamldep api/ocaml/datakit_client.dependsi.ocamldep-output # ocamlc api/ocaml/datakit_client.{cmi,cmti} (exit 2) # (cd _build/default && /home/opam/.opam/4.02/bin/ocamlc.opt -w -40 -g -bin-annot -I /home/opam/.opam/4.02/lib/astring -I /home/opam/.opam/4.02/lib/bytes -I /home/opam/.opam/4.02/lib/cstruct -I /home/opam/.opam/4.02/lib/fmt -I /home/opam/.opam/4.02/lib/lwt -I /home/opam/.opam/4.02/lib/num -I /home/opam/.opam/4.02/lib/ocaml -I /home/opam/.opam/4.02/lib/ocaml/camlp4 -I /home/opam/.opam/4.02/lib/ocplib-endian -I /home/opam/.opam/4.02/lib/optcomp -I /home/opam/.opam/4.02/lib/sexplib -no-alias-deps -I api/ocaml -o api/ocaml/datakit_client.cmi -c -intf api/ocaml/datakit_client.mli) # File "api/ocaml/datakit_client.mli", line 24, characters 7-13: # Error: Unbound module Result ```
1 parent b26b1d9 commit 4a1fa6b

File tree

3 files changed

+3
-3
lines changed
  • packages/datakit-client
    • datakit-client.0.12.0
    • datakit-client.0.12.2
    • datakit-client.0.12.3

3 files changed

+3
-3
lines changed

packages/datakit-client/datakit-client.0.12.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ depends: [
1414
"ocaml"
1515
"jbuilder" {>= "1.0+beta10"}
1616
"astring"
17-
"result" {< "1.5"}
17+
"result" {>= "1.1" & < "1.5"}
1818
"fmt"
1919
"lwt" {< "5.6"}
2020
"cstruct" {> "2.2.0"}

packages/datakit-client/datakit-client.0.12.2/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ depends: [
1111
"ocaml"
1212
"dune"
1313
"astring"
14-
"result" {< "1.5"}
14+
"result" {>= "1.1" & < "1.5"}
1515
"fmt"
1616
"lwt" {< "5.6"}
1717
"cstruct" {> "2.2.0"}

packages/datakit-client/datakit-client.0.12.3/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ depends: [
1111
"ocaml"
1212
"dune"
1313
"astring"
14-
"result" {< "1.5"}
14+
"result" {>= "1.1" & < "1.5"}
1515
"fmt"
1616
"lwt" {< "5.6"}
1717
"cstruct" {> "2.2.0"}

0 commit comments

Comments
 (0)