From: Felix Tang <felix.gofaster@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: dkms build failure - Ubuntu 16.04 kernel 4.4.0-161-generic
Date: Tue, 3 Sep 2019 18:07:16 -0400 [thread overview]
Message-ID: <CALJizUN=-NyTqegwwjez9X_OZtr_CLzjDDbVoCwkBLBPsortOA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 7859 bytes --]
Hi -
The wireguard dkms build failed with a recent Ubuntu 16.04 kernel upgrade
4.4.0-161-generic. The build was successful with the previous kernel
4.4.0-159-generic.
---
* dkms: running auto installation service for kernel 4.4.0-161-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.4.0-161-generic -C
/lib/modules/4.4.0-161-generic/build
M=/var/lib/dkms/wireguard/0.0.20190702/build......(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/wireguard-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.4.0-161-generic
(x86_64)
Consult /var/lib/dkms/wireguard/0.0.20190702/build/make.log for more
information.
...done.
---
$ cat /var/crash/wireguard-dkms.0.crash
ProblemType: Package
DKMSBuildLog:
DKMS make.log for wireguard-0.0.20190702 for kernel 4.4.0-161-generic
(x86_64)
Mon Sep 2 18:20:16 EDT 2019
make: Entering directory '/usr/src/linux-headers-4.4.0-161-generic'
LD /var/lib/dkms/wireguard/0.0.20190702/build/built-in.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/main.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/noise.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/device.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/peer.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/timers.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/queueing.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/send.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/receive.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/socket.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/peerlookup.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.o
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘root_remove_peer_lists’:
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:72:1: warning: the
frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘root_free_rcu’:
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:59:1: warning: the
frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘walk_remove_by_peer.isra.3’:
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:126:1: warning:
the frame size of 1032 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
}
^
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error:
unknown type name ‘hsiphash_key_t’
static hsiphash_key_t key;
^
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c: In function
‘wg_ratelimiter_allow’:
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:109:22: error:
implicit declaration of function ‘hsiphash_2u32’
[-Werror=implicit-function-declaration]
bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &
^
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:116:22: error:
implicit declaration of function ‘hsiphash_3u32’
[-Werror=implicit-function-declaration]
bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &
^
cc1: some warnings being treated as errors
scripts/Makefile.build:285: recipe for target
'/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o' failed
make[1]: *** [/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o]
Error 1
Makefile:1454: recipe for target
'_module_/var/lib/dkms/wireguard/0.0.20190702/build' failed
make: *** [_module_/var/lib/dkms/wireguard/0.0.20190702/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-161-generic'
DKMSKernelVersion: 4.4.0-161-generic
Date: Mon Sep 2 18:20:27 2019
DuplicateSignature:
dkms:wireguard-dkms:0.0.20190702-wg1~xenial:/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8:
error: unknown type name ‘hsiphash_key_t’
Package: wireguard-dkms 0.0.20190702-wg1~xenial
PackageVersion: 0.0.20190702-wg1~xenial
SourcePackage: wireguard
Title: wireguard-dkms 0.0.20190702-wg1~xenial: wireguard kernel module
failed to build
---
$ cat /var/lib/dkms/wireguard/0.0.20190702/build/make.log
DKMS make.log for wireguard-0.0.20190702 for kernel 4.4.0-161-generic
(x86_64)
Tue Sep 3 15:36:39 EDT 2019
make: Entering directory '/usr/src/linux-headers-4.4.0-161-generic'
LD /var/lib/dkms/wireguard/0.0.20190702/build/built-in.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/main.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/noise.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/device.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/peer.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/timers.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/queueing.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/send.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/receive.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/socket.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/peerlookup.o
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/allowedips.o
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘root_remove_peer_lists’:
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:72:1: warning: the
frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘root_free_rcu’:
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:59:1: warning: the
frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c: In function
‘walk_remove_by_peer.isra.3’:
/var/lib/dkms/wireguard/0.0.20190702/build/allowedips.c:126:1: warning: the
frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
CC [M] /var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:25:8: error:
unknown type name ‘hsiphash_key_t’
static hsiphash_key_t key;
^
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c: In function
‘wg_ratelimiter_allow’:
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:109:22: error:
implicit declaration of function ‘hsiphash_2u32’
[-Werror=implicit-function-declaration]
bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &
^
/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.c:116:22: error:
implicit declaration of function ‘hsiphash_3u32’
[-Werror=implicit-function-declaration]
bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &
^
cc1: some warnings being treated as errors
scripts/Makefile.build:285: recipe for target
'/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o' failed
make[1]: *** [/var/lib/dkms/wireguard/0.0.20190702/build/ratelimiter.o]
Error 1
Makefile:1454: recipe for target
'_module_/var/lib/dkms/wireguard/0.0.20190702/build' failed
make: *** [_module_/var/lib/dkms/wireguard/0.0.20190702/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-161-generic'
--
# lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
---
# apt list |grep wireguard|grep installed
wireguard-dkms/xenial,xenial,now 0.0.20190702-wg1~xenial all
[installed,automatic]
wireguard-tools/xenial,now 0.0.20190702-wg1~xenial amd64 [installed]
[-- Attachment #1.2: Type: text/html, Size: 9109 bytes --]
[-- Attachment #2: Type: text/plain, Size: 148 bytes --]
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next reply other threads:[~2019-09-06 19:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 22:07 Felix Tang [this message]
2019-09-06 19:13 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALJizUN=-NyTqegwwjez9X_OZtr_CLzjDDbVoCwkBLBPsortOA@mail.gmail.com' \
--to=felix.gofaster@gmail.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).