bug-make
[Top][All Lists]
Advanced

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

[bug #60736] Introduce "Circular <file> <- <file> dependency dropped." f


From: Dmitry Goncharov
Subject: [bug #60736] Introduce "Circular <file> <- <file> dependency dropped." for .EXTRA_PREREQS deps.
Date: Sat, 23 Apr 2022 12:21:59 -0400 (EDT)

Follow-up Comment #3, bug #60736 (project make):

> For one thing it causes a number of tests to fail.
Fixed.

> For another thing the docs explicitly say:
    > Note 'make' is smart enough not to add a prerequisite listed in
'.EXTRA_PREREQS' as a prerequisite to itself. 

Does this behavior have to be silent?


Let me present reasons for the message, since you kept the ticket open

1. This example
hello.x: .EXTRA_PREREQS:=hello.x 
has a typo.
This was supposed to be
hello.x: .EXTRA_PREREQS:=hello.y

The user keeps modifying hello.y and running make and make keeps telling the
user hello.x is up to date.
The message would help.

2. The manual says
"‘Circular xxx <- yyy dependency dropped.’

    This means that make detected a loop in the dependency graph: after
tracing the prerequisite yyy of target xxx, and its prerequisites, etc., one
of them depended on xxx again.
"

It looks to me that that the user reading this can expect make to report all
cases of circular dependencies.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60736>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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