Bug 1733750 - ocaml-lwt in Fedora 31 is probably being built wrong
Summary: ocaml-lwt in Fedora 31 is probably being built wrong
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-lwt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1737063
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-28 11:18 UTC by Richard W.M. Jones
Modified: 2019-08-07 19:50 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-07 19:50:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2019-07-28 11:18:41 UTC
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.

Comment 1 Richard W.M. Jones 2019-07-28 11:19:18 UTC
Also the LWT package tests failed for reasons which were unclear, but which
might be related to this bug.

Comment 2 Ben Rosser 2019-07-29 00:03:58 UTC
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/

Comment 3 Ben Rosser 2019-07-31 21:05:52 UTC
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.

Comment 4 Ben Rosser 2019-08-02 13:53:34 UTC
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.

Comment 5 Ben Rosser 2019-08-07 19:50:40 UTC
This should now be fixed:

http://koji.fedoraproject.org/koji/buildinfo?buildID=1348807


Note You need to log in before you can comment on or make changes to this bug.