bugmake - Bugs: bug #2884, Source file not found in vpath...


bug #2884: Source file not found in vpath when implicit rule triggered by target specified with an absolute path

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Thu 20 Mar 2003 02:34:29 PM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  3.80 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None

Add a New Comment(Rich Markup)

You are not logged in

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


  Spam posted by sevanath
Sun 04 Oct 2009 06:57:16 PM UTC, comment #2:

This bug seems to be corrupted; it's not showing up in my lists anywhere. Maybe because of the "Invalid User ID" stuff in the "Submitted By" field? I do have some info about this so I'll try to re-attach the tar file. Note that the tar file I have doesn't match, as far as I can tell, my comment #1 in any way... so I'm confused.

(file #18814)

Paul D. Smith <psmith>
Project Administrator
Tue 25 Mar 2003 02:28:06 AM UTC, comment #1:

Well, your makefile is not correct. Your .d file says:

../foo.c: /.../foo.h

That's not right. You don't want to rebuild foo.c if foo.h changes: foo.c is a source file. You want to rebuild foo.o if foo.h changes; you want the .d file to contain:

../foo.o: /.../foo.h

instead. If I change your rule for constructing the .d file to this:

%.d: %.c foo.h
echo $*.o ": " `pwd`/foo.h > $@

Then it seems to work correctly.

Paul D. Smith <psmith>
Project Administrator


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

Attach Files:

Attached Files
file #18814:  gmake_bug_2884_20030418.tgz added by psmith (7KiB - application/x-compressed-tar)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by sevanath (Posted a comment)
  • -email is unavailable- added by psmith (Updated 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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-04 psmith Attached File- => Added gmake_bug_2884_20030418.tgz, #18814

    Back to the top

    Powered by Savane 3.3