bugmake - Bugs: bug #56834, PATH not honored when...

 
 

bug #56834: PATH not honored when --disable-posix-spawn is not used

Submitted by:  None
Submitted on:  Fri 30 Aug 2019 12:20:12 PM UTC  
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  4.3 Operating System:  POSIX-Based
Fixed Release:  4.3 Triage Status:  Medium Effort

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 Sep 2019 12:08:43 PM UTC, comment #1: 

I've pushed a fix for this issue.  It will be available in the next release of GNU make.  Thanks for testing!

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Fri 30 Aug 2019 12:20:12 PM UTC, original submission:  

Hello,

When i build (under linux) make-4.2.90 without --disable-posix-spawn (and not --disable-pthread-spawn, a typo in NEWS), the PATH variable (set in the Makefile) is not honored. This is new compared to make-4.2.1.

For example:

% cp /bin/true /tmp/truetrue
% cat Makefile
PATH:=/tmp:/usr/bin
all:; truetrue
%

When make-4.2.90 is build with --enable-posix-spawn (the default), return code is 2 and i get:

% make
truetrue
make: *** [Makefile;2: target] Error 127
%

When make-4.2.90 is build with --disable-posix-spawn, i get the
correct result (and return code is 0):

% make
truetrue
%

Denis Excoffier.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-10 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3
        Triage StatusNone => Medium Effort

    Back to the top


    Powered by Savane 3.7