Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498520 - app-emulation/vmware-modules-279.1 with kernel 3.10.25 - .../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.1 with kernel 3.10.25 - .../work/vmblock-onl...
Status: RESOLVED DUPLICATE of bug 462666
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 04:49 UTC by Nathan
Modified: 2014-04-26 16:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2014-01-19 04:49:51 UTC
unable to emerge vmware-modules with 3.10.25 kernel.
vmware-workstation installed fine.

Here is my build file
^[[34;01m * ^[[39;49;00mPackage:    app-emulation/vmware-modules-279.1
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: vmware@gentoo.org
^[[32;01m * ^[[39;49;00mUSE:        amd64 elibc_glibc kernel_linux userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
 ^[[32;01m*^[[0m Determining the location of the kernel source code
 ^[[32;01m*^[[0m Found kernel source directory:
 ^[[32;01m*^[[0m     /usr/src/linux
 ^[[32;01m*^[[0m Found kernel object directory:
 ^[[32;01m*^[[0m     /lib/modules/3.10.25-gentoo/build
 ^[[32;01m*^[[0m Found sources for kernel version:
 ^[[32;01m*^[[0m     3.10.25-gentoo
 ^[[32;01m*^[[0m Checking for suitable kernel configuration options...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Checking for suitable kernel configuration options...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-279.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-279.1/work ...
 ^[[32;01m*^[[0m Applying 279-makefile-kernel-dir.patch ...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 279-makefile-include.patch ...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 279-netdevice.patch ...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 279-apic.patch ...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 279-putname.patch ...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying 279-vmblock.patch ...
^[[A^[[217C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-279.1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-279.1/work ...
 ^[[32;01m*^[[0m Preparing vmblock module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.10.25-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.10.25-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.10.25-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/super.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/module.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.o
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:38:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:38:4: warning: (near initialization for 'LinkDentryOps.d_revalidate') [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c: In function 'DentryOpRevalidate':
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:104:7: warning: passing argument 2 of 'actualDentry->d_op->d_revalidate' makes integer from pointer without a cast [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/dentry.c:104:7: note: expected 'unsigned int' but argument is of type 'struct nameidata *'
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.c:49:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.c:49:4: warning: (near initialization for 'RootInodeOps.lookup') [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.c: In function 'InodeOpLookup':
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type 'kgid_t' from type 'int'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c: In function 'ExecuteBlockOp':
/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only/linux/control.c:282:9: warning: assignment from incompatible pointer type [enabled by default]
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.25-gentoo'
make: *** [vmblock.ko] Error 2
 ^[[31;01m*^[[0m ERROR: app-emulation/vmware-modules-279.1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.1::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.1::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.1/work/vmblock-only'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/app-emulation/vmware-modules-279.1/work'


Reproducible: Always

Steps to Reproduce:
1.emerge vmware-modules
2.
3.
Comment 1 Nathan 2014-01-19 05:23:18 UTC
I read through this post but all thepatches seem to only go for kernels newer than 3.11.

Here is my emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_965_@_3.20GHz-with-gentoo-2.2
KiB Mem:     6170084 total,   2907196 free
KiB Swap:       2556 total,      2552 free
Timestamp of tree: Sun, 19 Jan 2014 04:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.6.8-r3, 2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nvidia ogg opengl openmp ovftool pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-pager vim-syntax vix vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Nathan 2014-01-19 05:24:05 UTC
https://forums.gentoo.org/viewtopic-t-979802.html
here is the link mentioned above forgot to paste it in too.
Comment 3 Nathan 2014-01-19 22:25:33 UTC
I have been trying all the other versions of vmware workstation in the tree.

vmware-workstation-10.0.0.1295980
vmware-workstation-10.0.1.1379776-r1
vmware-workstation-10.0.1.1379776
vmware-workstation-8.0.5.893925
vmware-workstation-9.0.2.1031769-r1

As I go down the list it pulls in an older version of vmware-modules
I have ended up trying all of these...

vmware-modules-279.1
vmware-modules-279.0
vmware-modules-271.2
vmware-modules-264.5

each time I get basically the same results....

here was the last version 264.5 results (as pulled in by vmware-workstation)
-------------------------------------------------------------------------------
make[1]: Entering directory `/usr/src/linux-3.10.25-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dbllnklst.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dentry.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/inode.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/super.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/module.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/control.o
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/control.c: In function 'ExecuteBlockOp':
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/control.c:285:9: warning: assignment from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dentry.c:38:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dentry.c:38:4: warning: (near initialization for 'LinkDentryOps.d_revalidate') [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dentry.c: In function 'DentryOpRevalidate':
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dentry.c:104:7: warning: passing argument 2 of 'actualDentry->d_op->d_revalidate' makes integer from pointer without a cast [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/dentry.c:104:7: note: expected 'unsigned int' but argument is of type 'struct nameidata *'
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/inode.c:49:4: warning: initialization from incompatible pointer type [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/inode.c:49:4: warning: (near initialization for 'RootInodeOps.lookup') [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/inode.c: In function 'InodeOpLookup':
/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type 'kgid_t' from type 'int'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/inode.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.25-gentoo'
make: *** [vmblock.ko] Error 2
-------------------------------------------------------------------------------

Can this be an issue with my compiler? I have a 2 year old gentoo workstation with vmware running at work. I ran into issues with emerging system and world a year ago and I stopped updating. I just reinstalled a fresh copy intending to get past this issue, but no matter what version I try any latest version of vmware-workstation fails. I see that others are getting theirs to work, so am I missing a USE flag, or missing another package? Is something wrong with gcc settings?

Im up to date on the stable tree, but I noticed vmware workstation is masked. Seems obviously why now. However, after all this time there has to be a way to get this to work.

my gcc flags are
[ebuild   R    ] sys-devel/gcc-4.7.3-r1:4.7  USE="cxx fortran mudflap (multilib) nls nptl openmp (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 81,024 kB
Comment 4 Greg Turner 2014-01-22 15:45:50 UTC
(In reply to Nathan from comment #3)
> I have been trying all the other versions of vmware workstation in the tree.
> 
> vmware-workstation-10.0.0.1295980
> vmware-workstation-10.0.1.1379776-r1
> vmware-workstation-10.0.1.1379776
> vmware-workstation-8.0.5.893925
> vmware-workstation-9.0.2.1031769-r1
> 
> As I go down the list it pulls in an older version of vmware-modules
> I have ended up trying all of these...
> 
> vmware-modules-279.1
> vmware-modules-279.0
> vmware-modules-271.2
> vmware-modules-264.5
> 
> each time I get basically the same results....
> 
> here was the last version 264.5 results (as pulled in by vmware-workstation)
> -----------------------------------------------------------------------------
> --
> make[1]: Entering directory `/usr/src/linux-3.10.25-gentoo'
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dbllnklst.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dentry.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> stubs.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> file.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> block.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> inode.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> super.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> filesystem.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> module.o
>   CC [M] 
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> control.o
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> control.c: In function 'ExecuteBlockOp':
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> control.c:285:9: warning: assignment from incompatible pointer type [enabled
> by default]
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dentry.c:38:4: warning: initialization from incompatible pointer type
> [enabled by default]
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dentry.c:38:4: warning: (near initialization for
> 'LinkDentryOps.d_revalidate') [enabled by default]
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dentry.c: In function 'DentryOpRevalidate':
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dentry.c:104:7: warning: passing argument 2 of
> 'actualDentry->d_op->d_revalidate' makes integer from pointer without a cast
> [enabled by default]
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> dentry.c:104:7: note: expected 'unsigned int' but argument is of type
> 'struct nameidata *'
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> inode.c:49:4: warning: initialization from incompatible pointer type
> [enabled by default]
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> inode.c:49:4: warning: (near initialization for 'RootInodeOps.lookup')
> [enabled by default]
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> inode.c: In function 'InodeOpLookup':
> /var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> inode.c:138:32: error: incompatible types when assigning to type 'kgid_t'
> from type 'int'
> make[3]: ***
> [/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-only/linux/
> inode.o] Error 1
> make[2]: ***
> [_module_/var/tmp/portage/app-emulation/vmware-modules-264.5/work/vmblock-
> only] Error 2
> make[1]: *** [sub-make] Error 2
> make[1]: Leaving directory `/usr/src/linux-3.10.25-gentoo'
> make: *** [vmblock.ko] Error 2
> -----------------------------------------------------------------------------
> --
> 
> Can this be an issue with my compiler? I have a 2 year old gentoo
> workstation with vmware running at work. I ran into issues with emerging
> system and world a year ago and I stopped updating. I just reinstalled a
> fresh copy intending to get past this issue, but no matter what version I
> try any latest version of vmware-workstation fails. I see that others are
> getting theirs to work, so am I missing a USE flag, or missing another
> package? Is something wrong with gcc settings?
> 
> Im up to date on the stable tree, but I noticed vmware workstation is
> masked. Seems obviously why now. However, after all this time there has to
> be a way to get this to work.
> 
> my gcc flags are
> [ebuild   R    ] sys-devel/gcc-4.7.3-r1:4.7  USE="cxx fortran mudflap
> (multilib) nls nptl openmp (-altivec) -awt -doc (-fixed-point) -gcj -go
> -graphite (-hardened) (-libssp) -multislot -nopie -nossp -objc -objc++
> -objc-gc -regression-test -vanilla" 81,024 kB

no, those are standard well-known error modalities caused by a mismatch of patches in your vmware-modules tree & the sources they are being compiled against.

Try reading some of the older closed bugs from about a year ago.  I've patched those exact errors probably dozens of times by hand... if you know a little C they're actually pretty easy to figure out manually.  Another place to look is on the VMWare forums.

Search the vmware "community" site (if you feel like it's so aesthetically ugly and unusable it can't possibly the right place, you've found it) for your error messages, and try the first 20 links or so... you'll definitely find it.

However, you should know that the module building "framework" vmware provides is really fussy -- to a shocking degree -- when it comes to everything needing to be in sync -- /lib/modules, /usr/src/linux, and the running kernel, and maybe other places too, really need to all be freshly compiled against the exact same toolchain or else, generally, vmware will invariably find a way to fuck up your world.  Also watch out for CFLAGS and changed gcc versions -- those can definitely change the ABI your kernel needs and cause breakage.  But in this case (assuming you are compiling against the right kernel in the first place) you have a missing patch to google for.

(scare quotes on "framework" just 'cause it pisses me off so bad -- but in truth it is a Real(tm) framework, just not a very bleeding-edge friendly one)
Comment 5 Nathan 2014-01-22 16:37:48 UTC
(In reply to Greg Turner from comment #4)

> Try reading some of the older closed bugs from about a year ago.  I've
> patched those exact errors probably dozens of times by hand... if you know a
> little C they're actually pretty easy to figure out manually.  Another place
> to look is on the VMWare forums.


I did read through and try a few patches and forced some onto 3.10.25 but no luck.  I sat through some C courses 20 years ago, so after all this time I might still remember what a pointer is, but it would be a great feat of ingenuity for me to manage to scratch out a 'hello world' :)
Comment 6 Nathan 2014-01-22 17:07:27 UTC
OK, some success..not perfect but enought to get going...

I found this patch set...
https://bugs.gentoo.org/show_bug.cgi?id=462666

its for 271.2-r1 vmware-modules, so I installed this patch, and emerge worstation v9 which pulled in 271.2 (no -r1).  It failed, but then I explicity build with
emerge =app-emulation/vmware-modules-271.2-r1 it pulled in the patch and worked.

I can now get going again I hope.

SO now if we can get this setup to work with 279.1 and vmware workstation v10, I will hopefully be able to get this installed!
Comment 7 Nathan 2014-01-22 17:37:40 UTC
well, not that I got it started it appears the newer version of ICU 51.x causes issues with me. Oh the joy!

here is what I get now after the patch I mentioned above...http://forums.gentoo.org/viewtopic-t-958226-start-0.html

I hope when I can get an updated patch for v10 , 279, and 3.10.25  maybe I can actually start a vm.
Comment 8 Nathan 2014-01-22 17:44:42 UTC
https://bugs.gentoo.org/show_bug.cgi?id=465126
here is a bug report for above, tried several things, but it does mention v10 appeared to work, sort of ..
Comment 9 Nathan 2014-01-22 17:59:27 UTC
I force fed the patch from https://bugs.gentoo.org/show_bug.cgi?id=462666 by changing its name to 279-userns.patch and adding the line 
kernel_is ge 3 8 0 && epatch "${FILESDIR}/${PV_MAJOR}-userns.patch"
to src_prepare and it compiled!

I need to get a hold of a lic key now since it wont let me have a trial for some reason, but, I will let you know.

From my point of view I just took an axe into surgery, so hopefully someone with better patching skills than I can update the patch correctly as I have no clue what I am doing.  I only know enough to be dangerous here :)
Comment 10 Nathan 2014-01-22 18:41:29 UTC
well, v10 wont let me continue with a trial copy, but I got my vm to start using vmware-player which installs with workstation as well.  I have to get boss to upgrade my v8 license, but that might take a bit.  However, it appears I can at least start my vms back up until I get this resovled.
Comment 11 Nathan 2014-01-23 19:27:33 UTC
got workstation 10 licensed.  Fix from the above mentioned bug worked after mangling the ebuild and renaming patch.

Please check it out and update ebuilds.  Looks like this one passes through several builds of vmware modules.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-26 16:14:38 UTC

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