X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=Lu6ZniE3ew7EGgPXZW2/HcfgwKio2K623Yt5RT4eGmb NvAKrZr0jisX3FPML01WlgBnp/GlTLMbX12xYZKZJDR3WnYRcop/M5iqdrCZN+ah Fsyblw4o63KsrU6qrBkYR14gXTBEKwDm77BpCc4Skhh47XQ1zA47Ge8dErYN+7IM = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=7790nWAnBJf3CWAn1wVjIhNZJTs=; b=wct26xzX+p05W55Cj klMSiQfzSrTNhJHfOjdh+nLKmXTUwTPg+rOVqRspDKLF1gJNVDVkaOAlzpi1v8u2 +ibbJNlGe1aXIOiomzWBAhioJ5Cq76bnT0zNrm+9tWOyynyhyBDiBmlYF082SMuU iF12bkCLriAbYwqJB6j68+tDH4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_VIA_APNIC,RDNS_NONE,SPF_HELO_PASS autolearn=no version=3.3.1 From: Pavel Fedin

To: "'Denis Excoffier'" , cygwin AT cygwin DOT com References: <30ff7a64af09cc584626ea338dfca067 AT denis-excoffier DOT org> In-reply-to: <30ff7a64af09cc584626ea338dfca067@denis-excoffier.org> Subject: RE: make-3.82.90-1-use-spawn-on-cygwin.diff Date: Fri, 02 Aug 2013 11:40:53 +0400 Message-id: <001901ce8f53$9ec3c250$dc4b46f0$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r727fGap030917 Hello! > 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);' I took a look at c++wrap file. Very interesting phenomena. By the way, i apply this patch to existing Cygwin package, i didn't try newer make. Ok, i will try when i have more time. It looks like this is some system() or whatever issue. Perl script is not recognized as such, and executed via shell. Here is a proof (portion from my build log): --- cut --- 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 -mcmodel=small -c -o advapi32.o ../../.././winsup/cygwin/advapi32.cc 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 -mcmodel=small -c -o arc4random.o ../../.././winsup/cygwin/libc/arc4random.cc 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 -mcmodel=small -c -o assert.o ../../.././winsup/cygwin/assert.cc 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 -mcmodel=small -c -o autoload.o ../../.././winsup/cygwin/autoload.cc --- cut --- As you can see, works fine. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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