Skip to content

Commit 7dba8ed

Browse files
committed
mirage-fs-lwt needs the right version of lwt
Otherwise it fails with: ``` #=== ERROR while compiling mirage-fs-lwt.1.2.0 ================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.04.2 | pinned(https://github.com/mirage/mirage-fs/releases/download/v1.2.0/mirage-fs-v1.2.0.tbz) # path ~/.opam/4.04/.opam-switch/build/mirage-fs-lwt.1.2.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mirage-fs-lwt -j 31 # exit-code 1 # env-file ~/.opam/log/mirage-fs-lwt-8-bb8b65.env # output-file ~/.opam/log/mirage-fs-lwt-8-bb8b65.out ### output ### # ocamlc lwt/.mirage_fs_lwt.objs/mirage_fs_lwt.{cmo,cmt} (exit 2) # (cd _build/default && /home/opam/.opam/4.04/bin/ocamlc.opt -w -40 -g -bin-annot -I lwt/.mirage_fs_lwt.objs -I /home/opam/.opam/4.04/lib/bytes -I /home/opam/.opam/4.04/lib/cstruct -I /home/opam/.opam/4.04/lib/fmt -I /home/opam/.opam/4.04/lib/lwt -I /home/opam/.opam/4.04/lib/mirage-device -I /home/opam/.opam/4.04/lib/mirage-fs -I /home/opam/.opam/4.04/lib/mirage-kv -I /home/opam/.opam/4.04/lib/mirage-kv-lwt -I /home/opam/.opam/4.04/lib/ocaml/camlp4 -I /home/opam/.opam/4.04/lib/ocplib-endian -I /home/opam/.opam/4.04/lib/optcomp -I /home/opam/.opam/4.04/lib/sexplib -no-alias-deps -o lwt/.mirage_fs_lwt.objs/mirage_fs_lwt.cmo -c -impl lwt/mirage_fs_lwt.ml) # File "lwt/mirage_fs_lwt.ml", line 39, characters 6-10: # Error: This pattern matches values of type ('a, 'b) result # but a pattern was expected which matches values of type # (Mirage_fs.stat, FS.error) Result.result # Result.result is abstract because no corresponding cmi file was found in path. # ocamlopt lwt/.mirage_fs_lwt.objs/mirage_fs_lwt.{cmx,o} (exit 2) # (cd _build/default && /home/opam/.opam/4.04/bin/ocamlopt.opt -w -40 -g -I lwt/.mirage_fs_lwt.objs -I /home/opam/.opam/4.04/lib/bytes -I /home/opam/.opam/4.04/lib/cstruct -I /home/opam/.opam/4.04/lib/fmt -I /home/opam/.opam/4.04/lib/lwt -I /home/opam/.opam/4.04/lib/mirage-device -I /home/opam/.opam/4.04/lib/mirage-fs -I /home/opam/.opam/4.04/lib/mirage-kv -I /home/opam/.opam/4.04/lib/mirage-kv-lwt -I /home/opam/.opam/4.04/lib/ocaml/camlp4 -I /home/opam/.opam/4.04/lib/ocplib-endian -I /home/opam/.opam/4.04/lib/optcomp -I /home/opam/.opam/4.04/lib/sexplib -no-alias-deps -o lwt/.mirage_fs_lwt.objs/mirage_fs_lwt.cmx -c -impl lwt/mirage_fs_lwt.ml) # File "lwt/mirage_fs_lwt.ml", line 39, characters 6-10: # Error: This pattern matches values of type ('a, 'b) result # but a pattern was expected which matches values of type # (Mirage_fs.stat, FS.error) Result.result # Result.result is abstract because no corresponding cmi file was found in path. ```
1 parent 429972a commit 7dba8ed

File tree

1 file changed

+1
-1
lines changed
  • packages/mirage-fs-lwt/mirage-fs-lwt.1.2.0

1 file changed

+1
-1
lines changed

packages/mirage-fs-lwt/mirage-fs-lwt.1.2.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ depends: [
1919
"mirage-fs" {>= "1.0.0" & < "3.0.0"}
2020
"mirage-kv" {>= "1.1.0"}
2121
"mirage-kv-lwt" {< "2.0.0"}
22-
"lwt" {>= "2.4.7"}
22+
"lwt" {>= "2.6.0"}
2323
"cstruct" {>= "1.9.0"}
2424
"cstruct-lwt"
2525
]

0 commit comments

Comments
 (0)