Summary: | media-libs/mesa-24.3.4-r1[opencl] fails to build with dev-lang/rust[nightly]: error: invalid value '1.84.1-nightly' for '--rust-target <RUST_TARGET>': "1.84.1-nightly" is not a valid Rust target | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Enne Eziarc <gentoo+bugs> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | eschwartz, kangie, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/mesonbuild/meson/pull/14030 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mesa build.log (8.8MB unzipped) |
Description
Enne Eziarc
2025-02-10 23:58:42 UTC
Thanks. The plan is to rejig nightly handling which may fix this. It does not fix this, unfortunately: -beta and -nightly suffixes break Mesa builds; we'll need to fix this and report upstream. This comes from bindgen by way of Meson: Bindgen changed the output format for `--rust-target` validation failures in 0.71.0. https://github.com/rust-lang/rust-bindgen/commit/7c569c99e4b63656d1308610913f4bed8a817ef6 This commit to Meson added support for both passing `--rust-target` and detecting invalid `--rust-target` output from bindgen: https://github.com/mesonbuild/meson/commit/79fc8941c5d3855ebd76aad90550081e455cc50f#diff-55ee56c477a470861b6146d1ed5003360dac2ec8cd7b9c66b14aaab5714a5078 CC Eli in case I don't get around to fixing this. I guess we can start adding additional filter checks. It would be nice if bindgen had a way to say what versions it does indeed support, but AFAIK that doesn't exist. Dunno what a reliable answer here is. This feels very Rust/5.0 (Glibc; Linux x86_64; rv:135.0) rustc/20100101 Rustup/1.84.1 |