<div dir="auto">The Ubuntu kernel team backported something wrong. They know that they screwed it up, but they're unable to fix it for another 7 weeks. That sort of delay is unacceptable for users who rely on WireGuard, so I released a new version, 20190905, yesterday that contains a workaround. At this point we're waiting on Egbert to bump the Ubuntu package to the newer version I released.<div dir="auto"><br></div><div dir="auto">Sorry for the hassle. I'm not happy about the situation either, but it is what it is. Ubuntu isn't the best distro to deal with unfortunately.</div><div dir="auto"><br></div><div dir="auto">I'll poke Egbert again to see if he can hurry up.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 6, 2019, 01:39 Markus Grundmann <<a href="mailto:markus@activezone.de">markus@activezone.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Question: If the patch needed?<br>
<br>
Don't touch a running system :-|<br>
-Markus<br>
<br>
<br>
[..]<br>
Selecting previously unselected package wireguard-dkms.<br>
(Reading database ... 346239 files and directories currently installed.)<br>
Preparing to unpack .../wireguard-dkms_0.0.20190702-wg1~xenial_all.deb ...<br>
Unpacking wireguard-dkms (0.0.20190702-wg1~xenial) ...<br>
Selecting previously unselected package wireguard-tools.<br>
Preparing to unpack<br>
.../wireguard-tools_0.0.20190702-wg1~xenial_amd64.deb ...<br>
Unpacking wireguard-tools (0.0.20190702-wg1~xenial) ...<br>
Selecting previously unselected package wireguard.<br>
Preparing to unpack .../wireguard_0.0.20190702-wg1~xenial_all.deb ...<br>
Unpacking wireguard (0.0.20190702-wg1~xenial) ...<br>
Processing triggers for man-db (2.7.5-1) ...<br>
Setting up wireguard-dkms (0.0.20190702-wg1~xenial) ...<br>
Loading new wireguard-0.0.20190702 DKMS files...<br>
First Installation: checking all kernels...<br>
Building only for 4.4.0-161-generic<br>
Building initial module for 4.4.0-161-generic<br>
ERROR: Cannot create report: [Errno 17] File exists:<br>
'/var/crash/wireguard-dkms.0.crash'<br>
Error! Bad return status for module build on kernel: 4.4.0-161-generic<br>
(x86_64)<br>
Consult /var/lib/dkms/wireguard/0.0.20190702/build/make.log for more<br>
information.<br>
Setting up wireguard-tools (0.0.20190702-wg1~xenial) ...<br>
Setting up wireguard (0.0.20190702-wg1~xenial) ...<br>
<br>
=== Crash Report ===<br>
ProblemType: Package<br>
DKMSBuildLog:<br>
 DKMS make.log for wireguard-0.0.20190702 for kernel 4.4.0-161-generic<br>
(x86_64)<br>
 Fr 6. Sep 09:02:18 CEST 2019<br>
 make: Entering directory '/usr/src/linux-headers-4.4.0-161-generic'<br>
   LD      /var/lib/dkms/wireguard/0.0.20190702/build/built-in.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/main.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/noise.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/device.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/peer.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/timers.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/queueing.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/send.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/receive.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/socket.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/peerlookup.o<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.o<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function<br>
‘root_remove_peer_lists’:<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:72:1: warning:<br>
the frame size of 1048 bytes is larger than 1024 bytes<br>
[-Wframe-larger-than=]<br>
  }<br>
  ^<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function<br>
‘root_free_rcu’:<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:59:1: warning:<br>
the frame size of 1048 bytes is larger than 1024 bytes<br>
[-Wframe-larger-than=]<br>
  }<br>
  ^<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function<br>
‘walk_remove_by_peer.isra.3’:<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:126:1: warning:<br>
the frame size of 1032 bytes is larger than 1024 bytes<br>
[-Wframe-larger-than=]<br>
  }<br>
  ^<br>
   CC [M]  /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error:<br>
unknown type name ‘hsiphash_key_t’<br>
  static hsiphash_key_t key;<br>
         ^<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c: In function<br>
‘wg_ratelimiter_allow’:<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:109:22: error:<br>
implicit declaration of function ‘hsiphash_2u32’<br>
[-Werror=implicit-function-declaration]<br>
    bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &<br>
                       ^<br>
 /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:116:22: error:<br>
implicit declaration of function ‘hsiphash_3u32’<br>
[-Werror=implicit-function-declaration]<br>
    bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &<br>
                       ^<br>
 cc1: some warnings being treated as errors<br>
 scripts/Makefile.build:285: recipe for target<br>
'/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o' failed<br>
 make[1]: *** [/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o]<br>
Error 1<br>
 Makefile:1454: recipe for target<br>
'_module_/var/lib/dkms/wireguard/0.0.20190702/build' failed<br>
 make: *** [_module_/var/lib/dkms/wireguard/0.0.20190702/build] Error 2<br>
 make: Leaving directory '/usr/src/linux-headers-4.4.0-161-generic'<br>
DKMSKernelVersion: 4.4.0-161-generic<br>
Date: Fri Sep  6 09:02:28 2019<br>
DuplicateSignature:<br>
dkms:wireguard-dkms:0.0.20190702-wg1~xenial:/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8:<br>
error: unknown type name ‘hsiphash_key_t’<br>
Package: wireguard-dkms 0.0.20190702-wg1~xenial<br>
PackageVersion: 0.0.20190702-wg1~xenial<br>
SourcePackage: wireguard<br>
Title: wireguard-dkms 0.0.20190702-wg1~xenial: wireguard kernel module<br>
failed to build<br>
_______________________________________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com" target="_blank" rel="noreferrer">WireGuard@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><br>
</blockquote></div>