delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/22/03:46:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ZQwQ5Z7Hel38gHw0wcDEmjambCqLXMx1B8VyAnGJMLE
ZDmME0HSEX1DjZjyIq5p/g+b0ugIraoo2gK2VJv21EugvFoOTzRrbaeOYKVUaFvs
ZDIJK5RtQsuWHgpjBxWwViozIjsQWerzF1mNnPtuGy668tJlPdJ9G17vsV/LPjNs
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=tKNMVHFvS+RBlBMfCgAcU3lDWAc=; b=tGhqvWGEp9oBQ/1CK
QaN9fbdxGxILhqvGwdcPgKZLR74eUSSwC532YbULLg8if+mSBin21S59kRNzNam4
CNfD3sWB+YymEm/BMq2O+GY5oRhJFv/CJfOaQ1dEEkaZsks9V0pEI3KQbjDlgIFH
I0LV6fJla6VpXJh1ch13IMoLEc=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_60 autolearn=no version=3.3.2
X-HELO: rtits2.realtek.com
X-SpamFilter-By: BOX Solutions SpamTrap 5.39 with qID s6M7jbic030830, This message is accepted by code: ctloc85258
Message-ID: <53CE16A1.30001@realsil.com.cn>
Date: Tue, 22 Jul 2014 15:45:37 +0800
From: Robert Bu <robert_bu AT realsil DOT com DOT cn>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.31-2
References: <announce DOT 20140721171219 DOT GR15332 AT calimero DOT vinschen DOT de>
In-Reply-To: <announce.20140721171219.GR15332@calimero.vinschen.de>
X-IsSubscribed: yes

Hi again,

Sorry to fix top-post of the previous mail.

> Hi Cygwin friends and users,
>
>
> I just released Cygwin 1.7.31-2.  This is mostely a bugfix release.
>
>

> - Workaround a problem following native NTFS symlinks.  This patch has been
>    not applied to 1.7.30, accidentally.
>    Addresses: https://cygwin.com/ml/cygwin/2014-04/msg00384.html
>

Android version control tool, repo, does not work with 
CYGWIN=winsymlinks:nativestrict.

Below is the error message when I do "repo init ...":
Traceback (most recent call last):
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/main.py", line 
500, in <module>
     _Main(sys.argv[1:])
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/main.py", line 
476, in _Main
     result = repo._Run(argv) or 0
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/main.py", line 
155, in _Run
     result = cmd.Execute(copts, cargs)
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/subcmds/init.py", 
line 390, in Exec
ute
     self._SyncManifest(opt)
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/subcmds/init.py", 
line 239, in _Syn
cManifest
     m.Sync_LocalHalf(syncbuf)
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/project.py", 
line 1170, in Sync_Loc
alHalf
     self._InitWorkTree()
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/project.py", 
line 2222, in _InitWor
kTree
     copy_all=False)
   File 
"/cygdrive/d/cygwin/home/robert_bu/repo/report/.repo/repo/project.py", 
line 2205, in _Referen
ceGitDir
     os.symlink(os.path.relpath(src, os.path.dirname(dst)), dst)
OSError: [Errno 2] No such file or directory

It seems that it is related to symlink handling of Cygwin. If I set 
CYGWIN=winsymlinks:lnk, repo works. But other Windows tools, such as 
TortoiseGit, cannot parse the link.

Best regards.
Robert Bu

--
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