open-vm-tools-dkms 2013.09.16-1328054-0ubuntu2: open-vm-tools kernel module failed to build [error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’]

Bug #1254931 reported by Luke Faraone
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
open-vm-tools (Ubuntu)
Fix Released
High
Robert C Jennings

Bug Description

What it says on the tin. Probably needs patches for 3.12

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: open-vm-tools-dkms 2013.09.16-1328054-0ubuntu2
ProcVersionSignature: Ubuntu 3.12.0-4.10-generic 3.12.1
Uname: Linux 3.12.0-4-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.12.7-0ubuntu1
Architecture: amd64
DKMSKernelVersion: 3.12.0-4-generic
Date: Sun Nov 24 16:41:17 2013
DuplicateSignature: dkms:open-vm-tools-dkms:2013.09.16-1328054-0ubuntu2:/var/lib/dkms/open-vm-tools/2013.09.16/build/vmblock/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
InstallationDate: Installed on 2013-03-18 (252 days ago)
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
PackageArchitecture: all
PackageVersion: 2013.09.16-1328054-0ubuntu2
SourcePackage: open-vm-tools
Title: open-vm-tools-dkms 2013.09.16-1328054-0ubuntu2: open-vm-tools kernel module failed to build
UpgradeStatus: Upgraded to trusty on 2013-11-23 (2 days ago)

Revision history for this message
Luke Faraone (lfaraone) wrote :
tags: removed: need-duplicate-check
summary: open-vm-tools-dkms 2013.09.16-1328054-0ubuntu2: open-vm-tools kernel
- module failed to build
+ module failed to build [error: incompatible types when assigning to type
+ ‘kgid_t’ from type ‘int’]
Revision history for this message
linuxar (linuxar) wrote :

also installed vmware's official player, so this might conflict

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in open-vm-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Luke Faraone (lfaraone) wrote : Re: [Bug 1254931] Re: open-vm-tools-dkms 2013.09.16-1328054-0ubuntu2: open-vm-tools kernel module failed to build [error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’]

On 3 December 2013 08:04, axeoth <email address hidden> wrote:

> also installed vmware's official player, so this might conflict

If that was addressed at me, I don't think the VMWare Workstation module
would conflict, since open-vm-tools-dkms is designed for use in guest OSes.
In any case, the FTBFS we're seeing is due to the module needing to be
updated for the new kernel in trusty.

Revision history for this message
Michael Bienia (geser) wrote :

Here is a patch I use to compile the open-vm-tools modules on trusty (linux 3.12). It's a mix of a patch I found on the internet [0] and some changes for uid_t -> kuid_t and gid_t -> kgid_t based on information I found in the linux headers. So it would be good if someone familiar with the kernel took a look on this patch.

I mostly use the vmhgfs module to mount the shared folders from VMWare and didn't have an problems with this patch yet.

0: http://dominator008.com/constructionyard/2013/10/03/vmware-9-0-2-vmblock-patch-for-linux-kernel-3-12/

tags: added: patch
Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I'll probably test out the patch with the packaging by the weekend

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I've uploaded a new version of your patch, Michael. This time with adjusted for locations within the package itself.

I just have to add the Name and Description lines. That'll be done after I installed the updated package.

Also, I've linked this bug report to my prep branch, which has a recipe that will build the working copy (with the combined tar.gz) to one of my Virtual Repo.

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

This something I'll probably wait till upstream releases a new version. Based on a Google search (and review of the build log), I think we're missing a file, that (I think) only upstream can provide.

Changed in open-vm-tools (Ubuntu):
importance: Undecided → High
Revision history for this message
Robert C Jennings (rcj) wrote :

open-vm-tools on trusty changed from the development snapshot series which this bug was opened against to the release series. Testing with the released package does not recreate the issue. Marking as 'fix released'.

Changed in open-vm-tools (Ubuntu):
assignee: nobody → Robert C Jennings (rcj)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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