Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951640 - =sys-apps/amdgpu_top-0.10.4 needs Rust 2024, stabilized in >=dev-lang/rust{,bin}-1.85.0
Summary: =sys-apps/amdgpu_top-0.10.4 needs Rust 2024, stabilized in >=dev-lang/rust{,b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-20 01:22 UTC by Leandro Hoshiko
Modified: 2025-03-22 12:51 UTC (History)
3 users (show)

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


Attachments
Complete build log (build.log,3.56 KB, text/x-log)
2025-03-20 01:22 UTC, Leandro Hoshiko
Details
emerge --info (emerge-info-amdgpu_top.txt,6.37 KB, text/plain)
2025-03-20 01:23 UTC, Leandro Hoshiko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Hoshiko 2025-03-20 01:22:35 UTC
Created attachment 921320 [details]
Complete build log

The package =sys-apps/amdgpu_top-0.10.4 failed to build. Error mentions "feature `edition2024` is required".

According to the link in error message 
https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024
the Rust 2024 was stabilized in 1.85.

Since my system has rust-bin 1.84.1 installed, that is to be expected.

Upstream has updated Rust edition in commit 
https://github.com/Umio-Yasuno/amdgpu_top/commit/18629dd31188349016f7d7c22bf3e8c664ebc404

Perhaps the ebuild should require rust at version least 1.85.
Comment 1 Leandro Hoshiko 2025-03-20 01:23:21 UTC
Created attachment 921321 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-03-22 12:51:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a844c75ae4fe78a98832febb979f453342061f

commit a4a844c75ae4fe78a98832febb979f453342061f
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2025-03-22 12:51:06 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-03-22 12:51:34 +0000

    sys-apps/amdgpu_top: require rust >=1.85.0 to build
    
    Closes: https://bugs.gentoo.org/951640
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 sys-apps/amdgpu_top/amdgpu_top-0.10.4.ebuild | 1 +
 1 file changed, 1 insertion(+)