Bug 74944 - Build with Visual C++ 2005 Express: print-vse-failure-logs script doesn't work with "AttributeError: 'module' object has no attribute 'find_checkout_root'"
Summary: Build with Visual C++ 2005 Express: print-vse-failure-logs script doesn't wor...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 11:01 PST by davehbensonbugzilla
Modified: 2012-11-18 19:44 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davehbensonbugzilla 2011-12-20 11:01:39 PST
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>.
Comment 1 Aman Gupta 2012-02-29 00:20:08 PST
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
Comment 2 Takashi Toyoshima 2012-11-18 19:43:18 PST
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.