[Bug 269423] "Directory not empty" during make delete-old with unremoved old files

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Feb 2023 00:03:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269423

            Bug ID: 269423
           Summary: "Directory not empty" during make delete-old with
                    unremoved old files
           Product: Base System
           Version: Unspecified
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org

CURRENT on powerpc64 after LLVM 15 upgrade (I suspect powerpc64le will be
similar):
>>> Removing old directories
/usr/lib/clang/14.0.5/share
rmdir: /usr/lib/clang/14.0.5/lib/freebsd: Directory not empty
rmdir: /usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd: Directory not empty
rmdir: /usr/lib/clang/14.0.5/lib: Directory not empty
rmdir: /usr/lib/debug/usr/lib/clang/14.0.5/lib: Directory not empty
/usr/lib/clang/14.0.5/include/xray
/usr/lib/clang/14.0.5/include/sanitizer
/usr/lib/clang/14.0.5/include/profile
/usr/lib/clang/14.0.5/include/ppc_wrappers
/usr/lib/clang/14.0.5/include/openmp_wrappers
/usr/lib/clang/14.0.5/include/fuzzer
/usr/lib/clang/14.0.5/include/cuda_wrappers
/usr/lib/clang/14.0.5/include
rmdir: /usr/lib/clang/14.0.5: Directory not empty
rmdir: /usr/lib/debug/usr/lib/clang/14.0.5: Directory not empty


root@talos-powerpc64:/usr/src # find /usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.tsan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_static-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.stats_client-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_minimal-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_standalone_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_standalone-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.stats-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.so
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.msan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.tsan-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-preinit-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.msan-powerpc64.a
root@talos-powerpc64:/usr/src # find
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.so.debug
root@talos-powerpc64:/usr/src # find /usr/lib/clang/14.0.5/lib
/usr/lib/clang/14.0.5/lib
/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.tsan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_static-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.stats_client-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_minimal-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_standalone_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_standalone-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.stats-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.so
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.msan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.tsan-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-preinit-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.msan-powerpc64.a
root@talos-powerpc64:/usr/src # find /usr/lib/debug/usr/lib/clang/14.0.5/lib
/usr/lib/debug/usr/lib/clang/14.0.5/lib
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.so.debug
root@talos-powerpc64:/usr/src # find /usr/lib/clang/14.0.5
/usr/lib/clang/14.0.5
/usr/lib/clang/14.0.5/lib
/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.tsan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_static-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.stats_client-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_minimal-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_standalone_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.ubsan_standalone-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.stats-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.so
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.msan_cxx-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.tsan-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-preinit-powerpc64.a
/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.msan-powerpc64.a
root@talos-powerpc64:/usr/src # find /usr/lib/debug/usr/lib/clang/14.0.5
/usr/lib/debug/usr/lib/clang/14.0.5
/usr/lib/debug/usr/lib/clang/14.0.5/lib
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd
/usr/lib/debug/usr/lib/clang/14.0.5/lib/freebsd/libclang_rt.asan-powerpc64.so.debug

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