Hi,

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

-----Original Message-----
From: Corinna Vinschen
Sent: 2014/7/22 1:12 +0800
Hi Cygwin friends and users,


I just released Cygwin 1.7.31-2.  This is mostely a bugfix release.

The only difference to 1.7.31-1 is the corrected initialization of
the main thread's thread mutex as outlined in
https://cygwin.com/ml/cygwin/2014-07/msg00248.html

Please note that the new passwd/group handling still isn't in this
version of Cygwin.  The changes are still work in progress.


What changed:
-------------

- Improve performance of send(2), sendto(2), sendmsg(2) when using small
   input buffers.
   Addresses: https://cygwin.com/ml/cygwin/2014-07/msg00069.html

- The default pthread_mutex type is now PTHREAD_MUTEX_NORMAL, rather than
   PTHREAD_MUTEX_ERRORCHECK, just as on Linux.

- Align pthread_attr stack functions more closely to Linux.

- Mark pthread_attr_getstackaddr and pthread_attr_setstackaddr as deprecated,
   as on Linux.


Bug Fixes
---------

- Fix various assorted bugs (potential buffer overruns, resource leaks, you
   name it) caught by Coverity.

- Fix return value of getgrouplist if the number of groups is bigger than the
   application-provided buffer can hold.
   See https://cygwin.com/ml/cygwin/2014-05/msg00469.html

- Fix a spurious error condition in calls to getaddrinfo on x86_64.
   Addresses: https://cygwin.com/ml/cygwin/2014-06/msg00350.html

- 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

- Fix an off-by-one bug in res_querydomain.
   Addresses: https://cygwin.com/ml/cygwin/2014-07/msg00052.html

- Don't catch STATUS_STACK_OVERFLOW preliminary on 64 bit.
   Fixes: https://cygwin.com/ml/cygwin/2014-07/msg00046.html

- Make sure that signals are properly delivered when sending lots of signals
   in succession.
   Fixes: https://cygwin.com/ml/cygwin/2014-07/threads.html#00149


To install 32-bit Cygwin use http://cygwin.com/setup-x86.exe
To install 64 bit Cygwin use http://cygwin.com/setup-x86_64.exe

The 64 bit Cygwin distribution doesn't yet come with as many packages
as the 32 bit version, but more packages will be available over time.

If you're already running a 32 bit version of Cygwin on 64 bit Windows
machines, you can continue to do so.  If you're planning a new install
of Cygwin on a 64 bit Windows machine, consider to use the new 64 bit
Cygwin version, unless you need certain packages not yet available in
the 64 bit release.


Have fun,
Corinna



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

Reply via email to