Skip to contentSkip to conversation

new build process doesn't work with debian's dkms

WireGuard Daniel Kahn Gillmor 2 participants 3 messages Jul 22, 2016

lore
Share & tools
lore
#0 lore raw

hi there--

i'm trying to package wireguard experimental-0.0.20160722 for debian, and it looks like the new Kconfig/Kbuild/Makefile revamp from 3106d632de4235f8c6d63d602fe2fa9e0175d690 causes the version of dkms to not be able to build it automagically.

In particular:

----------
0 root@sid:~# dkms build wireguard/0.0.20160722

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make -j1 KERNELRELEASE=4.6.0-1-amd64 -C /lib/modules/4.6.0-1-amd64/build M=/var/lib/dkms/wireguard/0.0.20160722/build.... Error! Build of wireguard.ko failed for: 4.6.0-1-amd64 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/wireguard/0.0.20160722/build/ for more information.
7 root@sid:~# cat /var/lib/dkms/wireguard/0.0.20160722/build/make.log
DKMS make.log for wireguard-0.0.20160722 for kernel 4.6.0-1-amd64 (x86_64)
Fri Jul 22 17:49:41 EDT 2016
make: Entering directory '/usr/src/linux-headers-4.6.0-1-amd64'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory '/usr/src/linux-headers-4.6.0-1-amd64'
0 root@sid:~#
----------

I probably need to grok the new build system a bit more when i have some time, but if anyone has any pointers for integrating it with dkms, i'd be happy to hear what you thought was necessary.

just wanted to report why this isn't already uploaded to debian yet.

     --dkg
#1 lore raw
Quoted 4 lines · Daniel Kahn Gillmor

i'm trying to package wireguard experimental-0.0.20160722 for debian, and it looks like the new Kconfig/Kbuild/Makefile revamp from 3106d632de4235f8c6d63d602fe2fa9e0175d690 causes the version of dkms to not be able to build it automagically.

uh, please chalk this up to lack of sleep and general delirium, it's all working fine when i remember to actually ship Kconfig and Kbuild :)

        --dkg
#2 lore raw
Quoted 9 lines · Daniel Kahn Gillmor
Quoted 4 lines · Daniel Kahn Gillmor

i'm trying to package wireguard experimental-0.0.20160722 for debian, and it looks like the new Kconfig/Kbuild/Makefile revamp from 3106d632de4235f8c6d63d602fe2fa9e0175d690 causes the version of dkms to not be able to build it automagically.

uh, please chalk this up to lack of sleep and general delirium, it's all working fine when i remember to actually ship Kconfig and Kbuild :)

Glad to hear. I figured it was something like that :P.