Hi All, I've just synced my portage repository and I'm trying to install vmware-server (1.0.9 is the current stable for AMD64), when trying to emerge vmware-modules I've this error message: ~# emerge vmware-server Calculating dependencies... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 2) app-emulation/vmware-modules-1.0.0.15-r2 * vmware-any-any-update115.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.30-gentoo-r5ben * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work >>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work * Applying various patches (bugfixes/updates) ... * 000_all_makefile-include-directory.patch ... [ ok ] * 020_all_epoll-def-warnings.patch ... [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 030_all_fix-linux-headers.patch ... [ ok ] * 035_all_kernel-2.6.25.patch ... [ ok ] * 040_all_kernel-2.6.27.patch ... [ ok ] * Done with patching * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work * Applying various patches (bugfixes/updates) ... * 000_all_makefile-include-directory.patch ... [ ok ] * 020_all_epoll-def-warnings.patch ... [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 021_all_wireless_fix.patch ... [ ok ] * 025_all_kernel-2.6.25.patch ... [ ok ] * 030_all_kernel-2.6.27.patch ... [ ok ] * Done with patching * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work >>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work ... * Preparing vmmon module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux Using 2.6.x kernel build system. make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r5' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/x86.h:21, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.h:15, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:53: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined In file included from /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/apic.h:11, from /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/smp.h:13, from /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/mmzone_64.h:12, from /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/mmzone.h:4, from include/linux/mmzone.h:775, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:16: /usr/src/linux-2.6.30-gentoo-r5/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/vmci_kernel_defs.h:26, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./common/vmciContext.h:19, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.h:21, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:53: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’ include/linux/poll.h:67: error: previous declaration of ‘poll_initwait’ was here /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Open’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:579: error: ‘struct task_struct’ has no member named ‘euid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1530: error: ‘struct task_struct’ has no member named ‘suid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1531: error: ‘struct task_struct’ has no member named ‘cap_permitted’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1796: error: ‘struct task_struct’ has no member named ‘euid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1796: error: ‘struct task_struct’ has no member named ‘uid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1797: error: ‘struct task_struct’ has no member named ‘fsuid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1797: error: ‘struct task_struct’ has no member named ‘uid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1798: error: ‘struct task_struct’ has no member named ‘egid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1798: error: ‘struct task_struct’ has no member named ‘gid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1799: error: ‘struct task_struct’ has no member named ‘fsgid’ /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1799: error: ‘struct task_struct’ has no member named ‘gid’ make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r5' make: *** [vmmon.ko] Error 2 * * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3838: Called linux-mod_src_compile * environment, line 2920: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/environment'. * >>> Failed to emerge app-emulation/vmware-modules-1.0.0.15-r2, Log file: >>> '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/build.log' * Messages for package app-emulation/vmware-modules-1.0.0.15-r2: * * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3838: Called linux-mod_src_compile * environment, line 2920: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. Sync with latest stable portage (today is 2009.10.09) 2. emerge vmware-server 3. when you've package vmware-server-modules-1.0.0.15-r2 you'll see the error message Actual Results: Failed and cannot install VMWare-Server Expected Results: vmware server installed
*** Bug 288301 has been marked as a duplicate of this bug. ***
*** Bug 288303 has been marked as a duplicate of this bug. ***
Forgot to mention I've 2.6.30-gentoo-r5 kernel with UNUSED_SYMBOLS flag compiled I was previously using 2.6.27 kernel and everything worked fine
*** This bug has been marked as a duplicate of bug 273173 *** *** This bug has been marked as a duplicate of bug 273173 ***