The buildfix_kernel_3.12.patch breaks building on vanilla 3.12 kernels.
The module builds fine without it on 3.12.6

In file included from 
/var/lib/dkms/nvidia-331-updates-uvm/331.20/build/nvidia_uvm_common.h:49:0,
                 from 
/var/lib/dkms/nvidia-331-updates-uvm/331.20/build/nvidia_uvm_lite.c:26:
/var/lib/dkms/nvidia-331-updates-uvm/331.20/build/nvidia_uvm_lite.c: In 
function ‘uvmlite_open’:
/var/lib/dkms/nvidia-331-updates-uvm/331.20/build/nvidia_uvm_linux.h:395:70: 
error: request for member ‘val’ in something not a structure or union
     (((typeof(*current->cred) __force __kernel *)current->cred)->euid.val)
                                                                      ^
/var/lib/dkms/nvidia-331-updates-uvm/331.20/build/nvidia_uvm_lite.c:1326:39: 
note: in expansion of macro ‘NV_CURRENT_EUID’
     pUvmPrivate->processRecord.euid = NV_CURRENT_EUID();
                                       ^
make[3]: *** 
[/var/lib/dkms/nvidia-331-updates-uvm/331.20/build/nvidia_uvm_lite.o] Error 1

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331-updates in
Ubuntu.
https://bugs.launchpad.net/bugs/1252664

Title:
  nvidia-331-uvm 331.20-0ubuntu1: nvidia-331-uvm kernel module failed to
  build [error: incompatible types when assigning to type ‘uid_t’ from
  type ‘kuid_t’]

Status in “nvidia-graphics-drivers-331-updates” package in Ubuntu:
  Fix Released

Bug description:
  Retry to install that package after having upgraded the apport package 
(dpkg-divert 'not found' fix)
  and got that problem.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: nvidia-331-uvm 331.20-0ubuntu1
  ProcVersionSignature: Ubuntu 3.12.0-2.7-generic 3.12.0
  Uname: Linux 3.12.0-2-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.7-0ubuntu1
  Architecture: i386
  DKMSKernelVersion: 3.12.0-2-generic
  Date: Tue Nov 19 10:12:54 2013
  DuplicateSignature: 
dkms:nvidia-331-uvm:331.20-0ubuntu1:/var/lib/dkms/nvidia-331-uvm/331.20/build/nvidia_uvm_lite.c:1326:37:
 error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
  InstallationDate: Installed on 2013-10-25 (24 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
  PackageVersion: 331.20-0ubuntu1
  SourcePackage: nvidia-graphics-drivers-331
  Title: nvidia-331-uvm 331.20-0ubuntu1: nvidia-331-uvm kernel module failed to 
build
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-331-updates/+bug/1252664/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to