What version of GYP do you have in tools? Do you have any GYP_* env var set?
Do you have anything in ~/.gyp/* TVL On Thu, Aug 6, 2009 at 11:58 PM, Mohamed Mansour <m0.interact...@gmail.com>wrote: > Tonight I was trying to sync my project so I did "git pull" and it worked > fine, then I did "gclient sync" as well as --force. But gyp is failing: > > m...@m0-desktop:~/chrome/src$ gclient sync________ found .git directory; > skipping src > > ________ running '/usr/bin/python src/tools/gyp/gyp_chromium' in > '/home/m0/chrome' > Updating projects from gyp files... > Traceback (most recent call last): > File "src/tools/gyp/gyp_chromium", line 34, in <module> > sys.exit(gyp.main(args)) > File "src/tools/gyp/pylib/gyp/__init__.py", line 262, in main > params) > File "src/tools/gyp/pylib/gyp/__init__.py", line 75, in Load > depth, generator_input_info) > File "src/tools/gyp/pylib/gyp/input.py", line 1644, in Load > LoadTargetBuildFile(build_file, data, aux_data, variables, includes, > depth) > File "src/tools/gyp/pylib/gyp/input.py", line 280, in LoadTargetBuildFile > includes, depth) > File "src/tools/gyp/pylib/gyp/input.py", line 280, in LoadTargetBuildFile > includes, depth) > File "src/tools/gyp/pylib/gyp/input.py", line 224, in LoadTargetBuildFile > includes, True) > File "src/tools/gyp/pylib/gyp/input.py", line 129, in LoadOneBuildFile > build_file_data = eval(build_file_contents, {'__builtins__': None}, > None) > File "/home/m0/chrome/src/chrome/third_party/hunspell/hunspell.gyp", line > 4 > > ^ > SyntaxError: invalid syntax > failed to run command: /usr/bin/python src/tools/gyp/gyp_chromium > > > I made sure I have no local changes (fresh out of git) > > m...@m0-desktop:~/chrome/src$ git log > commit 0954eb9b2987d50c54cb9c62ba3dfdeec1f1b01b > Author: gspen...@google.com <gspen...@google.com > @0039d316-1c4b-4281-b951-d872f2087c98> > Date: Fri Aug 7 03:38:01 2009 +0000 > > This adds a stub for the mac installer so that the gyp generation won't > fail on Macs. > Review URL: http://codereview.chromium.org/165109 > > git-svn-id: > svn://svn.chromium.org/chrome/trunk/s...@227170039d316-1c4b-4281-b951-d872f2087c98 > > > But I still get the error. My "git status" is: > > m...@m0-desktop:~/chrome/src$ git status > > # On branch trunk# Untracked files: > # (use "git add <file>..." to include in what will be committed) > # > # chrome/test/data/layout_tests/LayoutTests/ > # valgrind-20090715/ > # valgrind.tmp/ > nothing added to commit but untracked files present (use "git add" to > track) > > > I really don't understand why it is happening, I diffed my hunspell.gyp wrt > to the version online and they are identical. > > Any help is appreciated, I would like to work a bit this weekend but > valgrind requires linux and I can't seem to gclient sync it :/ > > > Thanks! > > -- Mohamed Mansour > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---