[WireGuard] new build process doesn't work with debian's dkms

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jul 22 23:51:45 CEST 2016


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 at 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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20160722/16e140f9/attachment.asc>


More information about the WireGuard mailing list