Package: wireguard-dkms
Version: 0.0.20180202-1
Severity: important
Dear Maintainer,
wireguard-dkms fails to build on Debian stretch with the backported
grsec kernel 4.9.0-4-grsec-amd64
To reproduce:
# echo "deb http://ftp.debian.org/debian/ stretch-backports main" >>
/etc/apt/sources.list
# apt update ; apt install linux-image-grsec-amd64 linux-headers-grsec-amd64
<reboot>
# echo "deb http://deb.debian.org/debian/ unstable main" >
/etc/apt/sources.list.d/unstable-wireguard.list
# printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' >
/etc/apt/preferences.d/limit-unstable
# uname -a
Linux debian 4.9.0-4-grsec-amd64 #1 SMP Debian
4.9.65-2+grsecunoff1~bpo9+1 (2017-12-09) x86_64 GNU/Linux
# apt update
# apt install wireguard
<snip>
Selecting previously unselected package wireguard.
Preparing to unpack .../wireguard_0.0.20180202-1_all.deb ...
Unpacking wireguard (0.0.20180202-1) ...
Setting up wireguard-dkms (0.0.20180202-1) ...
Loading new wireguard-0.0.20180202-1 DKMS files...
Building for 4.9.0-4-grsec-amd64 4.9.0-5-amd64
Building initial module for 4.9.0-4-grsec-amd64
Error! Bad return status for module build on kernel: 4.9.0-4-grsec-amd64
(x86_64)
Consult /var/lib/dkms/wireguard/0.0.20180202-1/build/make.log for more
information.
Contents of /var/lib/dkms/wireguard/0.0.20180202-1/build/make.log:
DKMS make.log for wireguard-0.0.20180202-1 for kernel
4.9.0-4-grsec-amd64 (x86_64)
Thu Feb 15 17:06:57 EST 2018
make: Entering directory '/usr/src/linux-headers-4.9.0-4-grsec-amd64'
LD /var/lib/dkms/wireguard/0.0.20180202-1/build/built-in.o
CC [M] /var/lib/dkms/wireguard/0.0.20180202-1/build/main.o
cc1: error: cannot load plugin
./scripts/gcc-plugins/latent_entropy_plugin.so
./scripts/gcc-plugins/latent_entropy_plugin.so: cannot open shared
object file: No such file or directory
make[3]: ***
[/usr/src/linux-headers-4.9.0-4-common-grsec/scripts/Makefile.build:299:
/var/lib/dkms/wireguard/0.0.20180202-1/build/main.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.9.0-4-common-grsec/Makefile:1513:
_module_/var/lib/dkms/wireguard/0.0.20180202-1/build] Error 2
make[1]: *** [Makefile:150: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.9.0-4-grsec-amd64'
-- System Information:
Debian Release: 9.3
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-grsec-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot
set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to
default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages wireguard-dkms depends on:
ii dkms 2.3-3
Versions of packages wireguard-dkms recommends:
ii wireguard-tools 0.0.20180202-1
wireguard-dkms suggests no packages.
-- debconf information excluded