bug-make
[Top][All Lists]
Advanced

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

[bug #63484] make 4.4 incorrectly thinks target does not exist


From: Patrick Oppenlander
Subject: [bug #63484] make 4.4 incorrectly thinks target does not exist
Date: Sun, 11 Dec 2022 17:40:33 -0500 (EST)

Follow-up Comment #2, bug #63484 (project make):




[comment #1 comment #1:]
> 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.
> 

Okay. Makes sense: https://savannah.gnu.org/bugs/index.php?63510.

> > 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.
>

I've tested the patch and can confirm that it resolves the issue, thanks.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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