Development discussion of WireGuard
 help / color / Atom feed
* wireguard-dkms build fails with ubuntu 18.04
@ 2020-06-02 18:44 Daniel Rudd
  0 siblings, 0 replies; only message in thread
From: Daniel Rudd @ 2020-06-02 18:44 UTC (permalink / raw)
  To: wireguard

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


Non-technical user here so please forgive any errors on my part.

Wireguard-dkms build fails on Ubuntu 18.04 kernel 4.15.0-102-generic
(and previous) with error:

ERROR: Cannot create report: [Errno 17] File exists:
Error! Bad return status for module build on kernel: 4.15.0-102-generic
Consult /var/lib/dkms/wireguard/1.0.20200520/build/make.log for more

Crash file attached.

Would be grateful if anyone could advise.

All the best


[-- Attachment #2: dkms_make_log --]
[-- Type: text/plain, Size: 3011 bytes --]

ProblemType: Package
 DKMS make.log for wireguard-1.0.20200520 for kernel 4.15.0-102-generic (x86_64)
 Fri 29 May 18:37:12 BST 2020
 make: Entering directory '/usr/src/linux-headers-4.15.0-102-generic'
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/main.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/noise.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/device.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peer.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/timers.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/queueing.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/send.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/receive.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/socket.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/peerlookup.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/allowedips.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/ratelimiter.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/cookie.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/netlink.o
   CC [M]  /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/chacha20/chacha20.o
 In file included from <command-line>:0:0:
 /var/lib/dkms/wireguard/1.0.20200520/build/socket.c: In function ‘send6’:
 /var/lib/dkms/wireguard/1.0.20200520/build/compat/compat.h:102:42: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup’; did you mean ‘ipv6_dst_lookup_flow’?
  #define ipv6_dst_lookup_flow(a, b, c, d) ipv6_dst_lookup(a, b, &dst, c) + (void *)0 ?: dst
 /var/lib/dkms/wireguard/1.0.20200520/build/socket.c:139:20: note: in expansion of macro ‘ipv6_dst_lookup_flow’
    dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
   PERLASM /var/lib/dkms/wireguard/1.0.20200520/build/crypto/zinc/chacha20/chacha20-x86_64.S
 scripts/ recipe for target '/var/lib/dkms/wireguard/1.0.20200520/build/socket.o' failed
 make[1]: *** [/var/lib/dkms/wireguard/1.0.20200520/build/socket.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: *** wait: No child processes. Stop.
 Makefile:1577: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200520/build' failed
 make: *** [_module_/var/lib/dkms/wireguard/1.0.20200520/build] Error 2
 make: Leaving directory '/usr/src/linux-headers-4.15.0-102-generic'
DKMSKernelVersion: 4.15.0-102-generic
Date: Fri May 29 18:37:16 2020
DuplicateSignature: dkms:wireguard-dkms:1.0.20200520-0ppa1~18.04:/var/lib/dkms/wireguard/1.0.20200520/build/compat/compat.h:102:42: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup’; did you mean ‘ipv6_dst_lookup_flow’?
Package: wireguard-dkms 1.0.20200520-0ppa1~18.04
PackageVersion: 1.0.20200520-0ppa1~18.04
SourcePackage: wireguard-linux-compat
Title: wireguard-dkms 1.0.20200520-0ppa1~18.04: wireguard kernel module failed to build

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-02 18:44 wireguard-dkms build fails with ubuntu 18.04 Daniel Rudd

Development discussion of WireGuard

Archives are clonable: git clone --mirror

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone