Here is a comment I wrote under the unison-232 comments on the same day. This issue also applies to Unison 2.27:
I tried using Ocaml 3.x to build Unison 2.32, but I was unsuccessful because lablgtk2 (updated from 2.14 to 2.16 on the Arch repos) is expecting Ocaml 4.x.
Basically, I'm running out of ideas. I would literally have to make PKGBUILDs for ocaml-3 (3.12.1) and lablgtk2-214 (2.14) and who knows what else, just to get Unison 2.32 and 2.27 to build properly again. In light of my other recent frustrations with rolling on Arch Linux, I'm losing motivation. (Having my system randomly freeze whenever I use wireless, likely due to a kernel update, isn't much fun. Neither is the fact that my power settings are confused, such as when I close my lid my laptop suspends, even though I have it set differently under Xfce's power settings. Not to mention the transition from sysvinit to systemd. Thankfully, I dual-boot with a reliable friend known as Ubuntu 10.04 LTS. I just want to use my computer after all...)
If anyone has any idea on how to get Unison 2.32 to build agian, do chime in.
In the meantime, you can still build this package if you first install lablgtk2 (2.14) and ocaml (3.12.1) from the Arch Rollback Machine: http://arm.konnichi.com/search
Search Criteria
Package Details: unison-227 2.27.157-4
Package Actions
| Package Base: | unison-227 |
|---|---|
| Description: | File-synchronization tool (legacy 2.27 version) |
| Upstream URL: | http://www.cis.upenn.edu/~bcpierce/unison |
| Category: | network |
| Licenses: | |
| Submitter: | flan_suse |
| Maintainer: | flan_suse |
| Last Packager: | None |
| Votes: | 9 |
| First Submitted: | 2011-02-23 13:30 |
| Last Updated: | 2012-02-07 01:56 |
Dependencies (0)
Required by (0)
Sources
- http://www.cis.upenn.edu/~bcpierce/unison/download/releases/unison-2.27.157/unison-2.27.157.tar.gz
- unison-227.desktop
- unison-ssh-ocaml.patch
Latest Comments
Comment by flan_suse
Comment by flan_suse
I went ahead and made a change so that it creates a symlink to /usr/bin/unison. This means you cannot install this package side-by-side with other versions of Unison. I commented the PKGBUILD with notes on how to install side-by-side, in case there's some people out there that require such. Let me know if you get any problems with my changes.
Installing this updated PKGBUILD also forces a rebuild, which fixes the issue with the new libpng update in the main Arch Linux repositories.
Comment by flan_suse
lablgtk2 has been rebuilt on the official Extra repo, and so now this PKGBUILD should work again like normal.
Comment by flan_suse
This comment is for anyone who is using yaourt or reads the most recent comments:
Currently, unison will not build with the latest package updates. This is because lablgtk2 needs to be rebuilt against the latest ocaml 3.12.1. In order for any unison PKGBUILDs to work, you will need to wait for this to be fixed by the official Arch Linux package maintainers, or if you cannot wait, you can follow the manual instructions I wrote out in my previous comment under the unison-232 page. Substitute unison-232 for unison-227: http://aur.archlinux.org/packages.php?ID=46811
A bug report has already been filed and I even emailed the package maintainer for ocaml.
Sorry for the inconvenience.
Comment by flan_suse
Latest package update of ocaml includes a patch that fixes the issue between ocaml and binutils. Because of this, unison-227 now properly builds again.
Comment by flan_suse
Recent breakage caused by the latest binutils (2.21) and ocaml (3.12.0).
https://aur.archlinux.org/packages.php?ID=46811
http://caml.inria.fr/mantis/view.php?id=5237
Should be fixed after ocaml gets updated.
Comment by flan_suse
Origin of this package for further explanation and reference: https://bbs.archlinux.org/viewtopic.php?id=113971
Comment by flan_suse
Due to Unison's nature, all computers must have the same version installed in order for the synchronization process to work properly.
I made the unison-232 package on the day that the ArchLinux Extra repo updated Unison to version 2.40, which will break compatibility with Unison 2.32. Version 2.32 is still the latest stable version used by many distros.
This version, 2.27, is also still used by older distros, such as RHEL, SLED/SLES, and Debian Lenny. I made it so that it is possible to still install Unison 2.27 as a package on ArchLinux.
This package will not conflict with Unison 2.40, and it will install side-by-side with it.
Custom names are used for the executables:
/usr/bin/unison-227
/usr/bin/unison-227-gtk2
/usr/bin/unison-227-x11