[webkit-help] Webkit-Cairo build failure

Chris Waldron christy.waldron at gmail.com
Tue Aug 9 19:11:05 PDT 2011


I decided to use the VS2005 development tools and now I'm in worse shape
than before ...

$ WebKit/Tools/Scripts/build-webkit --wincairo --release
Checking Last-Modified date of WinCairoRequirements.zip...
Current WinCairoRequirements is up to date
Building results into: /home/chris.waldron/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: C:\cygwin\home\chris.waldron\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to:
C:\cygwin\home\chris.waldron\WebKit\\WebKitLibraries\win
/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
8/Common7/IDE/VCExpress.exe win\WebKit.vcproj\WebKit.sln /build
Release_Cairo_CFLite
      0 [main] python 6120 C:\cygwin\bin\python.exe: *** fatal error -
unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to same
address as parent: 0x3E0000 != 0x3F0000
      0 [main] python 6120 C:\cygwin\bin\python.exe: *** fatal error -
unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to same
address as parent: 0x3E0000 != 0x3F0000
Stack trace:
Frame     Function  Args
0028A2C8  6102796B  (0028A2C8, 00000000, 00000000, 00000000)
0028A5B8  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0028B5E8  61004F1B  (611A7FAC, 61248B1C, 003E0000, 003F0000)
End of stack trace
      0 [main] python 3484 fork: child 6120 - died waiting for dll loading,
errno 11
      0 [main] python 3484 fork: child 6120 - died waiting for dll loading,
errno 11
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 85, in _obj_directory
    build_directory =
self._executive.run_command([build_directory_script_path,
"--top-level"]).rstrip()
  File
"/home/chris.waldron/WebKit/Tools/Scripts/webkitpy/common/system/executive.p
y", line 420, in run_command
    close_fds=self._should_close_fds())
  File
"/home/chris.waldron/WebKit/Tools/Scripts/webkitpy/common/system/executive.p
y", line 476, in popen
    return subprocess.Popen(*args, **kwargs)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable


===== 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/chris.waldron/WebKit/WebKitBuild/obj/<project>/<config>.

-----Original Message-----
From: Brent Fulgham [mailto:bfulgham at gmail.com] 
Sent: Tuesday, 9 August 2011 3:15 p.m.
To: Chris Waldron
Cc: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] Webkit-Cairo build failure

Hi Chris,

On Aug 8, 2011, at 4:58 PM, Chris Waldron wrote:

> Ok.  I see that I should be using the following command ...
> WebKit/Tools/Scripts/build-webkit --wincairo --release
> 
> However I'm getting a different set of build errors.  I'm failing in 
> WebCoreGenerated.

I have to admit that I have not attempted to build under VS 2008 using the
command line; my typical practice is to open the
WebKit/win/WebKit.vcproj/WebKit.sln in VS2008, allow it to perform the
upgrade from 2005-2008, and then build.

I use the command-line build only with VS2005 for the build machine.

> /home/CHRIS~1.WAL/WebKit/Source/WebCore/webaudio/AudioBuffer.idl
> 4>gcc: error trying to exec 'cc1plus': execvp: No such file or 
> 4>directory Can't call method "fileName" without a package or object 
> 4>reference at
> /home/CHRIS~1.WAL/WebKit/Source/WebCore/bindings/scripts//IDLParser.pm 
> line 101.
> 4>make: *** [JSAbstractView.h] Error 1
> 4>make: *** Waiting for unfinished jobs....
> 4>gcc: error trying to exec 'cc1plus': execvp: No such file or 
> 4>directory
> 4>gcc: error trying to exec 'cc1plus': execvp: No such file or 
> 4>directory
> 4>gcc: error trying to exec 'cc1plus': execvp: No such file or 
> 4>directory Can't call method "fileName" without a package or object 
> 4>reference at
> /home/CHRIS~1.WAL/WebKit/Source/WebCore/bindings/scripts//IDLParser.pm 
> line 101.

It may be that the IDL system uses gcc in some fashion, but I was under the
impression that gcc was never used on the Windows build.  The fact that it's
showing up in the build log is very suspicious.

By any chance are you generating VS project using the CMake files?

Also, please note that the build requirements stuff that get installed
automatically by the build system are for VS2005, and will continue to be
until Apple chooses to update to a more recent compiler.

If you build using VS2008 using the stock "update-webkit --wincairo" tools,
you will get a finished binary that uses some VS2005-based code, and some
Vs2008 vased code.  This may be okay, but I generally try to avoid this.

I have built the various requirements separately under VS2008 to make sure
everything links against a common VC runtime, but have not made this
publicly available.

-Brent




More information about the webkit-help mailing list