delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/08/17:03:22

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7B703951C66
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1599598943;
bh=yAYHeJgAP5/jy/YvSw7tX/H4ARLLlBdyQcczEqSMJzk=;
h=To:Subject:Date:From:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:Reply-To:From;
b=PllZ8/O8Cs84XIVolIfWlCGG5c+07Qpzc8WskiRJlUb9CT14aQVg95pjgmEf5Dl3r
/HUQ1ghH5j1ZE6rVTgSuJyG6soZG22YKlAOjihslXAo9NySVTFoudnV3A48zTU1Y2R
Ez6893us0NnduZ6XlCeZuwQbZY9IVVrCVB8EmVZE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A54D3861899
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1599598942;
bh=n1Ufjiv4wZFVUSFimTszfrMeynlZaLFbm2higHdEfdc=;
h=To:Subject:Date:From:Reply-To:From;
b=f9uwbVmKxMVrrzTlSSxUChL2NO3wFaZMjitxyrxRTpaA0jA/vaXdD1/CDfmRxmjBt
sGkvg8zl13YKb5gJ+GEZT6yzF90nRzzN6XC3g3dWicDfB+ceX0a+/AhDZeEQ5e2f89
dPMebiIXM7UuSq/f1G6dEcuAoXnyx8VlOcIiR2GM=
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD9E33850409
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1599598942;
bh=6+xaaPjgZVVsUh/K/a46FBWAoqS0MUZAqdivGw0ld5k=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Help:
List-Subscribe:From:Reply-To:From;
b=sD7pGYMHIjf2QkV7QFOI1HkLdkhUZofAEzp5Fx6fMJnk4bRxMUlbVGDg4k4ekMBQ1
ujelo0fqFOewDvMQ9FRGDXKC1xWH6l+rpjkvRx/B2GwiPDOFLg9d9jFejLzEiaWsKf
Kk97CSrTr7Ja91tLAsTF2BsEiwFbqs2WFrGQOvqs=
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E27CB385783A
X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduiedrudehfedgudegtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculddqhedmnecujfgurhephffvufffkffogggtgfesthhqsfdtufdtvdenucfhrhhomheptehnughrvgifucfutghhuhhlmhgrnhcuoehstghhuhhlmhgrnhdrrghnughrvgifsegvphgrrdhgohhvqeenucggtffrrghtthgvrhhnpeehtdffleehhfehteeltdduheffkeekleejkedtfeekieekieejudfgjedukeevgfenucffohhmrghinhepuhhpvghnnhdrvgguuhenucfkphepudejfedrjeelrddukeeirddugeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohephhgvlhhiuhhmrdehvddttddqghhlvghnfihoohgurdhnvghtpdhinhgvthepudejfedrjeelrddukeeirddugeefpdhmrghilhhfrhhomhepshgthhhulhhmrghnrdgrnhgurhgvfiesvghprgdrghhovhdprhgtphhtthhopegthihgfihinhdqrghnnhhouhhntggvsegthihgfihinhdrtghomh
X-Xfinity-VMeta: sc=-5.00;st=legit
To: cygwin AT cygwin DOT com
Subject: [ANNOUNCEMENT] New: unison2.48+4.04.2, unison2.48+4.08.1 [test]
Date: Tue, 08 Sep 2020 16:57:10 -0400
Message-Id: <announce.4alflfl3rr9dsrep0ppriuapee4klerpbg@4ax.com>
X-Mailer: Forte Agent 4.2/32.1118
MIME-Version: 1.0
X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, KAM_DMARC_REJECT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_SOFTFAIL,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Mailman-Approved-At: Tue, 08 Sep 2020 21:02:21 +0000
X-BeenThere: cygwin-announce AT cygwin DOT com
X-Mailman-Version: 2.1.29
From: Andrew Schulman via Cygwin-announce <cygwin-announce AT cygwin DOT com>
X-BeenThere: cygwin AT cygwin DOT com
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Two new Unison packages are now available in test:

unison2.48+4.04.2
unison2.48+4.08.1

Both of these are Unison 2.48.4, but compiled with OCaml 4.04.2 and 4.08.1,
respectively. For the reasons explained below, we now need separate Unison
packages for compatible versions of both Unison and OCaml.

If you use Unison 2.48, please test these packages to see if one of them
works to synchronize with your server, and report the results here. If they
don't work for you, we can add other combinations. Once these packages move
to the current release, they'll obsolete the current unison2.48 package, so
please test them now.

Unison is a file synchronizer for Unix and Windows. It allows two replicas
of a collection of files and directories to be stored on different hosts
(or different disks on the same host), modified separately, and then
brought up to date by propagating the changes in each replica to the other.

== Unison versions and packages

Unison comes in several complementary packages for Cygwin:

                   Unison   OCaml
Package name       version  version  Unison executable
------------       -------  -------  -----------------
unison2.27         2.27.*   4.01.0   /usr/bin/unison-2.27
unison2.32         2.32.*   4.01.0   /usr/bin/unison-2.32
unison2.40         2.40.*   4.02.3   /usr/bin/unison-2.40
unison2.45         2.45.*   4.01.1   /usr/bin/unison-2.45
unison2.48+4.04.2  2.48.*   4.04.2   /usr/bin/unison-2.48+4.04.2
unison2.48+4.08.1  2.48.*   4.08.1   /usr/bin/unison-2.48+4.08.1
unison2.49         2.49.*   4.02.3   /usr/bin/unison-2.49
unison2.51         2.51.*   4.04.2   /usr/bin/unison-2.51

You can install any number of these packages side-by-side. Separate
packages are needed because in order to synchronize your files, you have to
run compatible versions of Unison on the client and server. Two Unison
executables are compatible if and only if:

(1) They have the same first two numbers of the Unison version. For
example, all Unison versions 2.48.* are compatible with each other. But if
you try to use version 2.51.x to sync with a server running version 2.48.y,
Unison will issue an error message about incompatible versions and quit.

AND

(2) They were built with compatible versions of the OCaml compiler. OCaml
has changed its format over time for "marshaling" or serializing data. If
you run Unison executables that were built with OCaml versions that use
different marshaling formats, even if the Unison versions are the same,
you'll get the dreaded error message

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

Apparently OCaml introduced breaking changes to its marshaling format in
versions 4.08 and 4.11. So versions pre-4.08, between 4.08 and 4.11, or
post-4.11 should be mutually compatible. But this hasn't been tested much.
For discussion of OCaml version incompatibilities, see
https://lists.seas.upenn.edu/pipermail/unison-hackers/2020-August/001972.html
.

By installing one or more of the packages listed above, you can run
whichever version you need in order to synchronize with your server. If you
need a different combination of Unison and OCaml versions than is available
in the current packages, please send a report to cygwin AT cygwin DOT com. It may
be possible to create a new package for it.

== Setting a default version

The package postinstallation scripts use alternatives(8) to install a
symlink /usr/bin/unison that points to one of the above-named executables.
By default this symlink will track the highest-numbered version of Unison
that you install on your system. You can change that using alternatives:

  alternatives --config unison

(recommended) or manually. See "man alternatives" for details.

If the server provides multiple versions of Unison, then you can invoke
Unison on the client with e.g. '-servercmd /usr/bin/unison-2.48' to run the
version you want on the server, or put 'servercmd /usr/bin/unison-2.48'
into the client's preference file.

== User interface

All of the Unison packages for Cygwin use the text UI. There is also a GTK2
UI for Unison, but I haven't been able to get it working yet under Cygwin.
At some time in the future I may make unison*+gtk2 packages available for
Cygwin.

Andrew E. Schulman
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019