bugmake - Bugs: bug #16051, Non-existent prerequisites are not...


bug #16051: Non-existent prerequisites are not included in $?

Submitter:  Paul D. Smith <psmith>
Submitted:  Fri 10 Mar 2006 01:55:49 AM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.80 Operating System:  None
Fixed Release:  3.82 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sat 30 Sep 2006 09:19:59 PM UTC, comment #3: 

I've re-added this fix.

Paul D. Smith <psmith>
Group administrator
Fri 10 Mar 2006 05:33:30 PM UTC, comment #2: 

Well, I thought about this.  However, I don't really want to introduce a temporary target then deprecate it again.  Also, this problem has existed in virtually every version of GNU make and no one mentioned it until late last year, so I think it will be OK to leave in there a bit longer... assuming we can get 3.81 out the door :-/.

Paul D. Smith <psmith>
Group administrator
Fri 10 Mar 2006 07:38:13 AM UTC, comment #1: 

Wouldn't it be better to (temporarily) add a special target that triggers the correct behavior? It seems kind of backward to deprive  people of a bug fix just because some influential project has a buggy build system.

Boris Kolpackov <bosk>
Group Member
Fri 10 Mar 2006 01:55:49 AM UTC, original submission:  

A file which does not exist is always considered out of date (note .PHONY or FORCE targets).  However, make doesn't include them in the $? list.

This was fixed on 3 Jan 2006, but the fix showed up an error in the Linux kernel build system (see bug #16002).  In order to give them time to clean up I'm reverting this change for one release.  I'm adding this bug as a placeholder for the next release.

The fix is commented out in remake.c:update_file_1().

Paul D. Smith <psmith>
Group administrator


(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 (Updated the item)

    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
    2010-07-28 psmith Fixed Release4.0 3.82
    2006-09-30 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0

    Back to the top

    Powered by Savane 3.13-3cd0.
    Corresponding source code