[Bug 1207928] New: [Staging] Mesa:drivers fails to build against Rust 1.67
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928 Bug ID: 1207928 Summary: [Staging] Mesa:drivers fails to build against Rust 1.67 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: dimstar@opensuse.org QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- Rust 1.67 has been submitted for inclusion and as new default https://build.opensuse.org/request/show/1062360 Mesa:drivers seems to be the only ring package that fails to build against this update (only considering the rings of course) Lin to failed build log: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:L... [ 938s] [2373/2465] rustc -C linker=cc --color=always --crate-type rlib --edition=2021 -C relocation-model=pic --crate-name mesa_rust_gen --emit dep-info=src/gallium/frontends/rusticl/mesa_rust_gen.d --emit link -Aclippy::all -Anon_snake_case -Anon_camel_case_types -Anon_upper_case_globals -o src/gallium/frontends/rusticl/libmesa_rust_gen.rlib -l static=gallium -l static=libclc -l dylib=drm -l dylib=LLVM -l dylib=m -l dylib=z -l dylib=clang-cpp -l dylib=LLVM -l dylib=LLVMSPIRVLib -l dylib=z -l dylib=m -l dylib=SPIRV-Tools-opt -l dylib=SPIRV-Tools -l dylib=SPIRV-Tools-link -L src/gallium/auxiliary -L src/compiler/clc -L /usr/lib64 src/gallium/frontends/rusticl/rusticl_mesa_bindings.rs [ 938s] FAILED: src/gallium/frontends/rusticl/libmesa_rust_gen.rlib [ 938s] rustc -C linker=cc --color=always --crate-type rlib --edition=2021 -C relocation-model=pic --crate-name mesa_rust_gen --emit dep-info=src/gallium/frontends/rusticl/mesa_rust_gen.d --emit link -Aclippy::all -Anon_snake_case -Anon_camel_case_types -Anon_upper_case_globals -o src/gallium/frontends/rusticl/libmesa_rust_gen.rlib -l static=gallium -l static=libclc -l dylib=drm -l dylib=LLVM -l dylib=m -l dylib=z -l dylib=clang-cpp -l dylib=LLVM -l dylib=LLVMSPIRVLib -l dylib=z -l dylib=m -l dylib=SPIRV-Tools-opt -l dylib=SPIRV-Tools -l dylib=SPIRV-Tools-link -L src/gallium/auxiliary -L src/compiler/clc -L /usr/lib64 src/gallium/frontends/rusticl/rusticl_mesa_bindings.rs [ 938s] error: failed to add native library src/gallium/auxiliary/libgallium.a: Unsupported archive identifier -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c1
--- Comment #1 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c2
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c3
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c4
--- Comment #4 from Dominique Leuenberger
Hmm. How am I supposed to reproduce that issue? I was trying by running
osc build -M drivers --alternative-project openSUSE:Factory:Staging:G standard
It's in Staging:L - not :G
After this succeeded I noticed that there is still rust 1.66 installed in the buildsystem.
According to comment#1 this seems more likely to be a rust regression which I don't think we should just work around by picking Rust 1.66 to avoid it. It should be fixed in Rust -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c5
--- Comment #5 from Stefan Dirsch
It's in Staging:L - not :G
Ok. I didnt't read the comments in SR to the end. :-(
According to comment#1 this seems more likely to be a rust regression which I don't think we should just work around by picking Rust 1.66 to avoid it. It should be fixed in Rust
Well, I still don't understand when this issue was really fixed. According to
git with
# git show 252741673b9c2b06267cd3a036d77489e92f963a
commit 252741673b9c2b06267cd3a036d77489e92f963a
Merge: 6cd6bad51fb de363d54c40
Author: bors
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c6
--- Comment #6 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c7
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928
http://bugzilla.opensuse.org/show_bug.cgi?id=1207928#c8
--- Comment #8 from William Brown
participants (1)
-
bugzilla_noreply@suse.com