Bug 74944
Summary: | Build with Visual C++ 2005 Express: print-vse-failure-logs script doesn't work with "AttributeError: 'module' object has no attribute 'find_checkout_root'" | ||
---|---|---|---|
Product: | WebKit | Reporter: | davehbensonbugzilla |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | aman2304, toyoshim |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
davehbensonbugzilla
I was trying to build WebKit on Windows XP. I followed the instructions on http://www.webkit.org/ to the letter. Console output is below.
>>
$ ./WebKit/Tools/Scripts/build-webkit --debug
WebKitSupportLibrary is up-to-date.
Building results into: /home/Dave/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: E:\benson\cygwin\home\Dave\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: E:\benson\cygwin\home\Dave\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe win\WebKit.vcproj\WebKit.sln /build Debug
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/Dave/WebKit/WebKitBuild/obj/<project>/<config>.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Aman Gupta
Hi,
I am trying to build webkit on a Windows 7 x64 machine and am getting exactly the same errors. Can someone help out?
Thanks
Aman Gupta
aman2304@gmail.com
Takashi Toyoshima
Python error is not a root reason of build failure.
I filed another bug for this.
https://bugs.webkit.org/show_bug.cgi?id=102633
Missing find_checkout_root is another issue.
You can reproduce it by just executing following script.
$ ./Tools/Script/print-vse-failure-logs
This is a script to show build logs for Visual C++ 2005 Express.
Following Traceback is shown after build fails.