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

 
 

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

Submitter:  None
Submitted:  Fri 30 Aug 2019 12:20:12 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.3 Operating System:  POSIX-Based
Fixed Release:  4.3 Triage Status:  Medium Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

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

    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 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.13-f8d8.
    Corresponding source code