Skip to content

Persistent build error about missing libclang_rt.builtins.a #974

@tronje

Description

@tronje

Hi, I'm getting the same error as in #947, and #962 does not fix it for me. I'm using the current master state of meta-browser. Here's the error again:

ERROR: chromium-x11-146.0.7680.177-r0 do_compile: Execution of '/workdir/build/tmp/work/corei7-64-poky-linux/chromium-x11/146.0.7680.177/temp/run.do_compile.1031968' failed with exit code 1
ERROR: Logfile of failure stored in: /workdir/build/tmp/work/corei7-64-poky-linux/chromium-x11/146.0.7680.177/temp/log.do_compile.1031968
Log data follows:
| DEBUG: Executing shell function do_compile
| ninja: error: '../../../../recipe-sysroot-native/usr/lib/clang/latest/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a', needed by 'yocto_native_for_rust_host_build_tools/obj/build/rust/allocator/liballoc_error_handler_impl.a', missing and no known rule to make it
| WARNING: /workdir/build/tmp/work/corei7-64-poky-linux/chromium-x11/146.0.7680.177/temp/run.do_compile.1031968:148 exit 1 from 'ninja -v -j 20 chrome chrome_sandbox chromedriver.unstripped'
| WARNING: Backtrace (BB generated script):
| 	#1: do_compile, /workdir/build/tmp/work/corei7-64-poky-linux/chromium-x11/146.0.7680.177/temp/run.do_compile.1031968, line 148
| 	#2: main, /workdir/build/tmp/work/corei7-64-poky-linux/chromium-x11/146.0.7680.177/temp/run.do_compile.1031968, line 152
ERROR: Task (/workdir/layers/openembedded-core/../meta-browser/meta-chromium/recipes-browser/chromium/chromium-x11_146.0.7680.177.bb:do_compile) failed with exit code '1'

Any help? I'm quite puzzled by this.

I've tried with various versions of the other common layers (meta-yocto, openembedded-core, meta-openembedded, etc.), including their latest master states. I've also tried with and without meta-clang. meta-clang generally puzzles me a bit, because it doesn't actually provide a recipe for clang anymore.

Thanks very much for all your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions