-
Notifications
You must be signed in to change notification settings - Fork 248
Description
Hello,
I am a Fedora packager and am looking to re-package unison in Fedora. It is currently under review [1], and the reviewer pointed out that there is a very old copy of ocaml-lwt [2] which is bundled in the unison src/lwt directory. Where possible, it is preferred for packages to rely on already-packaged library dependencies [3].
I am a total OCaml newbie, so I'm not sure how difficult of a task this is, but I played around with the Makefiles a bit and was able to get unison at least trying to build with the system ocaml-lwt, and this is the first error I encountered:
ocamlopt -g -I ubase -I system -I /usr/lib64/ocaml/lwt -I /usr/lib64/ocaml/lwt/unix -I +unix -I +str -I system/generic -c /builddir/build/BUILD/unison-2.53.4/src/terminal.ml
File "/builddir/build/BUILD/unison-2.53.4/src/terminal.ml", line 211, characters 57-76:
211 | (fun () -> Lwt_unix.close fdIn)));
^^^^^^^^^^^^^^^^^^^
Error: This expression has type unit Lwt.t
but an expression was expected of type unit
Is it feasible to move unison to latest upstream ocaml-lwt?
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2277254#c2
[2] https://src.fedoraproject.org/rpms/ocaml-lwt
[3] https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling