Setting CARGO_TARGET_DIR=target is just reset everything back to default value. Anyway, we are already modified CARGO_HOME.
Search Criteria
Package Details: rog-control-center 6.0.12-0.1
Package Actions
Git Clone URL: | https://aur.archlinux.org/asusctl.git (read-only, click to copy) |
---|---|
Package Base: | asusctl |
Description: | App to control asusctl |
Upstream URL: | https://asus-linux.org |
Keywords: | anime asus matrix rog |
Licenses: | MPL-2.0 |
Submitter: | fabiscafe |
Maintainer: | fabiscafe |
Last Packager: | fabiscafe |
Votes: | 17 |
Popularity: | 0.76 |
First Submitted: | 2021-09-18 11:01 (UTC) |
Last Updated: | 2024-08-31 21:34 (UTC) |
Dependencies (21)
- asusctlAUR (asusctl-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libayatana-appindicator
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR) (make)
- libayatana-appindicator (make)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR) (make)
- libusb (libusb-gitAUR) (make)
- rust (rust-nightlyAUR, rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup) (make)
- seatd (seatd-gitAUR) (make)
- Show 1 more dependencies...
Required by (1)
- asusctl (optional)
Sources (1)
ngoquang2708 commented on 2024-03-12 15:49 (UTC)
fabiscafe commented on 2024-03-12 15:12 (UTC)
@ngoquang2708 Would you report this upstream? I don't want to workaround an upstream issue caused by a user setting. Because the supported scope of this PKGBUILD is to be build in a clean build environment. 😟
ngoquang2708 commented on 2024-03-12 14:32 (UTC)
In system with global target directory set, build process will fail because asusctl Makefile expected that target is in the asusctl folder. Apply this patch fix the issue.
diff --git a/PKGBUILD b/PKGBUILD
index 487354c..34a7148 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,7 @@ build() {
# Keep rust/cargo build-dependency management inside the build directory
export CARGO_HOME="${srcdir}/cargo"
+ export CARGO_TARGET_DIR=target
make build
# gnome-shell extension
bemxio commented on 2024-03-11 16:56 (UTC)
@fabiscafe Got the terminology wrong, but you got what I meant :^) And yeah, after setting up a swap file it still makes my machine unresponsive for a while, but it builds successfully. Thanks!
fabiscafe commented on 2024-03-11 07:33 (UTC)
@bemxio AUR contains PKGBUILDs, not packages. This PKGBUILD builds 3 packages: asusctl, rog-control-center, gnome-shell-extension-asusctl-gnome.
Some of them will require a high amount of system memory (>16GiB) I have an optional swapfile of 30GiB that I swapon to build it, because I'm also pretty limited when it comes to system memory (8GiB).
@redsolja Please try in a clean build environment
bemxio commented on 2024-03-05 11:56 (UTC)
The package makes my system halt when building rog-control-center
. Why is it built anyway, since rog-control-center
is a seperate package? Is there a way to disable building it?
redsolja commented on 2024-03-05 07:39 (UTC)
Fails to build:
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0706]: functions in traits cannot be declared `async`
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
error[E0282]: type annotations needed
error[E0282]: type annotations needed
Some errors have detailed explanations: E0282, E0562, E0706.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `asusd` (lib) due to 21 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:141: build] Error 101
==> ERROR: A failure occurred in build().
Aborting...
ngoquang2708 commented on 2023-12-26 10:49 (UTC) (edited on 2023-12-26 10:49 (UTC) by ngoquang2708)
Build fail if target-dir = "..."
is set in ~/.cargo/config.toml
ModYokosuka commented on 2023-09-03 19:02 (UTC)
Just a heads up to. A few merges were added to the latest release to correct issues with the upstream build system. No action needed
Debug builds were impossible because of an error in the upstream makefile. https://gitlab.com/asus-linux/asusctl/-/commit/15732ecd82b2ab4b79cc5fd64eeb310826ce3a83
Symbol stripping was being forced by the upstream makefile. https://gitlab.com/asus-linux/asusctl/-/commit/b105ff5180b189f718f110a8614218958bafeda6
Pinned Comments
fabiscafe commented on 2023-06-13 21:53 (UTC) (edited on 2024-05-11 23:43 (UTC) by fabiscafe)
Official Setup Guide
https://asus-linux.org/guides/arch-guide/
Merge/Pull Requests / Bugreports
https://gitlab.archlinux.org/fabiscafe/asusctl_aur
Known Issues