I'm trying to check out Chromium on a new Linux machine with Git. I haven't done this for awhile, but I don't remember having this much trouble last time. The machine is running Ubuntu 13.10 (saucy) which *may* be causing trouble, or it may be something else.
I ran gclient config, then customized .gclient with managed = False and custom_deps to reduce the checkout time. Here is my .gclient file:
solutions = [
{ "name" : "src",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
"src/content/test/data/layout_tests/LayoutTests": None,
"src/chrome/tools/test/reference_build/chrome_win": None,
"src/chrome_frame/tools/test/reference_build/chrome_win": None,
"src/chrome/tools/test/reference_build/chrome_linux": None,
"src/chrome/tools/test/reference_build/chrome_mac": None,
"src/third_party/hunspell_dictionaries": None,
},
"safesync_url": "",
},
]
cache_dir = None
Then I ran "gclient sync", as instructed there. The Chromium checkout completed successfully, but then I ran into all kinds of trouble checking out the submodules.
First, it wrote this: ".gclient file in parent directory /home/matt/src-pkg/chrome might not be the file you want to use". Not sure what that means or if it's serious, but it sure is confusing.
Second, I had a bunch of empty directories that complained like this:
Error: 14> Can't update/checkout /home/matt/src-pkg/chrome/src/sdch/open-vcdiff if an unversioned directory is present. Delete the directory and try again.
Then, I manually deleted those (deleting each one as it came up). Many of these directories then successfully checked out (with Subversion), but I ultimately ran into this problem:
svn: E175002: The OPTIONS request returned invalid XML in the response: XML parse error at line 1: Extra content at the end of the document
Is it supposed to be using SVN to check out the submodules, or Git? It seems very strange that it is trying to use Subversion at all. But at least the first few directories it used Subversion to check out an SVN URL. However, in the case of frame_rate/content, it is trying to use "svn checkout" with a git URL. That can't be right!
It's also trying to do:
I have tried heaps of things. First, I tried deleting all the files except .git, and starting again. This gave the same problem.
Note that it says to use "fetch chromium" instead of "gclient sync" for the first checkout. It's possible that the reason I'm having so much trouble is that I didn't do "fetch chromium". But I'm not really willing to try, because it's telling me I have to delete my checkout and start over (which takes several hours), and there's no guarantee it will help (it looks as though it's just manually doing gclient sync).
Can somebody please advise if I am doing something wrong, or whether there is actually a problem here? I have been trying for several hours now to check out Chromium and am becoming quite frustrated.
Thanks