[webkit-dev] WebKitTools/Scripts/build-dumprendertree seems to be broken

Mitz Pettel opendarwin.org at mitzpettel.com
Thu Jun 16 06:46:34 PDT 2005


This happens because the default built products directory for  
DumpRenderTree is ./WebKit/WebKitTools/DumpRenderTree/WebKitBuild/  
whereas WebKit's default built products directory is ./WebKit/ 
WebKitBuild/. The workaround is to open Xcode preferences and  
manually set a built products directory. This will get WebKit and  
DumpRenderTree in sync.

-- Mitz Pettel

On Jun 16, 2005, at 3:16 PM, David D. Kilzer wrote:


> When trying to run "run-webkit-tests", the build-dumprendertree  
> script dies when trying to compile DumpRenderTree.m:
>
> [...]/WebKitTools/DumpRenderTree/DumpRenderTree.m:33:37: error:  
> WebKit/WebCoreStatistics.h: No such file or directory
>
> Any ideas?  Full error output below.
>
> Dave
>
>
> kilze0-206:~/Projects/Cocoa/WebKit/WebKitTools ddkilzer$ ./Scripts/ 
> run-webkit-tests
> 2005-06-16 07:14:59.242 xcodebuild[22405] WARNING: The Xcode plugin  
> at path /Library/Application Support/Apple/Developer Tools/Plug-ins/ 
> J2EEAssistant.pbplugin is missing the XCPluginHasUI Info.plist key,  
> it is assumed to have UI and will not be loaded by xcodebuild.
> (NOTE: project DumpRenderTree was written by an older version of  
> Xcode (39) -- temporarily upgrading it to version 42 (without  
> modifying project file))
>
> === BUILDING NATIVE TARGET DumpRenderTree WITH CONFIGURATION  
> Deployment ===
>
> CompileC WebKitBuild/DumpRenderTree.build/Deployment/ 
> DumpRenderTree.build/Objects-normal/ppc/DumpRenderTree.o  
> DumpRenderTree.m normal ppc objective-c com.apple.compilers.gcc.4_0
>     mkdir /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/ 
> DumpRenderTree/WebKitBuild/DumpRenderTree.build/Deployment/ 
> DumpRenderTree.build/Objects-normal/ppc
>     cd /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/ 
> DumpRenderTree
>     /usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs - 
> fpascal-strings -fasm-blocks -g -Os -Werror -fmessage-length=0 - 
> mtune=G4 -fvisibility=hidden -I/Users/ddkilzer/Projects/Cocoa/ 
> WebKit/WebKitTools/DumpRenderTree/WebKitBuild/DumpRenderTree.build/ 
> Deployment/DumpRenderTree.build/DumpRenderTree.hmap -Wall -W -Wno- 
> unused-parameter -mdynamic-no-pic -F/Users/ddkilzer/Projects/Cocoa/ 
> WebKit/WebKitTools/DumpRenderTree/WebKitBuild/Deployment -I/Users/ 
> ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> WebKitBuild/Deployment/include -I/Users/ddkilzer/Projects/Cocoa/ 
> WebKit/WebKitTools/DumpRenderTree/WebKitBuild/DumpRenderTree.build/ 
> Deployment/DumpRenderTree.build/DerivedSources -include /Library/ 
> Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/ 
> DumpRenderTreePrefix-bstgpmazqsztwxavkclvhrqlftkz/ 
> DumpRenderTreePrefix.h -c /Users/ddkilzer/Projects/Cocoa/WebKit/ 
> WebKitTools/DumpRenderTree/DumpRenderTree.m -o /Users/ddkilzer/ 
> Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/WebKitBuild/ 
> DumpRenderTree.build/Deployment/DumpRenderTree.build/Objects-normal/ 
> ppc/DumpRenderTree.o
> /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> DumpRenderTree.m:33:37: error: WebKit/WebCoreStatistics.h: No such  
> file or directory
> cc1obj: warnings being treated as errors
> /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> DumpRenderTree.m: In function 'dump':
> /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> DumpRenderTree.m:127: warning: 'WebFrame' may not respond to '- 
> renderTreeAsExternalRepresentation'
> /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> DumpRenderTree.m:127: warning: (Messages without a matching method  
> signature
> /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> DumpRenderTree.m:127: warning: will be assumed to return 'id' and  
> accept
> /Users/ddkilzer/Projects/Cocoa/WebKit/WebKitTools/DumpRenderTree/ 
> DumpRenderTree.m:127: warning: '...' as arguments.)
> ** BUILD FAILED **
> can't find executable DumpRenderTree tool (looked in /Users/ 
> ddkilzer/Projects/Cocoa/WebKit/WebKitBuild/Deployment)
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/webkit-dev
>
>





More information about the webkit-dev mailing list