← Back to team overview

ocaml-maint team mailing list archive

[Bug 1868502] Re: Synchronization with earlier Ubuntu versions or a recent Debian version fails

 

In fact, further investigation shows that the binary built with the
OCamL 4.05 compiler is working fine. The error message quoted in my
previous post is obviously caused by a cache file corrupted by
previously running the binary from deb (compiled with OCamL 4.08).
Deleting the cache file fixes the problem.

I have now verified that just using the binary copied over from Bionic
works equally well on Focal.

So the workaround seems to be to uninstall the unison deb package and to
copy the /usr/bin/unison-2.48.4 binary from a Bionic system into
/usr/local/bin, /opt/bin, $HOME/bin or whatever else you prefer (and
possibly to create a symlink called unison).

-- 
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to unison in Ubuntu.
https://bugs.launchpad.net/bugs/1868502

Title:
  Synchronization with earlier Ubuntu versions or a recent Debian
  version fails

Status in unison package in Ubuntu:
  Confirmed

Bug description:
  Any synchronization I want to do with my server (Debian buster) fails
  with the following message:

  > Fatal error: Server: Fatal error during unmarshaling (input_value: ill-formed message),
  > possibly because client and server have been compiled with differentversions of the OCaml compiler.

  Indeed, buster uses OCaml 4.05.0, focal uses 4.08.1. eoan used 4.05.0,
  as did the prior versions, including bionic, which all still
  synchronize fine. The current Windows version also synchronizes with
  that version.

  Although intentionally using an old software version for compatibility
  is not a good thing, in this case it might be necessary. The whole
  point of unison is its interoperability.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unison/+bug/1868502/+subscriptions


References