Ahoj,
a few issues:
- For a
clang
compiled kernel, this currently fails withclang: error: unsupported option '-mhard-float' for target 'x86_64-linux-gnu'
anderror: error: unknown warning option '-Wno-stringop-overread'
. (See ↗ upstream issue report).
For now, a possible fix is to apply ↗ this patch. - You need to add
rtl88xxau-aircrack-dkms
to theprovides
andconflicts
arrays. - Consider adding also the other specific modules this provides to the
provides
array.
Here is a diff
of your PKGBUILD
and a modification that includes above fixes:
--- PKGBUILD.org 2024-11-14 13:29:52.193360125 +0100
+++ PKGBUILD 2024-11-14 14:03:19.680046081 +0100
@@ -11,3 +11,3 @@
license=(GPL-2.0-only)
-arch=(x86_64)
+arch=(x86_64 'i686')
makedepends=(git)
@@ -15,2 +15,3 @@
conflicts=(
+ "rtl88xxau-aircrack-dkms"
rtl8812au-aircrack-dkms-git
@@ -21,2 +22,10 @@
)
+provides=(
+ "rtl88xxau-aircrack-dkms=${pkgver}"
+ "rtl88xxau-dkms=${pkgver}"
+ "rtl8812au-dkms=${pkgver}"
+ "rtl8812au-inject-dkms=${pkgver}"
+ "rtl8814au-dkms=${pkgver}"
+ "rtl8821au-dkms=${pkgver}"
+)
@@ -24,2 +33,3 @@
rtl88xxau::git+https://github.com/aircrack-ng/rtl8812au.git#branch=v5.6.4.2
+ "fix_clang_build.patch::https://github.com/user-attachments/files/17748908/fix_clang_build.patch.txt"
dkms.conf
@@ -29,2 +39,3 @@
'SKIP'
+ '1e30dd1d770425212464561129fa1eafa103d1a9da9fe5e44e19d738054885c0'
'1ac36b3713d6b719b8c5f820653bbe30ead8323165d52e6ad95d56da627fde88'
@@ -32,2 +43,11 @@
+prepare() {
+ cd $_name
+
+ for _patch in "fix_clang_build.patch"; do
+ plain "Applying patch '${_patch}'"
+ patch -Np1 --follow-symlinks -i "${srcdir}/${_patch}"
+ done
+}
+
pkgver() {
Regards and thanks for the package!
Pinned Comments
iyanmv commented on 2020-01-10 16:02 (UTC)
This package now forces to use the branch
v5.6.4.2
(the one that works better for me), which is the default one in the remote repository although they still mention branchv5.3.4
as the stable one. If you have any issues, please leave a comment, and also tried to change the branch in the source array. For example, change it to:Read the README.me to learn how to set your interface in monitor mode (and other things).
Important: Use
ip
andiw
instead ofifconfig
andiwconfig