Re: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]

2023-03-01 Thread Andreas Schwab
On Feb 28 2023, Satish Balay via Bug reports and discussion for GNU make wrote: > On Tue, 28 Feb 2023, Dmitry Goncharov wrote: > >> On Tue, Feb 28, 2023 at 8:41 PM Satish Balay via Bug reports and >> discussion for GNU make wrote: >> > $ cat makefile >> > all: >> > @MAKEFLAGS="-j1 ${MAKE

Re: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]

2023-03-01 Thread Edward Welbourne
On Feb 28 2023, Satish Balay via Bug reports and discussion for GNU make wrote: >> And the reason we use the order '-j8 ${MAKEFLAGS}' is so that we have the >> following behavior': Andreas Schwab (1 March 2023 10:15) wrote: > You need to write it as MAKEFLAGS="-j1 -${MAKEFLAGS}", so that the sho

Re: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]

2023-03-01 Thread Dmitry Goncharov
On Tue, Feb 28, 2023 at 11:35 PM Satish Balay via Bug reports and discussion for GNU make wrote: > And the reason we use the order '-j8 ${MAKEFLAGS}' is so that we have the > following behavior': > > - invoking 'make' defaults to using a default of '-j8' > - invoking 'make -j4' gives: '-j8 -j4' -

[bug #63852] Two test failure running the test suite as root

2023-03-01 Thread Paul D. Smith
Follow-up Comment #1, bug #63852 (project make): Well, we would have to use a separate check: whether we can write to directories that don't have write privileges. It could be done. ___ Reply to this item at:

Re: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]

2023-03-01 Thread Paul Smith
On Tue, 2023-02-28 at 22:34 -0600, Satish Balay via Bug reports and discussion for GNU make wrote: > And the reason we use the order '-j8 ${MAKEFLAGS}' is so that we have > the following behavior': > > - invoking 'make' defaults to using a default of '-j8' > - invoking 'make -j4' gives: '-j8 -j4'

[bug #63856] The special target .WAIT does not work as special target on command line.

2023-03-01 Thread Tzvetelin Katchov
URL: Summary: The special target .WAIT does not work as special target on command line. Group: make Submitter: katchov Submitted: Wed 01 Mar 2023 03:13:15 PM UTC Severity: 3 -

[bug #63856] .WAIT does not work as special target on command line.

2023-03-01 Thread Paul D. Smith
Update of bug #63856 (project make): Component Version: 4.4.1 => 4.4 Summary: The special target .WAIT does not work as special target on command line. => .WAIT does not work as special target on command line.

Re: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]

2023-03-01 Thread Satish Balay via Bug reports and discussion for GNU make
Thanks for the responses - I'm yet to try some of the suggestions [and check if they are appropriate for my use case]. On Wed, 1 Mar 2023, Paul Smith wrote: > On Tue, 2023-02-28 at 22:34 -0600, Satish Balay via Bug reports and > discussion for GNU make wrote: > > And the reason we use the order '

Re: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]

2023-03-01 Thread Paul Smith
On Wed, 2023-03-01 at 13:05 -0600, Satish Balay wrote: > Perhaps my minimal test code is not an exact representation. However > this usage does work in our code-base. > > > > > > [balay@pj01 petsc]$ make --version |head -1 > GNU Make 4.3 > [balay@pj01 petsc]$ grep ^MAKE_NP configure.log > MAKE_N