nvidia-current upgrade fails with compile error

Bug #695079 reported by jerryb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi -- The Update Manager found a new version of my Nvidia driver (260.19.29) and tried to install it. However, the installation failed with a compiler error:

jerryb@TheBrittons:/home/britton$ sudo aptitude safe-upgrade
The following partially installed packages will be configured:
nvidia-current nvidia-glx-185
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up nvidia-current (260.19.29-0ubuntu1~xup~maverick3) ...
update-initramfs: deferring update (trigger activated)
Removing old nvidia-current-260.19.29 DKMS files...

------------------------------
Deleting module version: 260.19.29
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-260.19.29 DKMS files...
Building only for 2.6.35-24-generic
Building for architecture x86_64
Building initial module for 2.6.35-24-generic

Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/260.19.29/build/ for more information.
Traceback (most recent call last):
File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
report.write(open(apport.fileutils.make_report_pat h(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/nvidia-current.0.crash'
dpkg: error processing nvidia-current (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-glx-185:
nvidia-glx-185 depends on nvidia-current; however:
Package nvidia-current is not configured yet.
dpkg: error processing nvidia-glx-185 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_CA.utf8.cache...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.35-24-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Processing triggers for python-support ...
Errors were encountered while processing:
nvidia-current
nvidia-glx-185
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nvidia-current (260.19.29-0ubuntu1~xup~maverick3) ...
update-initramfs: deferring update (trigger activated)
Removing old nvidia-current-260.19.29 DKMS files...

------------------------------
Deleting module version: 260.19.29
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-260.19.29 DKMS files...
Building only for 2.6.35-24-generic
Building for architecture x86_64
Building initial module for 2.6.35-24-generic

Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/260.19.29/build/ for more information.
Traceback (most recent call last):
File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
report.write(open(apport.fileutils.make_report_pat h(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/nvidia-current.0.crash'
dpkg: error processing nvidia-current (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-glx-185:
nvidia-glx-185 depends on nvidia-current; however:
Package nvidia-current is not configured yet.
dpkg: error processing nvidia-glx-185 (--configure):
dependency problems - leaving unconfigured

The make log reports:

/var/lib/dkms/nvidia-current/260.19.29/build/nv.c:550: internal compiler error: in label_rtx, at stmt.c:134
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[3]: *** [/var/lib/dkms/nvidia-current/260.19.29/build/nv.o] Error 1
make[2]: *** [_module_/var/lib/dkms/nvidia-current/260.19.29/build] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

$ apt-cache policy nvidia-current
nvidia-current:
  Installed: 260.19.29-0ubuntu1~xup~maverick3
  Candidate: 260.19.29-0ubuntu1~xup~maverick3
  Version table:
 *** 260.19.29-0ubuntu1~xup~maverick3 0
        500 http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status
     260.19.06-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/restricted amd64 Packages
britton@TheBrittons:~$

Expected: Normal build

Happend: Compiler error

Tags: maverick
jerryb (gerald-britton)
affects: nvidia-graphics-drivers-180 (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
bugbot (bugbot)
tags: added: maverick
Revision history for this message
Bryce Harrington (bryce) wrote :

Can you attach your make.log?

Guessing this is a dkms build issue so refiling it there. I notice you had tried installing from the x-updates ppa, which might relate to the problem.

If you ended up working around the problem, please elaborate on what you did.

affects: nvidia-graphics-drivers (Ubuntu) → dkms (Ubuntu)
Changed in dkms (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dkms (Ubuntu) because there has been no activity for 60 days.]

Changed in dkms (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.