Search Criteria
Package Details: amdgpu_top 0.10.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/amdgpu_top.git (read-only, click to copy) |
---|---|
Package Base: | amdgpu_top |
Description: | Tool that shows AMD GPU utilization |
Upstream URL: | https://github.com/Umio-Yasuno/amdgpu_top |
Licenses: | MIT |
Submitter: | Teddy-Kun |
Maintainer: | Teddy-Kun |
Last Packager: | Teddy-Kun |
Votes: | 28 |
Popularity: | 0.42 |
First Submitted: | 2023-04-09 17:18 (UTC) |
Last Updated: | 2024-12-14 11:50 (UTC) |
Dependencies (3)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- libdrm (libdrm-gitAUR)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rust, rustup) (make)
Required by (1)
- system-monitoring-center (optional)
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
jahway603 commented on 2023-12-02 20:55 (UTC)
keep getting this strange error, even though I have required rustc version installed
Hanabishi commented on 2023-06-30 13:02 (UTC)
Thank you.
Hanabishi commented on 2023-06-30 10:40 (UTC) (edited on 2023-06-30 10:41 (UTC) by Hanabishi)
Please, stop messing with the package and keep it according to packaging guidelines. It works totally fine that way.
Problems with non-default flags (
target-cpu=native
etc) is not a package area of responsibility. Users overriding the defaults are doing it on their own risk.FabioLolix commented on 2023-06-29 16:50 (UTC)
According to guidelines
export RUSTUP_TOOLCHAIN=stable
should also inbuild()
, while here is only inprepare()
https://wiki.archlinux.org/title/Rust_package_guidelines#Buildbtw a license like
MIT
which isn't part of thelicenses
package need to be installed in"${pkgdir}/usr/share/licenses/${pkgname}"
@HuaHuaY if you don't want to switch toolchain you can also build using
devtools
(usingextra-x86_64-build
for convenience)ArchLinuxARM have dropped
arm
andarmv6h
HuaHuaY commented on 2023-06-29 16:41 (UTC) (edited on 2023-06-29 16:41 (UTC) by HuaHuaY)
I compile amdgpu_top and meet this error:
https://github.com/rust-lang/rust/issues/113152
.I found that pkgbuild has installed a stable toolchain. But it use
cargo
directly and there is a default nightly toolchain in my computer. So it use nightly channel to compile and then fail due to this error. I think pkgbuild can create arust-toolchain.toml
if you don't want to add this in the github repo. Addecho -e "[toolchain]\nchannel = \"stable-$CARCH-unknown-linux-gnu\"" > rust-toolchain.toml
in the build section aftercd
command. Then the required toolchain and the used toolchain are definitely the same.Teddy-Kun commented on 2023-06-29 13:04 (UTC) (edited on 2023-07-14 08:28 (UTC) by Teddy-Kun)
On the latest version (0.1.10) this package fails to compile when using
RUSTFLAGS="-C opt-level=3 -C target-cpu=znver3"
(ortarget-cpu=native
on a Ryzen 5000 CPU). This is an issue in the upstream project/rust compiler and has been reported. UPDATE: The issue is fixed with rustc 1.71Hanabishi commented on 2023-05-21 13:15 (UTC) (edited on 2023-05-21 13:16 (UTC) by Hanabishi)
This is a different error though. Seems like there are problems with your crates index.
First of all, try to remove all caches and make a clean build. Also try to build manually using
makepkg -siC
, without AUR helper.blackcatgames commented on 2023-05-21 13:01 (UTC)
@Hanabishi I tried this but I still get an error
error: failed to get
anyhow
as a dependency of packagelibamdgpu_top v0.1.7 (/home/nora/.cache/paru/clone/amdgpu_top/src/amdgpu_top-0.1.8/crates/libamdgpu_top)
Caused by: failed to query replaced source registry
crates-io
Caused by: attempting to make an HTTP request, but --frozen was specified ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'amdgpu_top-0.1.8-1': error: packages failed to build: amdgpu_top-0.1.8-1
Hanabishi commented on 2023-05-16 09:39 (UTC) (edited on 2023-05-16 09:43 (UTC) by Hanabishi)
The package builds totally fine. Nothing was removed from upstream or crates.io.
This is a local problem of some kind.
Fast search gave me the following:
Teddy-Kun commented on 2023-05-16 06:34 (UTC)
@blackcatgames seems like the version of a library used by amdgpu_top no longer exists on crates.io or it was renamed. I am currently on holiday without a PC, so I can't fix the package. To fix this you could try
amdgpu_top-git
but it most likely will have the same issue or modify thePKGBUILD
by removing--locked
and--frozen
from theprepare()
andbuild()
functions respectively.« First ‹ Previous 1 2 3 Next › Last »