• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Repo Init raises GitError('filesystem must support symlinks')

takara

Lurker
May 17, 2011
2
0
I am working on ubuntu 10.04 and try to download android source code. After initialize the built environment according to Initializing a Build Environment | Android Open Source, javac -version is javac 1.6.0_24. then, I run:
repo init -u git://android.git.kernel.org/platform/manifest.git

but it comes out these errors:
Getting manifest ...
from git://android.git.kernel.org/platform/manifest.git
Traceback (most recent call last):
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/main.py", line 238, in <module>
_Main(sys.argv[1:])
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/main.py", line 220, in _Main
repo._Run(argv)
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/main.py", line 125, in _Run
cmd.Execute(copts, cargs)
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/subcmds/init.py", line 237, in Execute
self._SyncManifest(opt)
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/subcmds/init.py", line 110, in _SyncManifest
m._InitGitDir()
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/project.py", line 1464, in _InitGitDir
self._InitHooks()
File "/mydata/d-linux/Android_SourceCode/mydroid/.repo/repo/project.py", line 1497, in _InitHooks
raise GitError('filesystem must support symlinks')
error.GitError: filesystem must support symlinks

I have try to run the repo with python 2.6, python 2.5, and python 2.4 by editing the repo file exec python2.5 and exec python2.4. It result in the same error.
What is missing? what should I do now :thinking:
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones