Development discussion of WireGuard
 help / color / mirror / Atom feed
* [WireGuard] new build process doesn't work with debian's dkms
@ 2016-07-22 21:51 Daniel Kahn Gillmor
  2016-07-22 23:08 ` Daniel Kahn Gillmor
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Kahn Gillmor @ 2016-07-22 21:51 UTC (permalink / raw)
  To: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 948 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [WireGuard] new build process doesn't work with debian's dkms
  2016-07-22 21:51 [WireGuard] new build process doesn't work with debian's dkms Daniel Kahn Gillmor
@ 2016-07-22 23:08 ` Daniel Kahn Gillmor
  2016-07-22 23:15   ` Jason A. Donenfeld
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Kahn Gillmor @ 2016-07-22 23:08 UTC (permalink / raw)
  To: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

On Fri 2016-07-22 17:51:45 -0400, Daniel Kahn Gillmor wrote:

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 948 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [WireGuard] new build process doesn't work with debian's dkms
  2016-07-22 23:08 ` Daniel Kahn Gillmor
@ 2016-07-22 23:15   ` Jason A. Donenfeld
  0 siblings, 0 replies; 3+ messages in thread
From: Jason A. Donenfeld @ 2016-07-22 23:15 UTC (permalink / raw)
  To: Daniel Kahn Gillmor; +Cc: WireGuard mailing list

On Sat, Jul 23, 2016 at 1:08 AM, Daniel Kahn Gillmor
<dkg@fifthhorseman.net> wrote:
> On Fri 2016-07-22 17:51:45 -0400, Daniel Kahn Gillmor wrote:
>
>> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-22 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-22 21:51 [WireGuard] new build process doesn't work with debian's dkms Daniel Kahn Gillmor
2016-07-22 23:08 ` Daniel Kahn Gillmor
2016-07-22 23:15   ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).