Possible issues with unison when compiled with OCaml 5.x
Description:
There have been reports of breakages with unison when compiled with OCaml 5.x (https://github.com/bcpierce00/unison/issues/1006). Because a file synchronizer is a sensitive piece of software and misbehavior may easily lead to severe data loss, the general advice seems to be that unison would better be compiled with OCaml 4, because "OCaml 5.1.0 is still a relatively experimental release compared to the OCaml 4.14 branch".
The issue is subtle as it appears to manifest only when synchronizing directories that have some not yet identified features (large? lots of files? ...) and also depends on the previous synchronization state.
However, the OCaml 4.14 compiler is not anymore in the arch repo.
Would like to know what should be the best way to address this issue:
- the official unison package to be compiled with OCaml 4? If so, how?
- Creating an Aur package with the upstream provided binary, that is compiled with OCaml 4?
- Creating an Aur package reviving the OCaml 4 compiler package and another one with a version of unison compiled with it?
Additional info:
- package version(s): 2.53.4-2
- config and/or log files: N/A
- link to upstream bug report, if any: https://github.com/bcpierce00/unison/issues/1006
Steps to reproduce:
- Sync dirs among two machines
- Watch unison correctly identify changed files
- Whach unison segfaulting when applying the changes