On Tue, Feb 02, 2021 at 09:08:37AM -0700, Jerry James wrote:
On Tue, Feb 2, 2021 at 4:39 AM Richard W.M. Jones rjones@redhat.com wrote:
We're expecting that ocaml 4.12.0 will be released very soon - perhaps as soon as later this week - and I will do a mass rebuild of all the OCaml packages which will as a side effect fix this.
Thanks for handling the rebuilds. I want to note that there be a few dragons lurking in wait for the ocaml 4.12.0 release. I maintain some packages that need to be updated for 4.12.0. The problematic one is ocaml-ppxlib. It is currently on version 0.15.0. The latest upstream version is 0.21.0. All versions > 0.15.0 require ocaml-migrate-parsetree >= 2.0. The 2.x ocaml-migrate-parsetree versions break ocaml-ppx-tools-versioned. There is ongoing effort to move all ocaml-ppx-tools-versioned consumers over to ocaml-ppxlib, but it isn't quite done. To avoid breaking Fedora packages, this is what needs to be done, in approximate package build order:
- ocaml-migrate-parsetree: 1.8.0 -> 2.1.0
- ocaml-tyxml: apply this pull request to switch to ppxlib:
https://github.com/ocsigen/tyxml/pull/271
- ocaml-base: 0.14.0 -> 0.14.1
- ocaml-lwt: 5.3.0 -> 5.4.0
- ocaml-bisect-ppx: apply this pull request to switch to ppxlib:
https://github.com/aantron/bisect_ppx/pull/327
- ocaml-ppx-deriving: 5.1 -> 5.3
- ocaml-ppxlib: 0.15.0 -> 0.21.0
- ocaml-ppx-sexp-conv: 0.14.1 -> 0.14.2
- ocaml-ppx-custom-printf: 0.14.0 -> 0.14.1
- ocaml-ppx-fields-conv: 0.14.1 -> 0.14.2
- ocaml-ppx-optcomp: 0.14.0 -> 0.14.1
- ocaml-sedlex: 2.2 -> 2.3
- Retire ocaml-ppx-tools-versioned
There may be more breakage waiting to happen. I have not done test builds for any of the above yet, because I've been waiting for the ocaml-tyxml and ocaml-bisect-ppx situations to settle out. If they don't release versions compatible with ocaml 4.12.0 by the time the latter is released, we'll either have to apply those pull requests as they are now, or delay introducing ocaml 4.12.0, or leave some of the above packages in a broken state.
This looks do-able TBH, although some work.
I talked to octachron today and he said we can expect OCaml 4.12 this week or the next.
I have blocked out a couple of days to deal with this.
Rich.