rdmenezes / cefpython

Automatically exported from code.google.com/p/cefpython
1 stars 0 forks source link

gclient sync fails on several projects (git repositories) #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow instructions from 
https://code.google.com/p/cefpython/wiki/BuildOnLinux
2. Release URL: http://src.chromium.org/svn/releases/27.0.1453.110
3. Everything is fine until step "Update the Chromium sources"

What is the expected output? What do you see instead?

SVN repositories seem to update fine but git repos (I can confirm at least two 
so far - third_party/chromite and third_party/accessibility-developer-tools) 
are failing with:

Error: Command git -c core.deltaBaseCacheLimit=2g clone --progress 
https://chromium.googlesource.com/external/accessibility-developer-tools.git 
~/chromium/src/third_party/accessibility-developer-tools returned non-zero exit 
status 129 in ~/chromium

due to:

Syncing projects:  36% (44/121) 
src/content/test/data/layout_tests/LayoutTests/s52>________ running 'git -c 
core.deltaBaseCacheLimit=2g clone --progress 
https://chromium.googlesource.com/external/accessibility-developer-tools.git 
~/chromium/src/third_party/accessibility-developer-tools' in '~/chromium'
52>Unknown option: -c
52>usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
52>           [-p|--paginate|--no-pager] [--no-replace-objects]
52>           [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
52>           [--help] COMMAND [ARGS]

I have found the issue in

~/depot_tools/gclient_scm.py : (line 758)

self._Run(['clone'] + v + ['-c', 'core.deltaBaseCacheLimit=2g',

but removing '-c' doesn't help much as there are conflicts with gclient on the 
next run of

gclient sync :

depot_tools update failed. Conflict in ~/depot_tools
cannot rebase: you have unstaged changes
M   gclient_scm.py

What version of the product are you using? On what operating system?

https://chromium.googlesource.com/chromium/tools/depot_tools.git
CentOS Linux release 6.0 (Final)
git-1.7.1-2.el6_0.1.i686

Please provide any additional information below.

Original issue reported on code.google.com by vkosovac@gmail.com on 9 Jul 2013 at 9:12

GoogleCodeExporter commented 9 years ago
Have you tried updating git to a more recent version? The git version
I'm using is 1.7.9.5 and it works fine with gclient.

Git usage for version 1.7.9.5:
--------------------------------------------------------------------------------
czarek@Czarek-Ubuntu64:~$ git --help
usage: git [--version] [--exec-path[=<path>]] [--html-path] [--man-path] 
[--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [-c name=value] [--help]
           <command> [<args>]
--------------------------------------------------------------------------------

You can see the -c option there.

Original comment by czarek.t...@gmail.com on 9 Jul 2013 at 9:37

GoogleCodeExporter commented 9 years ago
Thanks Czarek - that worked.

Original comment by vkosovac@gmail.com on 9 Jul 2013 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 9 Jul 2013 at 10:32

GoogleCodeExporter commented 9 years ago
I've updated the "Install the Chromium build prerequisites" section on the
BuildOnLinux wiki page with the GIT version requirements:

    5. Make sure you have an up to date version of GIT, as of this writing 
    syncing chromium works fine with git 1.7.9.5.

Original comment by czarek.t...@gmail.com on 9 Jul 2013 at 10:36