[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #19226] False warning about a circular dependency

From: anonymous
Subject: [bug #19226] False warning about a circular dependency
Date: Wed, 07 Mar 2007 09:28:46 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070219 Firefox/


                 Summary: False warning about a circular dependency
                 Project: make
            Submitted by: None
            Submitted on: Mittwoch 07.03.2007 um 09:28 UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: Any
           Fixed Release: None



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

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

VPATH := ../dir/

all: a


a: b b
   @echo "compile"



I am getting the following:

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

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 (address@hidden) 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).


File Attachments:

Date: Mittwoch 07.03.2007 um 09:28 UTC  Name: test.make  Size: 86B   By: None



Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]