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 - NormalItem Group: Bug
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: NoneTriage 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 File(s):
   
   
Comment:
   

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
  • -unavailable- added by sevanath (Posted a comment)
  • -unavailable- added by psmith (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Oct 2009 06:57:16 PM UTCpsmithAttached File-=>Added gmake_bug_2884_20030418.tgz, #18814

    Back to the top


    Powered by Savane 3.1-cleanup1