Summary: | dev-lang/rust-1.74.1[-system-llvm] with LLVM_TARGETS="DirectX SPIRV" fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | i.Dark_Templar <idarktemplar> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | navi, randy, rust |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/38378 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log.bz2 |
Description
i.Dark_Templar
2024-01-09 23:25:10 UTC
Created attachment 881795 [details]
build.log.bz2
Full build log
diff --git a/dev-lang/rust/rust-1.74.1.ebuild b/dev-lang/rust/rust-1.74.1.ebuild index c623e2cd593d..ebcaaed05b29 100644 --- a/dev-lang/rust/rust-1.74.1.ebuild +++ b/dev-lang/rust/rust-1.74.1.ebuild @@ -358,7 +358,7 @@ src_configure() { assertions = $(toml_usex debug) ninja = true targets = "${LLVM_TARGETS// /;}" - experimental-targets = "" + experimental-targets = "all" link-shared = $(toml_usex system-llvm) $(if is_libcxx_linked; then # https://bugs.gentoo.org/732632 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d841904ebfe01e74cb01eae6456b30f6aeca7e8 commit 3d841904ebfe01e74cb01eae6456b30f6aeca7e8 Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2024-12-08 07:59:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-18 17:31:54 +0000 dev-lang/rust: set experimental-targets according to USE set experimental-targets to the intersection of USE and all experimental targets, otherwise it will fails to build with messages like: The target `......' is experimental and must be passed via LLVM_EXPERIMENTAL_TARGETS_TO_BUILD. Closes: https://bugs.gentoo.org/921683 Closes: https://bugs.gentoo.org/923066 Closes: https://bugs.gentoo.org/930921 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38378 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust/rust-1.71.1-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.74.1-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.75.0-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.76.0-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.77.1-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.78.0-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.79.0-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.80.1-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.81.0-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.82.0-r100.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.82.0-r101.ebuild | 12 +++++++++++- dev-lang/rust/rust-1.83.0-r1.ebuild | 12 +++++++++++- 12 files changed, 132 insertions(+), 12 deletions(-) |