URL:
<http://savannah.gnu.org/bugs/?19226>
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
_______________________________________________________
Details:
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 ([EMAIL PROTECTED]) 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
<http://savannah.gnu.org/bugs/download.php?file_id=12138>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19226>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make