bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: anonymous
Subject: [bug #56834] PATH not honored when --disable-posix-spawn is not used
Date: Fri, 30 Aug 2019 08:20:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]