Dep graph calculation with LLVM_SLOT setting mismatch between <all rust versions> and chromium did not adequately check the llvm toolchain stack so build was attempted rather than either pulling additional packages or reporting incompatible settings. Reproducible: Always Steps to Reproduce: see additional info Actual Results: Error was: ld.lld: error: obj/third_party/protobuf/protoc_java/enum_field.o: Invalid attribute group entry (Producer: 'LLVM19.1.3' Reader: 'LLVM 18.1.8') x86_64-pc-linux-gnu-clang++-19: error: linker command failed with exit code 1 (use -v to see invocation) Ebuild does inherit the rust eclass: inherit check-reqs chromium-2 desktop flag-o-matic llvm-r1 multiprocessing ninja-utils pax-utils inherit python-any-r1 qmake-utils readme.gentoo-r1 rust systemd toolchain-funcs virtualx xdg-utils LLVM_SLOT is not set global chromium was set: -llvm_slot_17 llvm_slot_18 installed rust versions was/are set: dev-lang/rust-1.82.0-r100 llvm_slot_19 dev-lang/rust-bin-1.82.0-r100 llvm_slot_19 dev-lang/rust-bin-1.81.0-r100 llvm_slot_18 Setting chromium -llvm_slot_17 -llvm_slot_18 llvm_slot_19 has got past previous failure point but pulled 2 additional packages for llvm 19 toolchain: sys-devel/lld-19.1.3 sys-devel/lld-toolchain-symlinks-19
Created attachment 908689 [details] build log reporting the error
Created attachment 908690 [details] emerge--info output I removed lld-19.1.3 from emerge --info since it reports lld versions and that one was not installed when the build failure happened
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c230ea6b261ac220942c5cfc0e8ca7a786c2548f commit c230ea6b261ac220942c5cfc0e8ca7a786c2548f Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-15 02:35:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-15 02:36:20 +0000 www-client/chromium: set RUST_NEEDS_LLVM This was set in 129, 130 but not 131 or 132. Closes: https://bugs.gentoo.org/943495 Signed-off-by: Sam James <sam@gentoo.org> www-client/chromium/chromium-131.0.6778.33.ebuild | 1 + www-client/chromium/chromium-132.0.6821.2.ebuild | 1 + 2 files changed, 2 insertions(+)