delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/25/09:14:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 25 Sep 2003 09:14:09 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Strange make [Error 255] (cygwin bug?)
In-Reply-To: <20030925125239.GH10088@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.56.0309250855480.3193@slinky.cs.nyu.edu>
References: <006601c38335$a62e8dc0$8006fea9 AT bertigep>
<Pine DOT GSO DOT 4 DOT 56 DOT 0309250832520 DOT 3193 AT slinky DOT cs DOT nyu DOT edu>
<20030925125239 DOT GH10088 AT cygbert DOT vinschen DOT de>
Importance: Normal
MIME-Version: 1.0

On Thu, 25 Sep 2003, Corinna Vinschen wrote:

> On Thu, Sep 25, 2003 at 08:34:25AM -0400, Igor Pechtchanski wrote:
> > On Thu, 25 Sep 2003, Fodor Bertalan wrote:
> >
> > > > $ perl -e 'print "all:;\t\@true && \\\n"; foreach $i
> > > > (0000..9999) { print "\techo -n $i && \\\n"; } print
> > > > "\ttrue\n";' | make -f -
> > > > make: *** [all] Error 255
> > >
> > > Yes, that fails from 1990.
> > >
> > > Is that a good bug report? Where should it be posted?
> >
> > Try it on Linux.  If it works there, post it to the Cygwin list (i.e.,
> > here) with words to that effect.  If it doesn't work on Linux either, post
> > it to some general make bugs list -- I'm sure there is one; look at the
> > homepage for GNU make.
>
> "make bug"?  I'm getting this on Linux:
>
> make: execvp: /bin/sh: Argument list too long
> make: *** [all] Error 127
>
> Doesn't look like a bug at all to me.
>
> Corinna

Urp.  What I meant was "if it fails in the same way on Linux".  The above
looks like a legitimate error message.  FWIW, I just tried it on a RedHat
7.3 machine, and I'm getting the same error as Corinna.  Now that you
mention it, it could be that Cygwin's /bin/sh is exiting with status 255
on an overlong argument list, and this has nothing to do with make per
se...  Although all of

for sh in /bin/sh /bin/ksh /bin/bash /bin/tcsh; do
  perl -e 'print "all:;\t\@true && echo \$\$SHELL && \\\n"; foreach $i (0000..9999) { print "\techo -n $i && \\\n"; } print "\techo && true\n";' | make -f - SHELL=$sh
done

printed "make: *** [all] Error 255", so I doubt it's a specific shell's
behavior...  This is obviously Cygwin-specific, though.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019