Package Details: unison-240 2.40.102-3

Package Base: unison-240
Description: File-synchronization tool (legacy 2.40 version)
Upstream URL: http://www.cis.upenn.edu/~bcpierce/unison/
Category: network
Licenses: GPL2
Conflicts: unison, unison-227, unison-232, unison-beta
Provides: unison
Submitter: jdn06
Maintainer: jdn06
Last Packager: jdn06
Votes: 6
First Submitted: 2015-02-08 14:15
Last Updated: 2015-02-08 14:16

Dependencies (4)

Required by (0)

Sources

Latest Comments

Comment by unhammer

2015-05-29 08:52

Alternatively, it's not so hard to compile unison 2.48 on debian: http://wiki.dreamhost.com/Unison

Comment by jdn06

2015-02-20 14:42

@mindkeep
In fact, it is not so painful to build unison with an old ocaml, because you don't have to stay with this old version. You use it only to build unison and you can upgrade or remove it after.
For ocaml-3.12.1 you can use the PKGBUILD in https://projects.archlinux.org/svntogit/packages.git/snapshot/packages-817d302cb43b9864f56d684e7306aae78ad0fecf.tar.gz
You use makepkg, install it with pacman -U.
You compile lablgtk2 with https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/lablgtk2 and with your old ocaml and then unison-240. Then you remove or upgrade ocaml and lablgtk2.
I had finally to do the same with ocaml-4.01 to make it work with FreeBSD and now everything is ok.

Comment by jdn06

2015-02-09 10:46

I found also this:
"This is because of an incompatibilitly in an underlying programming layer and shows up when you're synchronizing between 32 and 64 bit systems.

A workaround is the following one: on the 32 bit system nothing changes, but on the 64 bit system you don't use a native 64 bit version of unison, but a 32 bit one that is run in the 32 bit compatibility mode."

Source: https://alliance.seas.upenn.edu/~bcpierce/wiki/index.php?n=Main.UnisonFAQOSSpecific#unix

Comment by jdn06

2015-02-09 09:20

Difficult to solve. As explained in the link below, it depends of the ocaml version used to build unison.
Archlinux uses 4.02.1 while Wheezy uses 3.12.1. I built this AUR to solve this kind of problems with FreeBSD and the unison-2.48 from extra. For the moment it works for me.
You can try to build an old ocaml-3.12 on Arch, but it can be painful.

https://bugs.archlinux.org/task/43241

Comment by mindkeep

2015-02-09 00:28

Uncaught exception Failure("input_value: bad bigarray kind")

I hit this error when I try to sync from Debian Wheezy's unison (2.40.65) to this newly built version. I saw some build errors around not being able to find "etags", but couldn't figure out what package might provide it.