[webkit-help] Webkit Build Error

Adam Roben aroben at apple.com
Wed Feb 22 07:08:48 PST 2012


On Feb 22, 2012, at 3:16 AM, Aman Gupta <aman2304 at gmail.com> wrote:

> Thanks Adam. I switched to the version of Windows SDK mentioned on the WebKit website. I am using Visual C++ Express Edition, not Visual Studio.
> 
> After the change, the "build-webkit" script started running. After running for about an hour, it failed with the following error message:
> 
> WebKitSupportLibrary is up-to-date.
> Building results into: /home/amang/webkit/WebKitBuild
> WEBKITOUTPUTDIR is set to: C:\cygwin\home\amang\webkit\WebKitBuild
> WEBKITLIBRARIESDIR is set to: C:\cygwin\home\amang\webkit\WebKitLibraries\win
> /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe win\WebKit.vcproj\WebKit.sln /build Release
> Traceback (most recent call last):
>   File "Tools/Scripts/print-vse-failure-logs", line 113, in <module>
>     PrintVisualStudioExpressLogs().main()
>   File "Tools/Scripts/print-vse-failure-logs", line 102, in main
>     build_log_paths = self._sort_buildlogs(self._find_buildlogs(self._obj_directory()))
>   File "Tools/Scripts/print-vse-failure-logs", line 67, in _sort_buildlogs
>     build_order = self._build_order()
>   File "Tools/Scripts/print-vse-failure-logs", line 60, in _build_order
>     sln_path = os.path.join(scm.find_checkout_root(), "WebKit", "win", "WebKit.vcproj", "WebKit.sln")
> AttributeError: 'module' object has no attribute 'find_checkout_root'
>  
>  
> ===== BUILD FAILED ======
>  
> Please ensure you have run Tools/Scripts/update-webkit to install dependencies.
>  
> You can view build errors by checking the BuildLog.htm files located at:
> /home/amang/webkit/WebKitBuild/obj/<project>/<config>.
> 
> 
> Can you help me out again, please? 

I see three problems here:

1) Your build failed for some reason
2) The script that's supposed to show you the build logs, print-vse-failure-logs, is broken
3) The path to the BuildLog.htm files at the end of the error message is wrong. It should be /home/amang/webkit/WebKitBuild/<config>/obj/<project>.

Fixing (2) would make it easier to diagnose (1), but it's not required. You can look at the build logs yourself in /home/amang/webkit/WebKitBuild/<config>/obj/<project> to figure out what went wrong.

It would be great if you could file bugs at http://webkit.org/new-bug for (2) and (3).

-Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120222/a1883650/attachment.html>


More information about the webkit-help mailing list