Package Base Details: asusctl

Git Clone URL: https://aur.archlinux.org/asusctl.git (read-only, click to copy)
Keywords: anime asus matrix rog
Submitter: fabiscafe
Maintainer: fabiscafe
Last Packager: fabiscafe
Votes: 15
Popularity: 1.73
First Submitted: 2021-09-18 11:01 (UTC)
Last Updated: 2024-04-01 20:52 (UTC)

Pinned Comments

fabiscafe commented on 2023-06-13 21:53 (UTC)

Merge/Pull Requests / Bugreports

https://gitlab.archlinux.org/fabiscafe/asusctl_aur

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

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

fabiscafe commented on 2023-07-02 15:44 (UTC) (edited on 2023-07-02 15:45 (UTC) by fabiscafe)

@Sharky009 on top of what @OctopusET already have pointed out please be aware that Manjaro is not supported here. Not by the AUR and not in any way by me.

This PKGBUILD is tested that it builds in a clean Arch Linux chroot and that it runs on a base Arch Linux system. Everything else is unsupported.

OctopusET commented on 2023-07-02 12:56 (UTC) (edited on 2023-07-02 12:57 (UTC) by OctopusET)

@Sharky009 Those packages are included in 'base-devel' package. You are required to install the base-devel package to use AUR. Check this wiki https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started

So, all AUR packages don't need to add those packages as dependencies.