[Rpm-maint] [rpm-software-management/rpm] ocaml-find-requires.sh should also consider cmxs files (#913)

rwmjones notifications at github.com
Thu Oct 24 12:36:20 UTC 2019


I don't know how to answer the question of whether they're supposed to be standalone, but I can tell you what they are.

They are compiled OCaml native code shared libraries (the equivalent of C `*.so` files).  I believe they are in fact simply `*.so` files renamed and perhaps with some OCaml-specific ELF sections added.  Historically OCaml code could only be dynamically loaded (like `dlopen`) in bytecode form, and native code could only be statically linked together.  However a few years ago they added the ability to dynamically load native code into binaries.

The dynamically loadable bytecode libraries were called `*.cma` files.  In Fedora we put those into the non-devel package because reasons lost in time (see: https://fedoraproject.org/wiki/Packaging:OCaml#Main_package).  So probably in Fedora we'd put the `*.cmxs` files in the non-devel package too, or we'd move both to the -devel package.

The Fedora OCaml packaging guidelines really need a rethink when we have time.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/913#issuecomment-545897207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191024/4272d8da/attachment.html>


More information about the Rpm-maint mailing list