bugmake - Bugs: bug #19226, False warning about a circular...

 
 

bug #19226: False warning about a circular dependency

Submitted by:  None
Submitted on:  Wed 07 Mar 2007 09:28:44 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: Any
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.

 

Sun 14 Jun 2009 06:03:26 AM UTC, comment #1:

This is a duplicate of bug #13529

Paul D. Smith <psmith>
Project Administrator
Wed 07 Mar 2007 09:28:44 AM UTC, original submission:

We are using make 3.81 under CygWin (Windows XP SP2).

I have the following makefile: "test.make":

------------------8<---------------------
VPATH := ../dir/

all: a

.SECONDARY:

a: b b
@echo "compile"

../dir/b:

------------------8<---------------------

I am getting the following:

$ mkdir ../dir
$ touch ../dir/b
$ make -f test.make
make: Circular a <- b dependency dropped.
compile
$

Of course a depends on b, but why depends b on a?
When only one b is on the a line, the message isn't shown,
when the .SECONDARY: is missing it isn't shown and when
the b file is placed under ./dir the message is also not shown.

Paul Smith (psmith@gnu.org) confirmed this for Linux:
| I can confirm this on my Linux box. It's even stranger
| if you look at the debug output, since make appears to
| try to build "b" right after it considers "all", without
| first considering "a" (according to the output).

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #12138:  test.make added by None (86B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  •  

    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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Jun 2009 06:03:26 AM UTCpsmithStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Wed 07 Mar 2007 09:28:44 AM UTCNoneAttached File-=>Added test.make, #12138

    Back to the top


    Powered by Savane 3.1-cleanup1