Getting the code

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Getting the code

Postby JoeAndrieu » Wed Jan 06, 2010 5:55 pm

Howdy.

I'm trying to get the latest sources and am running into problems. I had previously gotten this all to work, but then messed things up and am trying to reintegrate with the latest CEF/chromium build. Unfortunately, I can't get gclient to sync properly. I've asked the chromium-dev IRC for help, but didn't get much help.

I'm trying to sync to revision 31062 and getting two errors. (I was able to properly sync to the current build.)

Here are the errors:
Code: Select all
C:\chromium\src>gclient sync --revision src@31062 --force

________ running 'svn update C:\chromium\src --revision 31062' in 'C:\chromium'
svn: URL 'http://src.chromium.org/svn/trunk/deps/third_party/lighttpd' of existing directory 'C:\chromium\src\third_party\lighttpd' does not match expected URL
'http://src.chromium.org/svn/trunk/src/third_party/lighttpd'

...

________ running 'C:\chromium\tools\depot_tools\python_bin\python.exe src/build/
gyp_chromium' in 'C:\chromium'
Updating projects from gyp files...
Traceback (most recent call last):
  File "src/build/gyp_chromium", line 79, in ?    sys.exit(gyp.main(args))
  File "src\tools\gyp\pylib\gyp\__init__.py", line 423, in main    params, options.check)
  File "src\tools\gyp\pylib\gyp\__init__.py", line 83, in Load    depth, generator_input_info, check)
  File "src\tools\gyp\pylib\gyp\input.py", line 2004, in Load    depth, check)
  File "src\tools\gyp\pylib\gyp\input.py", line 392, in LoadTargetBuildFile    includes, depth, check)
  File "src\tools\gyp\pylib\gyp\input.py", line 392, in LoadTargetBuildFile    includes, depth, check)
  File "src\tools\gyp\pylib\gyp\input.py", line 326, in LoadTargetBuildFile    includes, True, check)
  File "src\tools\gyp\pylib\gyp\input.py", line 184, in LoadOneBuildFile    raise Exception("%s not found (cwd: %s)" % (build_file_path, os.getcwd()))
Exception: src\gpu\gpu.gyp not found (cwd: C:\chromium) while loading dependencies of src\chrome\chrome.gyp while loading dependencies of src\build\all.gyp while trying to load src\build\all.gyp
failed to run command: C:\chromium\tools\depot_tools\python_bin\python.exe src/build/gyp_chromium



I also tried revs 30778, 30028, 29687, 29378, and 28713, with similar errors.


I'm going to keep trying older and older revs...

Any suggestions?
JoeAndrieu
Techie
 
Posts: 21
Joined: Wed Jun 10, 2009 6:44 pm

Re: Getting the code

Postby JoeAndrieu » Wed Jan 06, 2010 11:00 pm

Ok... I got it to work, eventually.

I deleted everything under /src except the .svn directory and ran the sync for the revision I wanted.

I'm not sure why the sync isn't working... probably some permissioning issue, but at least syncing everything from scratch restored the files.
JoeAndrieu
Techie
 
Posts: 21
Joined: Wed Jun 10, 2009 6:44 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 48 guests