← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 438398] [NEW] DKMS build fails, but package upgrade still successful

 

Public bug reported:

The nvidia-185-kernel-source (185.18.36-0ubuntu3) package upgrade
succeeds, even though the DKMS build fails.

I believe the package should not be marked as configured in this case,
especially as otherwise the user will notice the problem only on the
next boot.

Example failure case (due to DKMS bug #438393):
-----------------
Configuring: nvidia-185-kernel-source (185.18.36-0ubuntu3) ...
Removing all DKMS Modules
Done.
Adding Module to DKMS build system
driver version= 185.18.36
Doing initial module build

Error! Bad return status for module build on kernel: 2.6.31-11-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia/185.18.36/build/ for more information.
Installing initial module

Error! Could not locate nvidia.ko for module nvidia in the DKMS tree.
You must run a dkms build for kernel 2.6.31-11-generic (i686) first.
Done.
-----------------

Extract from make.log
-----------------
DKMS make.log for nvidia-185.18.36 for kernel 2.6.31-11-generic (i686)
ti 29.9.2009 00.03.29 +0300

The C compiler '/home/pauli/bin/gcc-cached' does not appear to be able to
create executables.  Please make sure you have 
your Linux distribution's libc development package
installed and that '/home/pauli/bin/gcc-cached' is a valid C compiler
name.

*** Failed CC sanity check. Bailing out! ***

make: *** [select_makefile] Virhe 1
-----------------

** Affects: nvidia-graphics-drivers-180 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
DKMS build fails, but package upgrade still successful
https://bugs.launchpad.net/bugs/438398
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-180 in ubuntu.



Follow ups

References