http://bugs.winehq.org/show_bug.cgi?id=21484
Summary: The "make -j2" invoked by chromium's webkit build aborts early? Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
After working around bug 21174 with export NUMBER_OF_PROCESSORS_PLUS_1=2 the commands wget http://code.google.com/p/winezeug/source/browse/trunk/testsuites/chromium/bu... sh build.sh build webcore_bindings_sources
failed in an interesting way: each time I ran it, a few more files appear in C:/chromium/src/chrome/Debug/obj/global_intermedia/webkit/bindings.
I now use export NUMBER_OF_PROCESSORS_PLUS_1=1 which avoids the problem.
A slightly reduced testcase is sh build.sh cmd cd c:\chromium\src\third_party\WebKit\WebCore\WebCore.gyp call c:\chromium\src\third_party\cygwin\setup_env.bat set CYGWIN=nontsec bash -c "make OutDir=c:/chromium/src/chrome/Debug IntDir=C:/chromium/src/chrome/Debug/obj/webcore_bindings_sources -j2 -f webcore_bindings_sources_rules.mk"
That makefile invokes a python script which invokes a perl script. Evidently running that in parallel is too much for wine at the moment?
http://bugs.winehq.org/show_bug.cgi?id=21484
--- Comment #1 from Austin English austinenglish@gmail.com 2010-02-02 21:20:02 --- May be invalid (http://cygwin.com/faq.html) See number 6.6
Why does my make fail on Cygwin with an execvp error?
First of all, if you are using make -j[N], then stop. It doesn't work well. Also beware of using non-portable shell features in your Makefiles (see tips at http://cygwin.com/faq/faq.using.html#faq.using.shell-scripts).
Errors of make: execvp: /bin/sh: Illegal Argument or make: execvp: /bin/sh: Argument list too long are often caused by the command-line being to long for the Windows execution model. To circumvent this, mount the path of the executable using the -X switch to enable cygexec for all executables in that folder; you will also need to exclude non-cygwin executables with the -x switch. Enabling cygexec causes cygwin executables to talk directly to one another, which increases the command-line limit. To enable cygexec for /bin and /usr/bin, you can add or change these entries in /etc/fstab:
C:/cygwin/bin /bin ntfs binary,cygexec 0 0 C:/cygwin/bin /usr/bin ntfs binary,cygexec 0 0
http://bugs.winehq.org/show_bug.cgi?id=21484
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #2 from Dan Kegel dank@kegel.com 2010-02-02 21:36:43 --- Thanks. Sounds invalid indeed, or at least a cygwin problem.
http://bugs.winehq.org/show_bug.cgi?id=21484
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-02-03 07:43:57 --- Closing invalid.