bugmake - Bugs: bug #43677, .DELETE_ON_ERROR doesn't work with...


bug #43677: .DELETE_ON_ERROR doesn't work with patterns for main goal's dependencies

Submitted by:  Ivan Boldyrev <monoid>
Submitted on:  Mon 24 Nov 2014 06:19:16 AM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  3.81 Operating System:  POSIX-Based
Fixed Release:  4.2 Triage Status:  None

Add a New Comment (Rich Markup)

You are not logged in

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


Mon 13 Jul 2015 04:56:10 AM UTC, comment #1: 

I've pushed a fix for this into Git; it will be in the next release of GNU make.  Thanks for the report!

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Mon 24 Nov 2014 06:19:16 AM UTC, original submission:  

This is a sample of Makefile:


bug: c_foobar ;

c_%: a_% b_%
        echo $^ > $@

b_%: a_%
        echo $^ > $@

        false > $@

I tested it with make 3.81 on Ubuntu 12.04 LTS, make 4.0 on Ubuntu 14.04.1 LTS, and make 4.0 on Gentoo.

Ivan Boldyrev <monoid>


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

Attach Files:

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)
  • -email is unavailable- added by monoid (Submitted the item)

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-13 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.2

    Back to the top

    Powered by Savane 3.5