bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make aborts


From: Paul D. Smith
Subject: Re: make aborts
Date: Fri, 5 Jul 2002 12:28:21 -0400

%% Stefan Seefeld <address@hidden> writes:

  ss> here is a little Makefile that makes make version 3.79.1 abort:

  ss> ---
  ss> .FORCE:

  ss> a: 
  ss> .FORCE

I assume the above is some kind of line wrapping error in your mail
client, since it doesn't make any sense as-is, and this really meant:

  a: .FORCE

  ss>   @echo "foobar is $(foobar)"
  ss> a: foobar+="foobar"
  ss> ---

  ss> it runs fine when I call 'make', but with 'make foobar="bla"'
  ss> it aborts (with a meaningful error message).

There has been a patch floating around for this for a long time; you can
get it from the archives, or you can get a prerelease I made of the next
version (this doesn't have most of the changes that will be in the new
version of make: it has a number of bug fixes and it implements the
latest auto* tools: I released to try to get the auto* changes a wider
testing).

  ftp://alpha.gnu.org/gnu/make/make-3.79.2a1.tar.gz

  ss> By the way, I sent in a bug report almost a year ago about errors
  ss> when resolving target patterns in specific cases, but never got
  ss> any feedback. Is make actually maintained these days ? Should I
  ss> send the bugreport again ?

Please do.

When you do so, please try to find a way to include examples in your
email verbatim, so they are not auto-wrapped like the above.  It makes
it _very_ difficult to read your makefiles when newlines are not
maintained properly.

Thanks.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



reply via email to

[Prev in Thread] Current Thread [Next in Thread]