URL:
<https://savannah.gnu.org/bugs/?56834>
Summary: PATH not honored when --disable-posix-spawn is not
used
Project: make
Submitted by: None
Submitted on: Fri 30 Aug 2019 12:20:12 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: SCM
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56834>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make