Summary: | app-emulation/vmware-modules-1.0.0.15-r2 fails to compile on kernels 2.6.29 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | alisou <alixelinux> |
Component: | Current packages | Assignee: | Gentoo VMWare Bug Squashers [disabled] <vmware+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | andrew.bugs, bugs-gentoo, chris.lieb.hotmail+gentoo, daniele.boffi, doron.fediuck, fuzzyray, gengor, gentoo, hrabe, JakesAddress, jan.bednar, jcornez, liumengjiang, Manfred.Knick, marat, mephinet, rossi.f, s7mon, thomas, throw_away_2002, viper, willard.dawson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 264722 | ||
Attachments: | build.log |
Description
alisou
2009-03-28 18:28:51 UTC
Created attachment 186581 [details]
build.log
Similar bug: 254768 Similar bug: http://bugs.gentoo.org/254768 > Similar bug: http://bugs.gentoo.org/254768
Nope...
The 1.0.0.15-r2 compiles fine with all stable/maintenance kernel releases below 2.6.29, it's only since 2.6.29 that the build fails.
Note that I have NOT tried any 2.6.29-rc releases.
I'm in the same situation. Browsing the web, I found this http://forums.remote-exploit.org/showthread.php?t=21380 The guy patched the vmware modules and offers a tar.gz file with the sources. http://www.spryweb.co.uk/vmware-server-modules-2.6.29.tar.gz I haven't confirmed yet that they are actually for vmware 1.0.8. Maybe we're lucky? Doing a diff of the vmmon module source files from the tar.gz file above with what we have in 1.0.15-r2 shows a lot of differences. Many of them seem related to code for 2.4 kernels (which doesn't seem to exist in 'our' source files). Some files only exist in our tree and other in the other tree. It would take someone with more experience with vmware sources than myself to take a deep look into this... Any progress on this? I can't use an older kernel and vmware is critical for my everyday usage... There seems to be a patch available from here. I had good luck with patches from this source for the 2.6.27 and 2.6.28 kernels... http://www.insecure.ws/2009/04/21/vmware-specific-specific-55x-and-kernel-2629 Another related link in addition to those in comments #5 and #8: http://www.it-psycho.de/2009/03/29/vmware-server-108-und-kernel-2629/ ping... 2.6.29 is planned to go stable on 23rd may, would be nice to see this fixed Looks like the same bug hit me. Definitely important (for me) to get this fixed soon. 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.29-gentoo-r5/arch/x86/include/asm/fixmap_32.h:29, from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/fixmap.h:5, from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/apic.h:8, from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/smp.h:13, from include/linux/smp.h:36, from include/linux/topology.h:33, from include/linux/mmzone.h:767, 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.29-gentoo-r5/arch/x86/include/asm/apicdef.h:132: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.29-gentoo-r5' make: *** [vmmon.ko] Error 2 * * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3657: Called linux-mod_src_compile * environment, line 2775: 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=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.29-gentoo-r5/build * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-emulation:vmware-modules-1.0.0.15-r2:20090601-142141.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/log/portage/app-emulation:vmware-modules-1.0.0.15-r2:20090601-142141.log' Looks like the same bug hit me. Ping...? * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.29-gentoo-r5 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking vmware-any-any-update115.tar.gz to /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work >>> Unpacking ./vmware-any-any-update115/vmmon.tar to /home/portage/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 /home/portage/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 /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work >>> Compiling source in /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work ... * Preparing vmmon module make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-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.29-gentoo-r5' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o In file included from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/x86.h:21, from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.h:15, from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:53: /home/portage/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.29-gentoo-r5/arch/x86/include/asm/fixmap_32.h:29, from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/fixmap.h:5, from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/apic.h:8, from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/smp.h:13, from include/linux/smp.h:36, from include/linux/topology.h:33, from include/linux/mmzone.h:767, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:16: /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition In file included from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/vmci_kernel_defs.h:26, from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./common/vmciContext.h:19, from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.h:21, from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:53: /home/portage/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 /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Open’: /home/portage/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’ /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’: /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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’ /home/portage/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]: *** [/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o] Error 1 make[2]: *** [_module_/home/portage/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.29-gentoo-r5' make: *** [vmmon.ko] Error 2 * * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3643: Called linux-mod_src_compile * environment, line 2761: 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=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-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 '/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/build.log'. * The ebuild environment file is located at '/home/portage/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: *** Bug 265933 has been marked as a duplicate of this bug. *** I'm hitting this problem as well. vmware-modules-1.0.0.15-r2 on 2.6.29-gentoo-r5 (which I upgraded to this morning) on i686 (not x86_64/amd64 which the OP's info mentions). It appears that there's been no activity on this bug for the last month or so? Has it been fixed? Or are we waiting on someone/thing? Posted a set of patches which should fix this in: http://bugs.gentoo.org/show_bug.cgi?id=273173 *** This bug has been marked as a duplicate of bug 273173 *** |