Build with Visual C++ 2005 Express: print-vse-failure-logs script doesn't work with "AttributeError: 'module' object has no attribute 'find_checkout_root'"
https://bugs.webkit.org/show_bug.cgi?id=74944
Summary Build with Visual C++ 2005 Express: print-vse-failure-logs script doesn't wor...
davehbensonbugzilla
Reported 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>.
Attachments
Aman Gupta
Comment 1 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
Takashi Toyoshima
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.