Package: wireguard-dkms Version: 0.0.20190905-1 Severity: important Installation fails for kernel version 4.19.72, self-built (on a different, Stable system) from vanilla kernel.org sources:
Building module: cleaning build area... make -j4 KERNELRELEASE=4.19.72-lila -C /lib/modules/4.19.72-lila/build M=/var/lib/dkms/wireguard/0.0.20190905/build...(bad exit status: 2) Error! Bad return status for module build on kernel: 4.19.72-lila (x86_64) Consult /var/lib/dkms/wireguard/0.0.20190905/build/make.log for more information. make.log attached. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages wireguard-dkms depends on: ii dkms 2.7.1-4 ii perl 5.28.1-6 Versions of packages wireguard-dkms recommends: ii wireguard-tools 0.0.20190905-1 wireguard-dkms suggests no packages. -- no debconf information
DKMS make.log for wireguard-0.0.20190905 for kernel 4.19.72-lila (x86_64) Tue 10 Sep 2019 10:10:55 PM EDT make: Entering directory '/usr/src/linux-headers-4.19.72-lila' CC [M] /var/lib/dkms/wireguard/0.0.20190905/build/main.o CC [M] /var/lib/dkms/wireguard/0.0.20190905/build/noise.o CC [M] /var/lib/dkms/wireguard/0.0.20190905/build/device.o CC [M] /var/lib/dkms/wireguard/0.0.20190905/build/peer.o In file included from ./include/linux/compat.h:16, from ./include/linux/ethtool.h:17, from ./include/linux/netdevice.h:41, from ./include/linux/icmpv6.h:13, from /var/lib/dkms/wireguard/0.0.20190905/build/compat/compat.h:876, from <command-line>: ./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory 28 | #include <sys/socket.h> /* for struct sockaddr. */ | ^~~~~~~~~~~~~~ compilation terminated. In file included from ./include/linux/compat.h:16, from ./include/linux/ethtool.h:17, from ./include/linux/netdevice.h:41, from ./include/linux/icmpv6.h:13, from /var/lib/dkms/wireguard/0.0.20190905/build/compat/compat.h:876, from <command-line>: ./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory 28 | #include <sys/socket.h> /* for struct sockaddr. */ | ^~~~~~~~~~~~~~ compilation terminated. In file included from ./include/linux/compat.h:16, from ./include/linux/ethtool.h:17, from ./include/linux/netdevice.h:41, from ./include/linux/icmpv6.h:13, from /var/lib/dkms/wireguard/0.0.20190905/build/compat/compat.h:876, from <command-line>: ./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory 28 | #include <sys/socket.h> /* for struct sockaddr. */ | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.build:303: /var/lib/dkms/wireguard/0.0.20190905/build/noise.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [scripts/Makefile.build:303: /var/lib/dkms/wireguard/0.0.20190905/build/main.o] Error 1 make[1]: *** [scripts/Makefile.build:303: /var/lib/dkms/wireguard/0.0.20190905/build/peer.o] Error 1 In file included from ./include/linux/compat.h:16, from ./include/linux/ethtool.h:17, from ./include/linux/netdevice.h:41, from ./include/linux/icmpv6.h:13, from /var/lib/dkms/wireguard/0.0.20190905/build/compat/compat.h:876, from <command-line>: ./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory 28 | #include <sys/socket.h> /* for struct sockaddr. */ | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.build:303: /var/lib/dkms/wireguard/0.0.20190905/build/device.o] Error 1 make: *** [Makefile:1519: _module_/var/lib/dkms/wireguard/0.0.20190905/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.19.72-lila'