[ANNOUNCEMENT] Updated: Cygwin 1.7.31-2

Robert Bu robert_bu@realsil.com.cn
Tue Jul 22 07:45:00 GMT 2014


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



More information about the Cygwin mailing list