You are not logged in.

#1 2018-10-28 02:27:27

headkase
Member
Registered: 2011-12-06
Posts: 1,983

[Solved] Linux Zen Headers

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

#2 2018-10-28 02:53:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,338
Website

Re: [Solved] Linux Zen Headers

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

#3 2018-10-28 03:01:14

headkase
Member
Registered: 2011-12-06
Posts: 1,983

Re: [Solved] Linux Zen Headers

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

#4 2018-10-28 03:06:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,338
Website

Re: [Solved] Linux Zen Headers

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

#5 2018-10-28 03:07:18

headkase
Member
Registered: 2011-12-06
Posts: 1,983

Re: [Solved] Linux Zen Headers

Ok, thank you Trilby.

Offline

#6 2020-05-02 16:19:34

khaithang
Member
Registered: 2019-04-07
Posts: 5

Re: [Solved] Linux Zen Headers

@Trilby Linux-headers is required for building modules. It creates the build directory under /lib/modules/`uname -r`/ where dkms places the modules.

Offline

#7 2020-05-02 16:30:19

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [Solved] Linux Zen Headers

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

Board footer

Powered by FluxBB