Hi,
* Jerome Vouillon <
Jerome.Vouillon@...> wrote:
> On Sun, Sep 16, 2012 at 05:10:53PM +0200, Alexander Neumann wrote:
> > Fatal error: Internal error: New archives are not identical.
> > Retaining original archives. Please run Unison again to bring them up to date.
> I suspect Archlinux has already switched to OCaml 4.
That is correct.
> There is an incompatibility between OCaml 3 and OCaml 4 which results in
> this error message. (Unison ends up using two distinct hash functions to
> compare the archives and thus wrongly believes that the archives are not
> identical.) The workaround is to use a Unison binary compiled with the
> same version of OCaml on both machines.
Uh, that's really bad, as it breaks syncing with (appearently) the same
version of unison in an ugly way without any obvious causes.
Are there any plans for mitigating this? For example, a good mitigation seems
to be releasing a new version of unison which uses the same (old) hash
function. The hash seems to be used only for identifying archives and this
way seems to be not security relevant. This way installations using the old
OCaml3 can still be synced. As OCaml4 gets wider use in the next months,
maybe even add a FAQ entry (at least I invested several hours researching
this problem ;)
Thanks for your reply,
- Alex