summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Alberto Lopez Perez <clopez@igalia.com>2026-05-28 11:13:07 +0100
committerKhem Raj <raj.khem@gmail.com>2026-06-03 10:45:07 +0200
commit407541071937acb1f7135a6c890ba4e56554d839 (patch)
treeed43d0b2332869ba39dae19299f16938250b0f7d
parentf26bab34e6c208149fe1ad04521864b663489f4d (diff)
downloadmeta-clang-scarthgap-clang20.tar.gz
compiler-rt-sanitizers: fix directory name on do_install when removing liborc_rtscarthgap-clang20
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 <clopez@igalia.com>
-rw-r--r--recipes-devtools/clang/compiler-rt-sanitizers_git.bb2
1 files changed, 1 insertions, 1 deletions
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 () {
89 mv ${D}${libdir}/linux ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib 89 mv ${D}${libdir}/linux ${D}${libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib
90 fi 90 fi
91 # Already shipped with compile-rt Orc support 91 # Already shipped with compile-rt Orc support
92 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/lib/linux/liborc_rt-*.a 92 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}/lib/linux/liborc_rt-*.a
93 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/include/orc/ 93 rm -rf ${D}${nonarch_libdir}/clang/${MAJOR_VER}/include/orc/
94} 94}
95 95