[webkit-help] Webkit Build Error
Aman Gupta
aman2304 at gmail.com
Thu Mar 1 22:39:37 PST 2012
Thanks Adam, I filed the necessary bugs on your advice.
I tried using Visual Studio 2005 instead of Visual C++ 2005 Express
Edition. The Visual Studio compilation process allowed me to see most files
being compiled real time. Out of 35 projects, 21 compiled. Most projects
didn't compile because of the following error:
error PRJ0002 : Error result 1 returned from
'C:\Windows\system32\cmd.exe'. Build log was saved at
"file://C:\cygwin\home\amang\webkit\WebKitBuild\Release\obj\TestWebKitAPI\BuildLog.htm"
Any idea what I might have run into?
Thanks
Aman Gupta
On Wed, Feb 22, 2012 at 8:38 PM, Adam Roben <aroben at apple.com> wrote:
> 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/20120302/3f5f85d8/attachment.html>
More information about the webkit-help
mailing list