make -C /usr/src BATCH_DELETE_OLD_FILES=YES delete-old make[1]: /usr/src/Makefile.inc1:2867: warning: duplicate script for target "_bootstrap-tools-lib/libmd" ignored make[1]: /usr/src/Makefile.inc1:2867: warning: using previous script for "_bootstrap-tools-lib/libmd" defined here >>> Removing old files (only deletes safe to delete libs) make[2]: /usr/src/Makefile.inc1:2867: warning: duplicate script for target "_bootstrap-tools-lib/libmd" ignored make[2]: /usr/src/Makefile.inc1:2867: warning: using previous script for "_bootstrap-tools-lib/libmd" defined here make[3]: /usr/src/Makefile.inc1:2867: warning: duplicate script for target "_bootstrap-tools-lib/libmd" ignored make[3]: /usr/src/Makefile.inc1:2867: warning: using previous script for "_bootstrap-tools-lib/libmd" defined here /usr/libexec/kgdb/acttrace.py >>> Old files removed >>> Removing old directories make[2]: /usr/src/Makefile.inc1:2867: warning: duplicate script for target "_bootstrap-tools-lib/libmd" ignored make[2]: /usr/src/Makefile.inc1:2867: warning: using previous script for "_bootstrap-tools-lib/libmd" defined here make[3]: /usr/src/Makefile.inc1:2867: warning: duplicate script for target "_bootstrap-tools-lib/libmd" ignored make[3]: /usr/src/Makefile.inc1:2867: warning: using previous script for "_bootstrap-tools-lib/libmd" defined here /usr/libexec/kgdb >>> Old directories removed To remove old libraries run 'make delete-old-libs'. # uname -aKU FreeBSD freebsd 16.0-CURRENT FreeBSD 16.0-CURRENT #0 main-n280899-02dfca245808: Sat Oct 4 08:51:42 PDT 2025 root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1600001 1600001
https://reviews.freebsd.org/D52904
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(-)
Should be good now- thanks for the report.