delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/28/12:36:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: Doubtful about unison
Date: Mon, 28 Feb 2011 12:35:53 -0500
Lines: 41
Message-ID: <aamnm61uhbmgbrq007c6oag7cd7n9hpdt2@4ax.com>
References: <ikf9e3$ub2$1 AT dough DOT gmane DOT org> <ikfe1p$f00$1 AT dough DOT gmane DOT org> <ikgf2f$vtm$1 AT dough DOT gmane DOT org> <fggnm61cfbkp0fm6jm0lvrns74bk56bls4 AT 4ax DOT com> <ikgjlh$tk7$1 AT dough DOT gmane DOT org>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> > Try `cygcheck /usr/bin/unison-2.32`.
> 
> Now I get:
> C:\cygwin/bin\unison-2.32.exe
>    C:\cygwin/bin\cygwin1.dll
>      C:\WINDOWS\system32\ADVAPI32.DLL
>        C:\WINDOWS\system32\KERNEL32.dll
>          C:\WINDOWS\system32\ntdll.dll
>        C:\WINDOWS\system32\RPCRT4.dll
>          C:\WINDOWS\system32\Secur32.dll
>    C:\cygwin/bin\cyggcc_s-1.dll
> All of these files exist.

Hm.  Okay, what if you run `strace /usr/bin/unison-2.32 -version`?  When I
do that, around line 375 of the output I see

 6657   90249 [main] unison-2.32 5424 fhandler_base::write: binary write
unison version 2.32.52

I'm not very knowledgeable about strace output, but if you attach yours
here I can look for problems and compare it to mine.

Also, from setup.exe, what version of unison2.32 are you using?  Is it
2.32.52-3?  There were earlier some versions of Unison that were briefly
released that were broken in a way that I think looked like this.

> > /usr/bin/unison should be just a symlink to /etc/alternatives/unison,
>  > which in turn is a symlink to one of your installed versions of unison.
> 
> Yes indeed. And for extra fun there's also /bin/unison.

Well that's different, it's a bonus Cygwin mount point :)

> Symlinks are much abused in Unix: everything lives in 3,
> 4, 5 different places.

Arguably, yes.  In this case the symlinks are there to help you manage
multiple conflicting versions of Unison - see
/usr/share/doc/unison/README.Cygwin.

Andrew.


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

- Raw text -


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