AW: Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520

Joachim Lindenberg wireguard at
Sat Jun 13 07:34:35 CEST 2020

I was hit by that issue as well. Going for HWE kernel as proposed at solved it for me (for now).
Regards, Joachim

-----Ursprüngliche Nachricht-----
Von: WireGuard <wireguard-bounces at> Im Auftrag von Martin Jurasik
Gesendet: Friday, June 12, 2020 8:22 PM
An: wireguard at
Betreff: Aw: Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520

I haven't seen any update of the wireguard package yet. Is it still missing?
I have only seen an update of wireguard-linux-compat but this isn't used under Ubuntu 18.04, right?
Thanks & Regards,

Gesendet: Donnerstag, 11. Juni 2020 um 14:11 Uhr
Von: "Martin Jurasik" <martin.jurasik at>
An: wireguard at
Betreff: Re: Ubuntu 18.04 kernel 4.15.0-106-generic breaks wireguard-1.0.20200520

Hi Jason,
still no luck with the updated version. make still fails.

wireguard/bionic,bionic,now 1.0.20200513-1~18.04 all [installed,automatic] wireguard-dkms/bionic,bionic,now 1.0.20200611-0ppa1~18.04 all [installed] wireguard-tools/bionic,now 1.0.20200513-1~18.04 amd64 [installed] deploy at xxx:~$ sudo dpkg-reconfigure wireguard-dkms
Deleting module version: 1.0.20200611
completely from the DKMS tree.
Loading new wireguard-1.0.20200611 DKMS files...
Building for 4.15.0-101-generic 4.15.0-106-generic Building initial module for 4.15.0-101-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/wireguard-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-101-generic (x86_64) Consult /var/lib/dkms/wireguard/1.0.20200611/build/make.log for more information.
deploy at xxx:~$ cat /var/lib/dkms/wireguard/1.0.20200611/build/make.log
DKMS make.log for wireguard-1.0.20200611 for kernel 4.15.0-101-generic (x86_64) Thu 11 Jun 14:07:36 CEST 2020
make: Entering directory '/usr/src/linux-headers-4.15.0-101-generic'
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/main.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/noise.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/device.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/peer.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/timers.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/queueing.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/send.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/receive.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/socket.o
  CC [M]  /var/lib/dkms/wireguard/1.0.20200611/build/peerlookup.o
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c: In function ‘send6’:
/var/lib/dkms/wireguard/1.0.20200611/build/socket.c:139:20: error: ‘const struct ipv6_stub’ has no member named ‘ipv6_dst_lookup_flow’; did you mean ‘ipv6_dst_lookup’?
   dst = ipv6_stub->ipv6_dst_lookup_flow(sock_net(sock), sock, &fl,
scripts/ recipe for target '/var/lib/dkms/wireguard/1.0.20200611/build/socket.o' failed
make[1]: *** [/var/lib/dkms/wireguard/1.0.20200611/build/socket.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1577: recipe for target '_module_/var/lib/dkms/wireguard/1.0.20200611/build' failed
make: *** [_module_/var/lib/dkms/wireguard/1.0.20200611/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-101-generic‘


More information about the WireGuard mailing list