windowsrhelunison

Unison creating different archives even when using same version


I have Unison 2.40.63 on both Windows and RHEL, all configs are working fine except when I try to run it first time it gives

    Fatal error: Internal error: New archives are not identical.
    Retaining original archives.  Please run Unison again to bring them up to date.

Solution

  • First, just to cover our bases, I would check to make sure the same version of Unison is getting called on each machine. Unison 2.40.63 may be installed on both machines, but maybe there is a different version hiding in the PATH being called first. See unison -version.

    That's probably not the issue though. This was a bug that cropped up before using older versions of Unison. See here and here. If I understand right it's because the versions of Unison were compiled with different versions of OCaml. Anyways: