[webkit-help] Webkit Build Error

Aman Gupta aman2304 at gmail.com
Thu Mar 1 23:11:16 PST 2012


Hi,

I am pasting the contents of the BuildLog for one of the projects that
failed to compile. Thanks.


Creating temporary file
"C:\cygwin\home\amang\webkit\WebKitBuild\Release\obj\MiniBrowser\BAT00001A66484292.bat"
with contents
[
@echo off
REM Do not edit from the Visual Studio IDE! Customize via a
MiniBrowserPreBuild.cmd file.
if not exist "c:\cygwin\home\amang\webkit\Tools\MiniBrowser\MiniBrowserPreBuild.cmd"
exit /b

set CONFIGURATIONBUILDDIR=C:\cygwin\home\amang\webkit\WebKitBuild\Release
set CONFIGURATIONNAME=Release
set INPUTDIR=c:\cygwin\home\amang\webkit\Tools\MiniBrowser\
set INPUTFILENAME=MiniBrowser.vcproj
set INPUTPATH=c:\cygwin\home\amang\webkit\Tools\MiniBrowser\MiniBrowser.vcproj
set INTDIR=C:\cygwin\home\amang\webkit\WebKitBuild\Release\obj\MiniBrowser
set LIBRARYCONFIGSUFFIX=
set OUTDIR=C:\cygwin\home\amang\webkit\WebKitBuild\Release\bin
set PLATFORMNAME=Win32
set PROJECTDIR=c:\cygwin\home\amang\webkit\Tools\MiniBrowser\
set PROJECTFILENAME=MiniBrowser.vcproj
set PROJECTNAME=MiniBrowser
set PROJECTPATH=C:\cygwin\home\amang\webkit\Tools\MiniBrowser\MiniBrowser.vcproj
set SOLUTIONDIR=C:\cygwin\home\amang\webkit\Source\WebKit\win\WebKit.vcproj\
set SOLUTIONFILENAME=WebKit.sln
set SOLUTIONNAME=WebKit
set SOLUTIONPATH=C:\cygwin\home\amang\webkit\Source\WebKit\win\WebKit.vcproj\WebKit.sln
set TARGETDIR=C:\cygwin\home\amang\webkit\WebKitBuild\Release\bin\
set TARGETEXT=.dll
set TARGETFILENAME=MiniBrowser.dll
set TARGETPATH=C:\cygwin\home\amang\webkit\WebKitBuild\Release\bin\MiniBrowser.dll
set WEBKITCONFIGSUFFIX=
set WEBKITDLLCONFIGSUFFIX=

REM If any of the above variables didn't exist previously and
REM were set to an empty string, set will set the errorlevel to 1,
REM which will cause the project-specific script to think the build
REM has failed. This cmd /c call will clear the errorlevel.
cmd /c

"c:\cygwin\home\amang\webkit\Tools\MiniBrowser\MiniBrowserPreBuild.cmd"

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from
"Performing Pre-Build Event..."
exit 1

:VCEnd
]
Creating command line
"C:\cygwin\home\amang\webkit\WebKitBuild\Release\obj\MiniBrowser\BAT00001A66484292.bat"



Thanks
Aman Gupta

On Fri, Mar 2, 2012 at 12:18 PM, Mustafizur Rahaman
<mustaf.here at gmail.com>wrote:

> The error you are getting a generic one, could you please mention what you
> got in that BuildLog?
> Regs,
> Rahaman
>
> On Fri, Mar 2, 2012 at 12:09 PM, Aman Gupta <aman2304 at gmail.com> wrote:
>
>> 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-bugfor (2) and (3).
>>>
>>> -Adam
>>>
>>>
>>
>> _______________________________________________
>> webkit-help mailing list
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120302/1369a93a/attachment.html>


More information about the webkit-help mailing list