Hello Andreas
The initial problem was precisely related to the "packaged" nvidia
driver, aka nvidia-kernel-dkms. DKMS modules require appropriate gcc to
be built, and this gcc is installed through build-essential (which is a
dependency of dkms).
When I opened this bug, build-essential was broken because it was not
installing the appropriate version of gcc. As a sequel, it was no more
possible to build DKMS packages (and so the problem was not only
impacting nvidia driver).
In the meantime, build-essential, linux-image-amd64, linux-headers-amd64
and gcc packages have been updated so that everything is now coherent.
Thanks to these updates, I was able to build my dkms module, and so this
bug can be closed.
Best regards
Le 31/07/2020 à 11:16, Andreas Beckmann a écrit :
On Tue, 14 Apr 2020 10:19:27 +0200 Matthias Klose <d...@debian.org> wrote:
that's a bogus check by either dkms or the nvidia script.
That's the nvidia driver assuming 'gcc' being the compiler used to build
your kernel and therefore your kernel modules.
Why don't you use the packaged nvidia driver?
Andreas