[bug #59490] target may not be remade if prerequisite has no recipe

2021-03-14 Thread Paul D. Smith
Update of bug #59490 (project make): Status:None => Not A Bug Open/Closed:Open => Closed ___ Reply to this item at:

[bug #59490] target may not be remade if prerequisite has no recipe

2020-12-02 Thread Greg Minshall
Follow-up Comment #5, bug #59490 (project make): thanks, both. i apologize for my posted question being incomplete! i'm very sympathetic to this: > However, your makefile is lying to make; it says that the > recipe for b1 builds just b1, but in fact it also builds c1 > "behind make's back". (as,

[bug #59490] target may not be remade if prerequisite has no recipe

2020-11-26 Thread Paul D. Smith
Follow-up Comment #4, bug #59490 (project make): I've checked other implementations of make that aim to be POSIX compatible and they also do not rebuild d1 in this situation. I can't find any text in POSIX that specifies how this should behave. Indeed, the POSIX spec is very limited in its discu

[bug #59490] target may not be remade if prerequisite has no recipe

2020-11-20 Thread Paul D. Smith
Follow-up Comment #3, bug #59490 (project make): Your attached makefile shows the issue you're trying to get at, but the example in your question is incomplete: it's missing the fact that (a) you run "make d1" and (b) the file "c1" must already exist before the makefile runs. If "c1" doesn't exis

[bug #59490] target may not be remade if prerequisite has no recipe

2020-11-20 Thread Dmitry Goncharov
Follow-up Comment #2, bug #59490 (project make): Greg, you observe the effect of make fs cache. In order to avoid this effect you need to tell make explicitly that c1 is to be rebuilt when b1 changes. e.g. b1: a1 touch b1 c1: b1 touch c1 d1: c1 touch d1

[bug #59490] target may not be remade if prerequisite has no recipe

2020-11-20 Thread Greg Minshall
Follow-up Comment #1, bug #59490 (project make): though maybe it's not so simple? e.g., if b is remade, but c doesn't change, then probably d shouldn't change. i guess my naive hope/expectation is that b will be remade, then c's date/time will be compared with that of d to decided if d should be

[bug #59490] target may not be remade if prerequisite has no recipe

2020-11-19 Thread Greg Minshall
URL: Summary: target may not be remade if prerequisite has no recipe Project: make Submitted by: minshall Submitted on: Fri 20 Nov 2020 06:52:47 AM UTC Severity: 3 - Normal