public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] unison2.48-2.48.4-2 (Warning: possible breakage)
Date: Tue, 1 Sep 2020 08:09:19 -0400	[thread overview]
Message-ID: <d4943e4f-0575-7cd8-4996-8345736b1180@cornell.edu> (raw)
In-Reply-To: <ed5rkft7ag48b1hfocqi3ts0sbtj2o6s9q@4ax.com>

On 8/31/2020 8:39 PM, Andrew Schulman via Cygwin wrote:
>>> There is unfortunately another layer of incompatibility in Unison: Two
>>> Unison executables are only compatible if they were built with the same
>>> version of OCaml.
>>
>> What a mess!
> 
> Glad you understand :)
> 
>> Would you consider embedding the OCaml version in the package name
>> as suggested by the Debian maintainer
>> (http://lists.seas.upenn.edu/pipermail/unison-hackers/2020-August/001975.html)?
>> Thus unison2.48-2.48.4-1 would be replaced by something like
>> unison2.48+4.04.1... and unison2.48-2.48.4-2 would be replace by something like
>> unison2.48+4.08.1....  That way people who are happy with unison2.48-2.48.4-1
>> can keep using it without being pestered by setup to update.
> 
> Yes, I could do that. I was hoping to avoid it, but it may be the only realistic
> solution.
> 
> It may be mainly Unison 2.48 that's affected, and maybe also 2.51 and the
> forthcoming 2.52. I guess that very few people are still using the older
> versions, and if they are they don't want any changes now.
>   
>> FWIW, here's my situation, which is probably not typical.  When you released
>> unison2.48-2.48.4-1 a few years ago, it was incompatible with the Linux server
>> that I sync with.  So I simply built OCaml and unison myself on that server,
>> using the same versions that you used, and installed unison in my own ~/bin
>> directory.
>>
>> I could do that again, now using OCaml 4.08.1.  But I'd much rather just keep my
>> current arrangement, without having setup try to update unison2.48 every time I
>> run it.
> 
> Thanks, that's helpful to know. Your situation might not be unusual, I don't
> know. For all I know, you and I are the only Cygwin Unison users.
> 
> So was unison2.48-2.48.4-1 built with OCaml 4.04.1? I don't remember, and I'm
> not sure how to tell.

I just checked a Cygwin snapshot from around the time unison2.48-2.48.4-1 was 
built 
(http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2017/02/22/131407/index.html), 
and it looks like the current version of Cygwin's OCaml was 4.02.3 at the time. 
I mentioned 4.04.1 above because that's the version I built for Linux.  So maybe 
the crucial thing is that it was pre-4.08.1.

Ken

      parent reply	other threads:[~2020-09-01 12:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 20:47 Andrew Schulman via Cygwin-announce
2020-08-31 22:08 ` Ken Brown
2020-09-01  0:39   ` Andrew Schulman
2020-09-01 10:29     ` David Allsopp
2020-09-01 12:09     ` Ken Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d4943e4f-0575-7cd8-4996-8345736b1180@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).