bug-make
[Top][All Lists]
Advanced

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

[bug #60399] Incorrect dependencies with grouped targets


From: Paul D. Smith
Subject: [bug #60399] Incorrect dependencies with grouped targets
Date: Sat, 17 Apr 2021 16:50:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36

Follow-up Comment #1, bug #60399 (project make):

I agree that this behavior does not seem right.

First, the output of --trace is misleading.  Using -d is slightly more
understandable.

I think that the way it's implemented is that a prerequisite of any element of
a group is considered to be a prerequisite of the entire group.  So by saying
that b depends on FORCE, that also implies that a depends on FORCE: they are
considered a group and can't really be managed separately.  It wasn't really
considered that the out-of-date computation of one element of the group might
make a different decision on whether to rebuild, if only that one element was
considered.

Oddly, it appears that .PHONY (and, probably other special targets like it)
apply to individual members of the group rather than the entire group like
regular prerequisites.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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