Summary: | dev-lang/rust-1.78.0 - One or more CMake variables were not used by the project: | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Randy Barlow <randy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matoro_gentoo, navi, rust |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/37405 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-lang:rust-1.78.0:20240601-180630.log.xz emerge-history.txt etc.clang.tar.xz etc.portage.tar.xz qlist-info.txt |
Description
Toralf Förster
![]() Created attachment 894888 [details]
emerge-info.txt
Created attachment 894889 [details]
dev-lang:rust-1.78.0:20240601-180630.log.xz
Created attachment 894890 [details]
emerge-history.txt
Created attachment 894891 [details]
etc.clang.tar.xz
Created attachment 894892 [details]
etc.portage.tar.xz
Created attachment 894893 [details]
qlist-info.txt
Hmm, this seems to be enforced in bundled LLVM since 1.47.0: https://github.com/rust-lang/rust/commit/8c40426051a667673cdac9975f84cb6acd4e245f Should we add a patch to revert this commit? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7542c63f99687fafeff4fb5c972ef93a84f77db2 commit 7542c63f99687fafeff4fb5c972ef93a84f77db2 Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2024-07-03 02:29:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-04 01:14:45 +0000 dev-lang/rust: add patch to disable setting CMAKE_ASM_COMPILER This is apparently not (or no longer) consumed by the bundled LLVM, which makes our QA complain. See: https://github.com/rust-lang/rust/commit/8c40426051a667673cdac9975f84cb6acd4e245f Closes: https://bugs.gentoo.org/933382 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/37405 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust/files/1.79.0-revert-8c40426.patch | 18 ++++++++++++++++++ dev-lang/rust/rust-1.79.0.ebuild | 1 + 2 files changed, 19 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20c4b60f9eaec9d0a951a00088da4d4d95b7652 commit c20c4b60f9eaec9d0a951a00088da4d4d95b7652 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2024-11-22 23:48:02 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-11-22 23:48:02 +0000 dev-lang/rust: Drop patch that stops setting CMAKE_ASM_COMPILER for bundled LLVM It is necessary to set CMAKE_ASM_COMPILER when cross-compiling, otherwise the ASM compiler gets detected with the wrong tuple. The patch was added because the build previously complained that CMAKE_ASM_COMPILER was unused, but that no longer seems to be the case, at least since 1.82. This was tested with a cross and a native build. Bug: https://bugs.gentoo.org/933382 Signed-off-by: James Le Cuirot <chewi@gentoo.org> dev-lang/rust/rust-1.82.0-r100.ebuild | 1 - 1 file changed, 1 deletion(-) |