From 407541071937acb1f7135a6c890ba4e56554d839 Mon Sep 17 00:00:00 2001 From: Carlos Alberto Lopez Perez Date: Thu, 28 May 2026 11:13:07 +0100 Subject: compiler-rt-sanitizers: fix directory name on do_install when removing liborc_rt on do_install() the directory containing the .a files is renamed from ${MAJOR_VER} to ${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} but the rm command below fails to account for that rename and tries to delete the file on a non-existing directory after the rename. This causes later a conflict when creating the rootfs or populating the SDK: - do_populate_sdk failed with exit code '1' Error: Transaction test error: file /usr/lib/clang/20.1.1/lib/linux/liborc_rt-aarch64.a from install of compiler-rt-sanitizers-staticdev-20.1.1-r0.cortexa72 conflicts with file from package compiler-rt-staticdev-20.1.1-r0.cortexa72 Signed-off-by: Carlos Alberto Lopez Perez --- recipes-devtools/clang/compiler-rt-sanitizers_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb index bdd7fea..7005240 100644 --- a/recipes-devtools/clang/compiler-rt-sanitizers_git.bb +++ b/recipes-devtools/clang/compiler-rt-sanitizers_git.bb @@ -89,7 +89,7 @@ do_install:append () { mv ${D}${libdir}/linux ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib fi # Already shipped with compile-rt Orc support - rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/liborc_rt-*.a + rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/liborc_rt-*.a rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/include/orc/ } -- cgit v1.2.3-54-g00ecf