git: 33605894103b - stable/13 - Proactively remove libc++ __tuple header file that became a directory

From: Dimitry Andric <>
Date: Sun, 07 Jan 2024 23:08:33 UTC
The branch stable/13 has been updated by dim:


commit 33605894103bd4de4b90790ef40d13595ccab0af
Author:     Dimitry Andric <>
AuthorDate: 2023-12-13 18:53:17 +0000
Commit:     Dimitry Andric <>
CommitDate: 2024-01-07 23:04:42 +0000

    Proactively remove libc++ __tuple header file that became a directory
    This was already handled in (see the 20230622 entry),
    but some people never run "make delete-old", or want to upgrade directly
    from a revision that still had libc++ 15 to the most recent revision.
    They would then encounter a failure during installworld, similar to:
      install: target directory `/usr/include/c++/v1/__tuple/' does not exist
    Therefore, clean it up in the distrib-cleanup phase, similar to the
    earlier instance of the libc++ __string header file that became a
    PR:             273753
    MFC after:      1 month
    (cherry picked from commit ca217224f17229570f40227893353ca10ae1dda1)
 etc/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/Makefile b/etc/Makefile
index 0959fda6a958..9b4b7c93d10a 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -124,6 +124,7 @@ MTREES+=	../${mtree}			/
 # Clean up files that have changed into directories, as mtree cannot handle this
 # scenario.
 distrib-cleanup: .PHONY
 	for file in ${DISTRIB_CLEANUP_FILES}; do \
 		if [ -f ${DESTDIR}/$${file} ]; then \