Summary: | dev-lang/rust-1.71.1-r101 fails to build (configure phase) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Filo <gentoo_bugs> |
Component: | Current packages | Assignee: | Randy Barlow <randy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo_bugs, matoro_gentoo, navi, rust, zhixu.liu |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40594 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Filo
2025-02-15 10:27:52 UTC
This might be related to bug 767700. Quick summary: rust and clang (et al) builds break when llvm targets change. The least evil way of avoiding the breakage, at least for now, is to force all targets on in package.use.force: > # Micha�~B Górny <mgorny@gentoo.org> (2021-11-04) > # Enable all LLVM targets unconditionally. Unfortunately, disabling > # targets tend to break reverse dependencies (e.g. Rust) and we are yet > # to find a clean way of resolving that. Compared to the damage > # potential, the increase of build time is a minor problem. Users who > # really insist of building a smaller system can un-force the flags > # at their own responsibility. See bug #767700. Try rebuilding lld and maybe the failure will go away. I don't have llvm-core/lld installed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8e2b548c258e60463b1df0224beda29c7aacec commit ff8e2b548c258e60463b1df0224beda29c7aacec Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2025-02-16 12:10:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-16 12:28:41 +0000 dev-lang/rust: experimental target must be available first current experimental targets are defined from v1.73 only, so the final experimental target list should be the intersection of ALL_LLVM_EXPERIMENTAL_TARGETS in ALL_LLVM_TARGETS. Fixes: 94e2375d8bbaa777c83a3bffd60355075ee6ff83 Fixes: 3d841904ebfe01e74cb01eae6456b30f6aeca7e8 Closes: https://bugs.gentoo.org/949795 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40594 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust/rust-1.71.1-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.74.1-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.75.0-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.76.0-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.77.1-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.78.0-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.79.0-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.80.1-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.81.0-r101.ebuild | 9 ++++++++- dev-lang/rust/rust-1.82.0-r102.ebuild | 9 ++++++++- dev-lang/rust/rust-1.83.0-r2.ebuild | 9 ++++++++- dev-lang/rust/rust-1.84.0-r1.ebuild | 9 ++++++++- dev-lang/rust/rust-1.84.1-r1.ebuild | 9 ++++++++- 13 files changed, 104 insertions(+), 13 deletions(-) I can confirm that its fixed |