Hi all,
I would like to update ocaml-alcotest to version 1.6.0, which adds
support for OCaml 5.0. It needs an updated version of ocaml-cmdliner,
though, namely version 1.1.0 or later. I propose to make the
following changes:
- ocaml-cmdliner: update to version 1.1.1, then:
- ocaml-alcotest: update to version 1.6.0
- ocaml-bisect-ppx: simple rebuild
- ocaml-fmt: simple rebuild
- ocaml-logs: simple rebuild
- ocaml-mdx: add upstream patch (not yet in any released version)
- ocaml-ocp-indent: simple rebuild with unrelated bug fixes
- ocaml-odoc: simple rebuild
- ocaml-uutf: add upstream patch to avoid deprecated interfaces
- opam: simple rebuild, with small BR and R adjustments
This COPR has all of the builds I have in mind:
https://copr.fedorainfracloud.org/coprs/jjames/Cmdliner1.1.1/.
I am primary maintainer of all of these packages except for
ocaml-cmdliner and opam. If the maintainers of those packages don't
object, I would like to proceed with these updates.
Regards,
--
Jerry James
http://www.jamezone.org/
For my sins I'm doing a scratch build of OCaml 5.0.0 alpha 1 here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=91701007
Looking at this there are quite a few larger changes in packaging:
- It seems as if this generates META files for stdlib libraries,
whereas previously those were generated by ocaml-findlib. (This is
a more sensible way to do things, but still a large packaging
change from our point of view.)
- It puts libraries like dynlink, unix etc into subdirectories,
previously only threads was in a subdirectory.
- Various extra unexpected files are packaged. See diff attached.
I'm expecting this will break a lot of things.
5.0.0 also includes multicore support, and is not fully backwards
compatible with all C extensions. I believe the main change will be
for extensions which are relying on converting raw C pointers to OCaml
pointers without wrapping/hiding them in a Custom value. An example
of the deprecated behaviour is in ocaml-ancient which is a package I
will likely drop.
Some other useful links:
https://discuss.ocaml.org/t/ocaml-5-0-first-normal-alpha-release/10216https://github.com/ocaml/opam-repository/issues/21526https://github.com/ocaml/ocaml/blob/5.0/Changes
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org