[Cygwin] Repo
Install and Run
1. Run cygwin
2. curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > /bin/repo
3. chmod a+x /bin/repo
4. mkdir workspace
5. cd workspace
6. repo init -u https://android.googlesource.com/platform/manifest
7. repo sync -qj 4
Problem and Solution
1. repo init
1. exti cygwin
2. kill all cygwin process (ctrl + alt + delete -> end process)
3. run cmd (consol in windows)
4. cd cygwin
5. cd /usr/bin/
6. ash.exe rebaseall
7. restart cygwin
==============================================================================
remap \\?\D:\cygwin\lib\python2.6\
address as parent: 0x380000 != 0x3F0000
0 [main] python 5076 fork: child 4396 - died waiting for dll
loading, errno 11
Traceback (most recent call last):
File "/usr/local/bin/repo", line 595, in <module>
main(sys.argv[1:])
File "/usr/local/bin/repo", line 562, in main
_Init(args)
File "/usr/local/bin/repo", line 181, in _Init
_CheckGitVersion()
File "/usr/local/bin/repo", line 210, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.6/
errread, errwrite)
File "/usr/lib/python2.6/
_execute_child
self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
==============================================================================
2. repo sync
repo sync -f
==============================================================================
Exited sync due to fetch errors
==============================================================================