Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521872 - app-emulation/vmware-modules-279.2 - .../work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
Summary: app-emulation/vmware-modules-279.2 - .../work/vmblock-only/linux/inode.c:138:...
Status: RESOLVED DUPLICATE of bug 462666
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-01 08:13 UTC by Andrea (Ben) Benini
Modified: 2014-09-02 18:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=app-emulation/vmware-modules-279.2::gentoo' (emerge.info.vmware-modules,4.99 KB, text/plain)
2014-09-01 08:15 UTC, Andrea (Ben) Benini
Details
emerge -pqv '=app-emulation/vmware-modules-279.2::gentoo' (emerge.pqv.app-emulation_vmware-modules,83 bytes, text/plain)
2014-09-01 08:18 UTC, Andrea (Ben) Benini
Details
emerge vmware-modules (build output) (emerge.vmware-modules,17.25 KB, text/plain)
2014-09-01 08:19 UTC, Andrea (Ben) Benini
Details
vmware-modules-279.2.ebuild (vmware-modules-279.2.ebuild,2.83 KB, text/plain)
2014-09-02 10:49 UTC, Andrea (Ben) Benini
Details
279-linux-3.14.patch (279-linux-3.14.patch,4.93 KB, patch)
2014-09-02 10:50 UTC, Andrea (Ben) Benini
Details | Diff
279-vmblock-3.11.patch (279-vmblock-3.11.patch,2.32 KB, patch)
2014-09-02 10:50 UTC, Andrea (Ben) Benini
Details | Diff
279-vmblock-3.12.patch (279-vmblock-3.12.patch,2.51 KB, patch)
2014-09-02 10:51 UTC, Andrea (Ben) Benini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea (Ben) Benini 2014-09-01 08:13:00 UTC
I'm using systemd and I'm trying to emerge vmware-modules but I cannot emerge, plus I cannot see nor start vmware service.

kernel 3.14.14, stable branch up to date portage (2014-09-01)
ben ~# uname -a
Linux 3.14.14-gentoo #1 SMP Tue Aug 26 15:44:00 2014 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux

I'm just using standard portage with stable packages but with systemd on it (shame on me)

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge vmware-modules
NOTE: I don't have (yet) vmware service loaded because there's no trace of it in systemd services. My system has emerged app-emulation/vmware-player (6.0.2.1744117) but I didn't started it yet even if I've executed:
- env-update && source /etc/profile
- emerge --config vmware-player
as suggested
Actual Results:  
I cannot emerge vmware-modules even if I'm up to date and I have synced with portage tree

Expected Results:  
I'd like to have vmware-modules emerged

I cannot even start vmware service manually. I have created a vmware service for systemd with these information:
ben ~# cat /usr/lib/systemd/system/vmware.service
[Unit]
Description=VMware network
[Service]
ExecStart=/opt/vmware/bin/vmware-networks --start
ExecStop=/opt/vmware/bin/vmware-networks --stop
PIDFile=/var/lock/subsys/vmware
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

(Hint: there's no vmware.service in portage, it could be nice to have it like this one)

but after trying a start I get:
ben ~# systemctl enable vmware
ben ~# systemctl start vmware
ben ~# systemctl status vmware
vmware.service - VMware network
   Loaded: loaded (/usr/lib64/systemd/system/vmware.service; enabled)
   Active: active (exited) (Result: exit-code) since Mon 2014-09-01 09:39:43 CEST; 32min ago
 Main PID: 10536 (code=exited, status=1/FAILURE)

Sep 01 09:39:44 ben vmnet-dhcpd[10601]: 
Sep 01 09:39:44 ben vmnet-dhcpd[10601]: Configured subnet: 192.168.113.0
Sep 01 09:39:44 ben vmnet-dhcpd[10601]: Setting vmnet-dhcp IP address: 192.168.113.254
Sep 01 09:39:44 ben vmnet-dhcpd[10601]: Cannot open /dev/vmnet8: No such device or address
Sep 01 09:39:44 ben vmnet-dhcpd[10601]: exiting.
Sep 01 09:39:44 ben vmware-networks[10536]: Failed to start DHCP service on vmnet8
Sep 01 09:39:44 ben vmware-networks[10536]: Failed to start some/all services
Sep 01 09:39:44 ben vmware-networks[10536]: Started Bridge networking on vmnet0
Sep 01 09:39:44 ben systemd[1]: vmware.service: main process exited, code=exited, status=1/FAILURE
Sep 01 10:12:14 ben systemd[1]: Started VMware network.


Please see my portage and system information as attachment

Thanks 
Ben
Comment 1 Andrea (Ben) Benini 2014-09-01 08:15:41 UTC
Created attachment 384042 [details]
emerge --info '=app-emulation/vmware-modules-279.2::gentoo'

emerge info app-emulation/vmware-modules
Comment 2 Andrea (Ben) Benini 2014-09-01 08:18:08 UTC
Created attachment 384044 [details]
emerge -pqv '=app-emulation/vmware-modules-279.2::gentoo'
Comment 3 Andrea (Ben) Benini 2014-09-01 08:19:55 UTC
Created attachment 384046 [details]
emerge vmware-modules (build output)
Comment 4 Andrea (Ben) Benini 2014-09-01 08:25:43 UTC
I have a fresh installation with kernel 3.14.14 no vmware stuff was there before this emerge.
I have seen bug #521408 that seems to be pretty similar. Let me know if you need more information
Comment 5 Andrea (Ben) Benini 2014-09-02 10:49:01 UTC
Created attachment 384096 [details]
vmware-modules-279.2.ebuild

proposed ebuild for vmware-modules
Comment 6 Andrea (Ben) Benini 2014-09-02 10:50:02 UTC
Created attachment 384100 [details, diff]
279-linux-3.14.patch

Proposed patch
Comment 7 Andrea (Ben) Benini 2014-09-02 10:50:35 UTC
Created attachment 384102 [details, diff]
279-vmblock-3.11.patch

proposed patch
Comment 8 Andrea (Ben) Benini 2014-09-02 10:51:08 UTC
Created attachment 384104 [details, diff]
279-vmblock-3.12.patch

proposed patch
Comment 9 Andrea (Ben) Benini 2014-09-02 10:56:03 UTC
I have figured out the problem and after some searches I have found these attached files :
279-linux-3.14.patch
279-vmblock-3.11.patch
279-vmblock-3.12.patch
vmware-modules-279.2.ebuild

Original credit goes to http://k53sv.blogspot.it/2014/04/app-emulationvmware-modules-2792gentoo.html where I have found these. Same kernel (stable and official on gentoo source tree right now) and same problems during compilation, after copying these patches and the ebuild I can confirm to emerge vmware-modules without troubles.
Please take a look at these edits to see if it could be a nice idea to merge them in the stable branch tree.

Let me know if there're further news
Ben
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-02 18:13:32 UTC

*** This bug has been marked as a duplicate of bug 462666 ***