Thanks for your help. It seems everything is in sync, but I still get the same compiling errors.
~/chromium3/src(trunk) $ git pull Already up-to-date. ~/chromium3/src(trunk) $ tools/sync-webkit-git.py Desired revision: r50487. Already on correct revision. ~/chromium3/src(trunk) $ gclient sync ________ found .git directory; skipping src ________ running '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python src/build/gyp_chromium' in '/Users/samuel/chromium3' Updating projects from gyp files... ________ running '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python src/build/win/clobber_generated_headers.py' in '/Users/samuel/chromium3' ________ running '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python src/build/mac/clobber_generated_headers.py' in '/Users/samuel/chromium3' ~/chromium3/src(trunk) And when i got to a different directory trying to use git to get Webkit code, I get this error "possible repository corruption on the remote side", not sure if these 2 are related. git clone git://git.webkit.org/WebKit.git . Initialized empty Git repository in /Users/samuel/Webkit/.git/ remote: error: failed to unpack compressed delta at offset 486539223 from ./objects/pack/pack-c7fcbbd90f8a0e469e7e218ffcef0bb43aa4114d.pack remote: error: failed to read object 23c5a57a8a0c94e1b895d432e8799dbf5533dc18 at offset 486539219 from ./objects/pack/pack-c7fcbbd90f8a0e469e7e218ffcef0bb43aa4114d.pack remote: fatal: object 23c5a57a8a0c94e1b895d432e8799dbf5533dc18 is corrupted remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed On Tue, Nov 3, 2009 at 8:20 PM, Evan Martin <[email protected]> wrote: > It has been working fine for me. Is it possible you have the wrong > version of WebKit? What does tools/sync-webkit-git.py say? > > On Tue, Nov 3, 2009 at 6:46 PM, n179911 <[email protected]> wrote: >> >> Thanks. Kenneth, >> >> I fixed the "ENABLE_3D_CANVAS" redefined error. But I still get the >> following compilation error: >> >> In file included from >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../bindings/v8/DerivedSourcesAllInOne.cpp:65: >> >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:40: >> error: no matching function for call to >> 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' >> ../bindings/v8/ScriptCallStack.h:58: note: candidates are: >> WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, >> unsigned int, WebCore::String, int) >> ../bindings/v8/ScriptCallStack.h:46: note: >> WebCore::ScriptCallStack::ScriptCallStack(const >> WebCore::ScriptCallStack&) >> >> >> >> On Tue, Nov 3, 2009 at 6:40 PM, n179911 <[email protected]> wrote: >>> Thanks Kenneth. >>> >>> I tried this. But I get >>> >>> I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources/i386 >>> -I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources >>> -c >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/DerivedSources/Debug/webkit/HTMLElementFactory.cpp >>> -o >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/Objects-normal/i386/HTMLElementFactory.o >>> <command-line>: error: "ENABLE_3D_CANVAS" redefined >>> <command-line>: error: this is the location of the previous definition >>> <command-line>: error: this is the location of the previous >>> definition >>> >>> and also: >>> >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:49: >>> error: no matching function for call to >>> 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' >>> ../bindings/v8/ScriptCallStack.h:58: note: candidates are: >>> WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, >>> unsigned int, WebCore::String, int) >>> ../bindings/v8/ScriptCallStack.h:46: note: >>> WebCore::ScriptCallStack::ScriptCallStack(const >>> WebCore::ScriptCallStack&) >>> >>> >>> >>> On Mon, Nov 2, 2009 at 10:38 PM, Kenneth Russell <[email protected]> wrote: >>>> On Mon, Nov 2, 2009 at 10:27 PM, n179911 <[email protected]> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I have tried syncing up chromium HEAD by doing this (since i use git >>>>> for chromium and webkit). >>>>> $ git pull (update chromium) >>>>> $ gclient sync >>>>> $ tools/sync-webkit-git.py (update webkit) >>>>> >>>>> But i got the following errors when I compile it. It appears the >>>>> method 'CanvasRenderingContext3D::attachShader' is called with the >>>>> wrong number of parameters. >>>>> Does anyone know how to fix it? >>>>> >>>>> Thank you. >>>>> >>>>> chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90: >>>>> error: no matching function for call to >>>>> 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&, >>>>> WebCore::CanvasShader*&)' >>>>> ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are: >>>>> void >>>>> WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, >>>>> WebCore::CanvasShader*, WebCore::ExceptionCode&) >>>>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101: >>>>> error: no matching function for call to >>>>> 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&, >>>>> unsigned int&, WebCore::String&)' >>>>> ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are: >>>>> void >>>>> WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*, >>>>> long unsigned int, const WebCore::String&, WebCore::ExceptionCode&) >>>>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111: >>>>> error: no matching function for call to >>>>> 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&, >>>>> WebCore::CanvasBuffer*&)' >>>>> ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are: >>>>> void WebCore::CanvasRenderingContext3D::bindBuffer(long unsigned int, >>>>> WebCore::CanvasBuffer*, WebCore::ExceptionCode&) >>>> >>>> It looks like upstream WebKit changes have broken our WebGL >>>> implementation again. The reason you're running into this is probably >>>> that you synced a more recent version of WebKit than is described in >>>> the DEPS file. Your best bet to get things compiling again quickly is >>>> to set ENABLE_3D_CANVAS=0 in src/build/features_override.gypi, run >>>> "gclient runhooks --force", and rebuild. >>>> >>>> -Ken >>>> >>> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
