Bug 16381

Summary: AB-INT: clang: clang-tools-extra: File exists
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: devtools / tool chainAssignee: Sundeep Kokkonda <sundeep.kokkonda>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: unspecified   
Target Milestone: 6.1   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-07-30 07:53:12 UTC
Seen just once on my branch:

ERROR: clang-22.1.8-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work/x86-64-v3-poky-linux/clang/22.1.8/temp/run.do_configure.589055' failed with exit code 1
...
| DEBUG: Executing shell function do_configure
| ln: failed to create symbolic link '/srv/pokybuild/yocto-worker/qemux86-world-alt/build/build/tmp/work-shared/llvm-project-source-22.1.8-r0/sources/llvm-project-22.1.8.src/clang/tools/extra/clang-tools-extra': File exists
Comment 1 Mathieu Dubois-Briand 2026-07-30 07:58:53 UTC
qemux86-world-alt alma9-vk-2 mathieu/master-next completed at 2026-07-29 20:21:36+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/4101/steps/13/logs/stdio
Comment 2 Randy MacLeod 2026-07-30 14:48:11 UTC
Likely a makefile race?

See if that fixed upstream or obvious in the "makefile".
It has only happened once so not urgent.