[webkit-help] chromium port build failure on Mac

Julien Chaffraix julien.chaffraix at gmail.com
Mon Feb 6 21:04:10 PST 2012


Hi,

> I am trying to build chromium port of webkit on Mac and facing the following
> build failure.
>
> Command used for building:  update-webkit --chromium
>                                                     build-webkit --chromium
>
>
> ects-normal/i386/WebSystemInterface.o
> /Users/mhx348/WebkitBuilds/WebKitChromeBuild/WebKit/Source/WebCore/WebCore.gyp/../../WebKit/mac/WebCoreSupport/WebSystemInterface.mm:48:5:
> error: use of undeclared identifier 'WKCGContextResetClip'; did you mean
> 'wkCGContextResetClip'?
>     INIT(CGContextResetClip);
>     ^
> /Users/mhx348/WebkitBuilds/WebKitChromeBuild/WebKit/Source/WebCore/WebCore.gyp/../../WebKit/mac/WebCoreSupport/WebSystemInterface.mm:37:39:
> note: expanded from macro 'INIT'
> #define INIT(function) wk##function = WK##function
>                                       ^
> <scratch space>:210:1: note: expanded from macro 'WK'
> WKCGContextResetClip
> ^
> /Users/mhx348/WebkitBuilds/WebKitChromeBuild/WebKit/Source/WebCore/WebCore.gyp/../../WebKit/chromium/xcodebuild/WebCore.build/DerivedSources/Release/WebCore/WebCoreSystemInterface.h:115:15:
> note: 'wkCGContextResetClip' declared here
> extern void (*wkCGContextResetClip)(CGContextRef);
>               ^
> 1 error generated.
>
> Can someone help me to resolve this ?

You were unlucky when you sync'ed up your chromium tree (this
afternoon was pretty red for mac chromium). This is fixed in
http://trac.webkit.org/changeset/106887. I would advise you to sync to
up after r106889 and to check the bots at http://build.webkit.org if
you want to pick up the trunk as you can pick up a bad revision.

Thanks,
Julien


More information about the webkit-help mailing list