You are not logged in.
Pages: 1
Topic closed
The Linux Zen headers packages from the official repositories does not provide linux headers so when trying to build a DKMS module makepkg wants me to install the vanilla headers and I don't even have that kernel installed.
Am I doing anything wrong or should I open a bug report?
Last edited by headkase (2018-10-28 03:07:51)
Offline
What dkms package depends on linux-headers? That is wrong. It should depend on dkms which in turn lists all the *-headers packages as optional dependencies.
EDIT: And I've yet to find a main repo -dkms package that depends on a specific kernel or headers.
Last edited by Trilby (2018-10-28 02:56:39)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Here is the package: https://aur.archlinux.org/packages/xpadneo-dkms-git
It's needed for wireless (Bluetoooth) support for an Xbox One gamepad.
The package does have dkms in depends and also linux-headers. So that is the error? Just edit out linux headers and drop a note for the maintainer?
Offline
It seems there are many -headers packages in the AUR where the packager opted to list 'linux-headers' under the provides, but this seems quite wrong to me: and this is not what is done in repo packages. I'd remove that dependency.
The whole idea of dkms is that modules can be built for any custom kernel.
Last edited by Trilby (2018-10-28 03:07:33)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Ok, thank you Trilby.
Offline
@Trilby Linux-headers is required for building modules. It creates the build directory under /lib/modules/`uname -r`/ where dkms places the modules.
Offline
khaithang, Please read the CoC again. This is a 1.5 year old thread, and it was already marked as solved. It is unlikely for it to be terribly useful.
Closing.
All the best,
-HG
Offline
Pages: 1
Topic closed