Bug 121733
Summary: | Framework includes checker no longer works with Xcode 4.6 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brian Burg <burg> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | Unspecified |
Brian Burg
With ToT, I receive the following error for debug and release Mac builds (OS X 10.8.5, Xcode 4.6). The error doesn't occur with Xcode 5. It seems that the recent change (http://trac.webkit.org/changeset/155788) may be using environment variables that aren't provided in the older Xcode, or something like that.
(TODO: full rebuild and double check that it reproduces; then cc joepeck@webkit.org,mrowe@apple.com,mitz@webkit.org)
PhaseScriptExecution "Check For Framework Include Consistency" /Users/burg/repos/timelapse/WebKitBuild/WebKit2.build/Debug/WebKit2.build/Script-5DF408C6131DD49700130071.sh
cd /Users/burg/repos/timelapse/Source/WebKit2
/bin/sh -c /Users/burg/repos/timelapse/WebKitBuild/WebKit2.build/Debug/WebKit2.build/Script-5DF408C6131DD49700130071.sh
error: WebKit2.framework/Versions/A/Headers/WKBase.h included <WebKit2/WKBaseGtk.h> but I could not find a header of that name!
error: WebKit2.framework/Versions/A/Headers/WKBase.h included <WebKit2/WKBaseSoup.h> but I could not find a header of that name!
error: WebKit2.framework/Versions/A/Headers/WKBase.h included <WebKit2/WKBaseEfl.h> but I could not find a header of that name!
error: WebKit2.framework/Versions/A/Headers/WKBase.h included <WebKit2/WKBaseMac.h> which is private!
This bug might be relevant/an alternate solution:
https://bugs.webkit.org/show_bug.cgi?id=105336
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brian Burg
This issue goes away if you both run Tools/Scripts/build-webkit --clean and delete everything within WebKitBuild/. Apparently some old headers in the destination directory were not detected as out-of-date, so the new versions were not being included.