bug-make
[Top][All Lists]
Advanced

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

[bug #56918] endless loop under Darwin if recipe is non_existent_program


From: anonymous
Subject: [bug #56918] endless loop under Darwin if recipe is non_existent_program
Date: Wed, 18 Sep 2019 16:25:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15

URL:
  <https://savannah.gnu.org/bugs/?56918>

                 Summary: endless loop under Darwin if recipe is
non_existent_program
                 Project: make
            Submitted by: None
            Submitted on: Wed 18 Sep 2019 08:25:19 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:

With this Makefile on my Darwin system (MacOS Mojave 18.7.0), make-4.2.91
loops indefinitely and i have to kill -9 (kill -15 is not enough):

% cat Makefile
target:
        echo anything
        non_existent_program
% make
anything
non_existent_program
make: non_existent_program: No such file or directory
make: *** [Makefile;3: target] Error 127
Killed
%

This is also the case with make-4.2.90 but not with make-4.2.1.
Commenting out the line "echo anything" has the same effect (endless loop),
but completely removing this line makes the hang disappear (and 'make' to work
correctly).
Using --disable-posix-spawn also makes the hang disappear in all situations
(it seems).

Regards,

Denis Excoffier.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56918>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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