I dug through git, and kuid_t/kgid_t were introduced in kernel 3.5. The
proper thing to do is to call __kuid_val(uid) to convert to uid_t on
these kernels. The bug isn't a problem introduced with kernel 3.12. It
is a problem with all kernels compiled with
CONFIG_UIDGID_STRICT_TYPE_CHECKS. This patch should fix the problem for
both cases.

-- 
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