← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 695079] [NEW] nvidia-current upgrade fails with compile error

 

Public bug reported:

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

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

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-180 in ubuntu.
https://bugs.launchpad.net/bugs/695079

Title:
  nvidia-current upgrade fails with compile error



Follow ups

References