make-3.82.90-1-use-spawn-on-cygwin.diff

Denis Excoffier cygwin@Denis-Excoffier.org
Thu Aug 1 10:53:00 GMT 2013


Hello,

Only very recently did i discover Pavel's patch on make
(see http://lists.gnu.org/archive/html/bug-make/2013-07/msg00019.html)
and applied it on top of make-3.99.90 (see alpha.gnu.org) with happy
results on many (about 100) public packages (including gcc, xerces-c,
coreutils etc.) and also packages from mine.

However, it fails to build cygwin-20130731 (last snapshot), although
the regular make-3.99.90 compiles this snapshot gracefully. I also
tried with the genuine make-3.82.90-1 with the same results: no problem
with the regular make-3.82.90-1, error with
the patched one. Nothing very new: the cygwin-20130707 snapshot fails
exactly the same.

The errors i obtain are as follows:
/tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: line 2: 
use: command not found
/tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: line 3: 
use: command not found
/tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: c++wrap: 
line 4: syntax error near unexpected token `('
/tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: c++wrap: 
line 4: `my $pgm = basename($0);'
while compiling (it's the first time that c++wrap is used):
c++wrap -O2 -g -fno-rtti -fno-exceptions -Wall -Wstrict-aliasing 
-Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD 
-Werror -fmerge-constants -ftracer -c -o _cygwin_crt0_common.o 
/tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/cygwin/lib/_cygwin_crt0_common.cc
/tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/cygwin/../Makefile.common:43: 
recipe for target `_cygwin_crt0_common.o' failed

I've also obtained something like: c++wrap not found
but i can't remember under which circumstances, but i'm sure that it 
was
with the patch embedded.

I'm puzzled because some people (e.g. see
http://lists.gnu.org/archive/html/bug-make/2013-07/msg00023.html) 
report
very positively about this patch.

Did I do something wrong (apart perhaps posting to the wrong list)?

Regards,

Denis Excoffier.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list