[Bug 289997] `make delete-old` throws duplicate script warnings

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Oct 2025 17:52:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289997

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ab492c08fc3cbf4fb5d569663c0751bc2a41cb1f

commit ab492c08fc3cbf4fb5d569663c0751bc2a41cb1f
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-10-06 17:50:22 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-10-06 17:51:29 +0000

    build: don't create duplicate bootstrap-tools targets

    The general problem is that we might have a somewhat complicated
    dependency tree depending on bootstrap version requirements.  We could
    document when multiple bootstrap tools might have a shared dependency
    and be careful to add them only once to the list, but that is a little
    more fragile- particularly if we purge some bootstrap tools and need to
    re-work the logic a little bit.

    Just avoid redefining the build commands as we're iterating over the
    list so that we can keep the actual requirements intact.

    PR:             289997
    Reported by:    dhw, others
    Reviewed by:    imp
    Fixes:  151bd3516b5 ("flua: support our flua modules in [...]")
    Differential Revision:  https://reviews.freebsd.org/D52904

 Makefile.inc1 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.