Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933382 - dev-lang/rust-1.78.0 - One or more CMake variables were not used by the project:
Summary: dev-lang/rust-1.78.0 - One or more CMake variables were not used by the project:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Randy Barlow
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-06-01 21:30 UTC by Toralf Förster
Modified: 2024-07-04 01:15 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.08 KB, text/plain)
2024-06-01 21:30 UTC, Toralf Förster
Details
dev-lang:rust-1.78.0:20240601-180630.log.xz (dev-lang:rust-1.78.0:20240601-180630.log.xz,967.34 KB, application/x-xz)
2024-06-01 21:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,74.16 KB, text/plain)
2024-06-01 21:30 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-06-01 21:30 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.16 KB, application/x-xz)
2024-06-01 21:30 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,158.96 KB, text/plain)
2024-06-01 21:30 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-01 21:30:27 UTC
 * QA Notice: One or more CMake variables were not used by the project:
 *   CMAKE_ASM_COMPILER
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib/rust/1.78.0/bin/rustc
   /usr/lib/rust/1.78.0/bin/rustc-1.78.0
   /usr/lib/rust/1.78.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-213aa287dff40088.so
   /usr/lib/rust/1.78.0/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-637b19b5b479f581.so
   /usr/lib/rust/1.78.0/bin/rustdoc

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd_abi32+64-20240530-142511

  The build log matches a QA pattern or sth. requested by a dev.
  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2024-06-01 21:30:28 UTC
Created attachment 894888 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-01 21:30:32 UTC
Created attachment 894889 [details]
dev-lang:rust-1.78.0:20240601-180630.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-06-01 21:30:33 UTC
Created attachment 894890 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-06-01 21:30:34 UTC
Created attachment 894891 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-01 21:30:35 UTC
Created attachment 894892 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-01 21:30:36 UTC
Created attachment 894893 [details]
qlist-info.txt
Comment 7 matoro archtester 2024-06-06 22:58:32 UTC
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?
Comment 8 Larry the Git Cow gentoo-dev 2024-07-04 01:15:22 UTC
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(+)