[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63484] make 4.4 incorrectly thinks target does not exist
From: |
Dmitry Goncharov |
Subject: |
[bug #63484] make 4.4 incorrectly thinks target does not exist |
Date: |
Fri, 9 Dec 2022 12:29:57 -0500 (EST) |
Follow-up Comment #1, bug #63484 (project make):
Thanks for your report.
> test.x exists but make 4.4 says it doesn't
This is an old issue, that keeps causing questions. I think, we should open a
dedicated bug report about this.
> test.foo is older than test.x therefore test.x does not need to be updated
This is indeed a regression.
The fix for sv 60435 introduced a piece of code in implicit.c.
Specifically,
++++
+ if (f && !f->is_explicit && !d->is_explicit)
+ f->intermediate = 1;
----
Same fix also introduced code in file.c and read.c to set file->is_explicit
for all explicitly mentioned prerequisites and targets.
to prevent explicitly mentioned files from being treated as intermediate.
In this example test.foo is not a prerequisite and not a target.
This patch in the attachment marks all makefiles as explicit.
(file #54077, file #54078)
_______________________________________________________
Additional Item Attachment:
File name: sv63484_fix.diff Size:0 KB
<https://file.savannah.gnu.org/file/sv63484_fix.diff?file_id=54077>
File name: sv63484_test.diff Size:1 KB
<https://file.savannah.gnu.org/file/sv63484_test.diff?file_id=54078>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63484>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/