Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268099 - app-emulation/vmware-modules-1.0.0.23 fails to build with 2.6.30_rc3
Summary: app-emulation/vmware-modules-1.0.0.23 fails to build with 2.6.30_rc3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 13:03 UTC by Rahul Jain
Modified: 2009-06-14 15:55 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 Rahul Jain 2009-05-01 13:03:16 UTC
app-emulation/vmware-modules-1.0.0.23 fails to build with 2.6.30_rc3

In file included from /usr/src/linux-2.6-zen/arch/x86/include/asm/apic.h:11,                                    
                 from /usr/src/linux-2.6-zen/arch/x86/include/asm/smp.h:13,                                     
                 from include/linux/smp.h:36,                                                                   
                 from include/linux/topology.h:33,                                                              
                 from include/linux/gfp.h:7,                                                                    
                 from include/linux/kmod.h:22,                                                                  
                 from include/linux/module.h:13,                                                                
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/compat_module.h:27,                                                                                                      
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:26: 
/usr/src/linux-2.6-zen/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition                                                                                                           
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':                                                                                              
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'                                                                           
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':                                                                                                         
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'                                                                              
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'                                                                               
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'                                                                             
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'                                                                               
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'                                                                              
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6-zen'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.23 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3626:  Called linux-mod_src_compile
 *             environment, line 2749:  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_V65 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.23/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/temp/environment'.
 *


Reproducible: Always
Comment 1 Rahul Jain 2009-05-01 13:05:39 UTC
Same problem with app-emulation/vmware-modules-1.0.0.23-r1 from the vmware overlay.
Comment 2 velladecin 2009-05-30 08:50:48 UTC
anything new about this bug?
Comment 3 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-05-31 02:19:20 UTC
(In reply to comment #0)
> app-emulation/vmware-modules-1.0.0.23 fails to build with 2.6.30_rc3
Coud you try app-emulation/vmware-modules-1.0.0.23-r1?
Comment 4 velladecin 2009-06-01 01:18:33 UTC
(In reply to comment #3)
> (In reply to comment #0)
> > app-emulation/vmware-modules-1.0.0.23 fails to build with 2.6.30_rc3
> Coud you try app-emulation/vmware-modules-1.0.0.23-r1?
> 

i can actually install the modules package by itself, but i cannot install vmware-server :(  

if i '~x86' both packages then it installs vmware-server 2.0 (both server and modules build fine) which never configures correctly, no matter what i do, and never starts any VMs

if i don't '~x86' then it fails to build the modules
but server is vmware-server-1.0.8.126538
   modules are vmware-modules-1.0.0.15-r2 (fail same way this bug describes it)

and if i '~x86' the modules only and install them (they build fine), then install vmware-server, i can bring the GUI up but it never starts any VMs

i know this is not a forum, and i apologize, but can someone shed some light on this issue?
Comment 5 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-06-14 15:54:51 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #0)
> > > app-emulation/vmware-modules-1.0.0.23 fails to build with 2.6.30_rc3
> > Coud you try app-emulation/vmware-modules-1.0.0.23-r1?
> > 
> 
> i can actually install the modules package by itself, but i cannot install
> vmware-server :(  
> 
> if i '~x86' both packages then it installs vmware-server 2.0 (both server and
> modules build fine) which never configures correctly, no matter what i do, and
> never starts any VMs
> 
> if i don't '~x86' then it fails to build the modules
> but server is vmware-server-1.0.8.126538
>    modules are vmware-modules-1.0.0.15-r2 (fail same way this bug describes it)
> 
> and if i '~x86' the modules only and install them (they build fine), then
> install vmware-server, i can bring the GUI up but it never starts any VMs
> 
> i know this is not a forum, and i apologize, but can someone shed some light on
> this issue?
> 

Basically
1.0.0.1x is for vmware-server 1.0.x
1.0.0.2x modules is for vmware server 2.0.x 

Try ~x86 and vmware server 2.
Comment 6 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-06-14 15:55:09 UTC
I've commited new vmware-modules ebuild to portage tree. It has patches for 2.6.29 and 2.6.30.