Debian Bug report logs - #763629
linux-headers-3.16-0.bpo.2-common: Building official NVidia driver on 3.16 (amd64) kernel fails to build the DKMS module

version graph

Package: linux-headers-3.16-0.bpo.2-common; Maintainer for linux-headers-3.16-0.bpo.2-common is (unknown);

Reported by: "B. R." <reallfqq-debian@yahoo.fr>

Date: Wed, 1 Oct 2014 14:12:02 UTC

Severity: normal

Found in version linux/3.16.3-2~bpo70+1

Done: Ben Hutchings <ben@decadent.org.uk>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reallfqq-debian@yahoo.fr, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#763629; Package linux-headers-3.16-0.bpo.2-common. (Wed, 01 Oct 2014 14:12:06 GMT) (full text, mbox, link).


Acknowledgement sent to "B. R." <reallfqq-debian@yahoo.fr>:
New Bug report received and forwarded. Copy sent to reallfqq-debian@yahoo.fr, Debian Kernel Team <debian-kernel@lists.debian.org>. (Wed, 01 Oct 2014 14:12:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "B. R." <reallfqq-debian@yahoo.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: linux-headers-3.16-0.bpo.2-common: Building official NVidia driver on 3.16 (amd64) kernel fails to build the DKMS module
Date: Wed, 01 Oct 2014 16:09:05 +0200
[Message part 1 (text/plain, inline)]
Package: linux-headers-3.16-0.bpo.2-common
Version: 3.16.3-2~bpo70+1
Severity: normal

Hello,

While attempting to install NVidia drivers v340.46 (x64) on the currentli running 3.16 Debian kernel, the auto installer fails during the build of the DKMS module.

It seems the Makefiles chain inside the linux-headers leads to the error.

Here are the relevant parts of the make.log file from the NVidia module (sorry for French locale, but file references and line numbers are common language! ;o) ):

test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
        echo >&2;                                                       \
        echo >&2 "  ERROR: Kernel configuration is invalid.";           \
        echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
        echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
        echo >&2 ;                                                      \
        /bin/false)

-> Is it expected? normal?


make -f /usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build obj=./..
/usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build:44: /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile: Aucun fichier ou dossier de ce type
make[4]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile ». Arrêt.

-> It looks like something went wrong with the path here


- The installer has been collected from http://fr.download.nvidia.com/XFree86/Linux-x86_64/340.46/NVIDIA-Linux-x86_64-340.46.run
- It has been run with 'sudo', no option
- The DKMS module has been requested to be built
- The 32 bits compatibility libraries have not been requested to be built

Having read https://devtalk.nvidia.com/default/topic/769055/dkms-fails-to-compile-nvidia-modules-340-32-343-13-during-kernel-3-16-1-compile-process-on-debia/, I attempted to add the following to /etc/dkms/framework.conf:
unset MAKEFLAGS
unset ARCH
unset KBUILD_EXTMOD
unset obj

It did not succeed.

Log files are attached


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
[nvidia-installer.log (text/plain, attachment)]
[make.log (text/plain, attachment)]

Reply sent to Ben Hutchings <ben@decadent.org.uk>:
You have taken responsibility. (Wed, 01 Oct 2014 15:30:06 GMT) (full text, mbox, link).


Notification sent to "B. R." <reallfqq-debian@yahoo.fr>:
Bug acknowledged by developer. (Wed, 01 Oct 2014 15:30:06 GMT) (full text, mbox, link).


Message #10 received at 763629-done@bugs.debian.org (full text, mbox, reply):

From: Ben Hutchings <ben@decadent.org.uk>
To: 763629-done@bugs.debian.org
Subject: Re: Bug#763629: linux-headers-3.16-0.bpo.2-common: Building official NVidia driver on 3.16 (amd64) kernel fails to build the DKMS module
Date: Wed, 01 Oct 2014 16:26:15 +0100
[Message part 1 (text/plain, inline)]
On Wed, 2014-10-01 at 16:09 +0200, B. R. wrote:
> Package: linux-headers-3.16-0.bpo.2-common
> Version: 3.16.3-2~bpo70+1
> Severity: normal
> 
> Hello,
> 
> While attempting to install NVidia drivers v340.46 (x64) on the currentli running 3.16 Debian kernel, the auto installer fails during the build of the DKMS module.
> 
> It seems the Makefiles chain inside the linux-headers leads to the error.
> 
> Here are the relevant parts of the make.log file from the NVidia module (sorry for French locale, but file references and line numbers are common language! ;o) ):
> 
> test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
>         echo >&2;                                                       \
>         echo >&2 "  ERROR: Kernel configuration is invalid.";           \
>         echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
>         echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
>         echo >&2 ;                                                      \
>         /bin/false)
> 
> -> Is it expected? normal?

Yes.

> make -f /usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build obj=./..
> /usr/src/linux-headers-3.16-0.bpo.2-common/scripts/Makefile.build:44: /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile: Aucun fichier ou dossier de ce type
> make[4]: *** Pas de règle pour fabriquer la cible « /usr/src/linux-headers-3.16-0.bpo.2-common/./../Makefile ». Arrêt.
> 
> -> It looks like something went wrong with the path here
> 
> 
> - The installer has been collected from http://fr.download.nvidia.com/XFree86/Linux-x86_64/340.46/NVIDIA-Linux-x86_64-340.46.run
> - It has been run with 'sudo', no option
> - The DKMS module has been requested to be built
> - The 32 bits compatibility libraries have not been requested to be built
> 
> Having read https://devtalk.nvidia.com/default/topic/769055/dkms-fails-to-compile-nvidia-modules-340-32-343-13-during-kernel-3-16-1-compile-process-on-debia/, I attempted to add the following to /etc/dkms/framework.conf:
> unset MAKEFLAGS
> unset ARCH
> unset KBUILD_EXTMOD
> unset obj
> 
> It did not succeed.

This is not our problem to fix; ask Nvidia for support.

Ben.

-- 
Ben Hutchings
When in doubt, use brute force. - Ken Thompson
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 30 Oct 2014 07:28:47 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Aug 20 21:31:06 2025; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.