Package: kernel-package Version: 13.018 Followup-For: Bug #772681 The nvidia-kernel-dkms package was recently modified to run conftest.sh at compile time. Inspecting the make.log file reveals that several tests are failing to run properly. After modifying conftest.sh so that the compiler output from the tests is visible, there are many errors about undeclared identifiers, such as _NSIG_WORDS from <asm/signal.h>.
It turns that there are multiple versions of asm/signal.h in the generated linux-headers package. The correct one is in arch/x86/include/asm. However, there is another version in include/asm, and this one comes earlier in the include path, so that's what the compiler picks. This version is lacking a number of definitions, causing nvidia's conftest to fail. Moving the include/asm directory out of the way fixes the issue and allows the nvidia module to be built. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.19.1-core2 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages kernel-package depends on: ii bc 1.06.95-9+b1 ii binutils 2.26-4 ii build-essential 12.2 ii bzip2 1.0.6-8 ii dpkg-dev 1.18.4 ii file 1:5.25-2 ii gettext 0.19.7-2 ii kmod 22-1 ii lzma 9.22-2 ii po-debconf 1.0.19 ii xmlto 0.0.28-0.1 ii xz-utils [lzma] 5.1.1alpha+20120614-2.1 Versions of packages kernel-package recommends: ii cpio 2.11+dfsg-5 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+20160213-1 pn linux-source <none> -- Configuration Files: /etc/kernel-pkg.conf changed: maintainer := Mikko Rasa email := t...@tdb.fi priority := Low debian = $(version)-1 -- no debconf information