bugmake - Bugs: bug #59467, --no-print-directory has no effect...

 
 

bug #59467: --no-print-directory has no effect if command parsing complains about -j options

Submitter:  None
Submitted:  Mon 16 Nov 2020 07:46:31 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.2.1 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Dec 2020 07:12:14 PM UTC, comment #1: 

This works properly in GNU make 4.3:


$ (PATH=$HOME/src/make/make-4.3:$PATH; cd /tmp/x14 && make -j4)
make t1
make[1]: Entering directory '/tmp/x14'
make t2 --no-print-directory
t2
make[1]: Leaving directory '/tmp/x14'


I'm going to close this as a dup but update the Fixed Release version in bug #47752 to say 4.3 instead of 4.2.

Thanks for pointing out this issue!

Paul D. Smith <psmith>
Group administrator
Mon 16 Nov 2020 07:46:31 PM UTC, original submission:  

reopening https://savannah.gnu.org/bugs/?47752.
Run the attached make file with and without -j4 and observer different behaviors:

$ make -j4
make t1
make[1]: Entering directory '/home/aazade/work/test_make'
make t2 --no-print-directory
make[2]: Entering directory '/home/aazade/work/test_make'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
t2
make[2]: Leaving directory '/home/aazade/work/test_make'
make[1]: Leaving directory '/home/aazade/work/test_make'
$ make
make t1
make[1]: Entering directory '/home/aazade/work/test_make'
make t2 --no-print-directory
t2
make[1]: Leaving directory '/home/aazade/work/test_make'

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #50287:  Makefile added by None (87B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-06 psmith StatusNone Duplicate
        Open/ClosedOpen Closed
    2020-11-16 None Attached File- Added Makefile, #50287

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code