On Sat, 2013-04-27 at 13:09 +0300, Eli Zaretskii wrote:
> Is this intended behavior that these two messages:
> 
>   mkfsync:6: recipe for target 'two' failed
>   gnumake[1]: [two] Error 1 (ignored)
> 
> are separated and wrapped by separate "Entering...Leaving" blocks,
> instead of being produced together?  They are both produced by a call
> to 'message', which outputs the message to stdout, so it's not like
> they went to two different streams.  Am I missing something?

Frank mentioned this as well and it's a bug that needs to be fixed.
I'll look into it this weekend.  I need to check the algorithm; one
simple fix, if it's too complex to do it another way, would be to have
make write (append) the error message to the temp file rather than
printing it directly.  That way we know it will come out in the right
order when the temp file is dumped to stdout.

However that may not be necessary.

> If this is intended behavior, can we somehow cut down on these
> "Entering...Leaving" pairs?  They add a lot of clutter and make it
> hard to read the output of a Make run.

Yes, this was also discussed: I've been thinking about a separate way to
allow the user to choose.  We also need to ensure, as best as we can,
that extra unneeded lines are not being generated.


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to