On Tue, 2016-08-16 at 20:02 +0200, Eduard Bloch wrote: > Package: nvidia-kernel-source > Version: 367.35-1 > Followup-For: Bug #818862 > Control: severity 818862 grave > > Hello, > > I have no idea how you manage to build the current modules even for Sid. > For me, it fails, always with the same symptoms. It fails with Sid > version of nvidia-kernel-source, it fails with the Experimental version > of the package, it fails with the SVN version which I built using the > instructions from the Wiki. It fails with my kernel 4.7 (locally > compiled) and also when I try to build against the official Sid kernel > headers. > > So, how is it supposed to work? Is the source not ready for gcc 6? Is it > doing some broken checks that depend on running kernel rather than the > target kernel? > > I briefly tried to investigate in the source but it's a huge mess, IMHO.
Have you read the supplied readme file, /usr/share/doc/nvidia-kernel-source/README.Debian.gz ? As the readme suggests, it's recommended to use module-assistant. EG: module-assistant build --text-mode --force --kvers-list 4.7.0-rc7-amd64 nvidia-kernel If you do not have a kernel with a supplied linux-headers-VERSION package there are more instructions in the readme, but you will have a harder time as you'll have to make sure the environment is setup correctly. Using module-assistant the nvidia-kernel-source in sid and experimental build with all the kernel headers available in wheezy, jessie, stretch, sid and experimental. Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part