Package: kernel-package Version: 13.018 Severity: normal Dear Maintainer,
I am using make-kpkg to build latest kernel_image and kernel_headers. After building and installing I use module-assistant (m-a) and dkms system to build other drivers outside the kernel source tree. When using it with 4.11 kernel source tree, after solving other (already notified) bugs, generated kernel_package has something wrong as at being installed, at least broadcom-sta driver (dkms, or source under m-a) does not build correcly showing errors in log file: +++++++++++++++++++++++++ # Build and install the module │ /usr/bin/make "KBUILD_DIR=/usr/src/linux-headers-4.11.0" "KVER=4.11.0" │ make[2]: Entering directory '/usr/src/modules/broadcom-sta' │ KBUILD_NOPEDANTIC=1 make -C /usr/src/linux-headers-4.11.0 M=`pwd` │ make[3]: Entering directory '/usr/src/linux-headers-4.11.0' (...) ./include/linux/if.h:27:54: fatal error: sys/socket.h: No such file or │ directory │ #include <sys/socket.h> /* for struct sockaddr. */ │ ^ │ compilation terminated. +++++++++++++++++++++++++++ Same driver built manually (being at 4.11 kernel source tree: make modules SUBDIRS=/path-to-driver) builds correctly, like under previous kernel versions. -- System Information: Debian Release: 9.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.11.0 (SMP w/8 CPU cores) Locale: LANG=ca_ES.utf8, LC_CTYPE=ca_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kernel-package depends on: ii bc 1.06.95-9+b3 ii binutils 2.28-4 ii build-essential 12.3 ii bzip2 1.0.6-8.1 ii dpkg-dev 1.18.23 ii file 1:5.30-1 ii gettext 0.19.8.1-2 ii kmod 23-2 ii po-debconf 1.0.20 ii xmlto 0.0.28-1 ii xz-utils [lzma] 5.2.2-1.2+b1 Versions of packages kernel-package recommends: ii cpio 2.11+dfsg-6 pn docbook-utils <none> pn kernel-common <none> pn uboot-mkimage <none> Versions of packages kernel-package suggests: ii libncurses5-dev [libncurses-dev] 6.0+20161126-1 pn linux-source <none>