I don't believe I have any GYP_* env set: m...@m0-desktop:~/chrome/src$ echo $PATH ~/chrome/depot_tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
I don't have a directory called ~/.gyp/ m...@m0-desktop:~/chrome/src$ echo $PATH ~/chrome/depot_tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games I got version 579 m...@m0-desktop:~/chrome/src/tools/gyp$ svn infoPath: . URL: http://gyp.googlecode.com/svn/trunk Repository Root: http://gyp.googlecode.com/svn Repository UUID: 78cadc50-ecff-11dd-a971-7dbc132099af Revision: 579 Node Kind: directory Schedule: normal Last Changed Author: gspen...@google.com Last Changed Rev: 579 Last Changed Date: 2009-08-05 12:49:34 -0400 (Wed, 05 Aug 2009) I really don't understand what is wrong. -- Mohamed Mansour On Fri, Aug 7, 2009 at 12:08 AM, Thomas Van Lenten <thoma...@chromium.org> wrote: > 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...@22717 >> 0039d316-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 -~----------~----~----~----~------~----~------~--~---