Description of problem: I upgraded ocaml-lwt in Fedora 31 to the latest version (4.2.1). It is built as a package, but it seems as if it is built wrongly somehow. In any case when I compile ocaml-curl which depends on LWT, it doesn't detect LWT support: checking for OCaml findlib package lwt.unix... not found checking for OCaml findlib package lwt_ppx... not found Version-Release number of selected component (if applicable): ocaml-lwt-4.2.1-1.fc31 How reproducible: ? Steps to Reproduce: 1. ? This bug is really just a placeholder until someone can look into this.
Also the LWT package tests failed for reasons which were unclear, but which might be related to this bug.
That seems believable-- there were a bunch of new dependencies, including mmap (https://opam.ocaml.org/packages/mmap/), which doesn't seem to be packaged: https://opam.ocaml.org/packages/lwt/
Looking at this in a bit more detail: lwt_ppx isn't found because it's available as a subpackage, ocaml-lwt-ppx(-devel). I did this because it's a separate opam package, despite sharing the same source tree: https://opam.ocaml.org/packages/lwt_ppx/ Not sure about missing lwt.unix. That might be related to the missing mmap, although looking at mmap I see it just appears to be a compatibility layer.
Yeah, it looks like that the unix module is the piece of lwt that requires mmap. I've filed a review request for ocaml-mmap, hopefully that should fix this.
This should now be fixed: http://koji.fedoraproject.org/koji/buildinfo?buildID=1348807