Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255205 - app-emulation/vmware-modules-1.0.0.15-r2 fails to compile on kernels <=2.6.27
Summary: app-emulation/vmware-modules-1.0.0.15-r2 fails to compile on kernels <=2.6.27
Status: RESOLVED DUPLICATE of bug 223449
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 21:34 UTC by norbert kamenicky
Modified: 2009-01-20 09:27 UTC (History)
0 users

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 norbert kamenicky 2009-01-16 21:34:40 UTC
vmware-modules-1.0.0.15-r2 fails to compile with 
error: conflicting types for 'poll_initwait'


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge vmware-modules
3. 

Actual Results:  




#ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 2009-01-16 12:30 /usr/src/linux -> linux-2.6.27-gentoo-r7

vmware-modules-1.0.0.15-r2 fails to compile with this message:

  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/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:65: error: previous declaration of 'poll_initwait' was here
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.27-gentoo-r7'
make: *** [vmmon.ko] Error 2
 .
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-19 04:46:43 UTC
Assigning to maintainers for review.
Comment 2 Mike Auty (RETIRED) gentoo-dev 2009-01-19 09:52:31 UTC
Please include your emerge --info.  Off the top of my head, I'm guessing you're using mfpmath=sse (see bug 223449), but without your emerge --info I can't tell.

Please, please include the output from emerge --info every time you file a bug.  I'm going to mark this as NEEDINFO until then.
Comment 3 norbert kamenicky 2009-01-19 10:58:46 UTC
(In reply to comment #2)
> I'm guessing you're using mfpmath=sse (see bug 223449)

Yes, u're right, those are my CFLAGS:
"-march=pentium3 -O2 -mfpmath=sse -mmmx -pipe"

Thanks !

PS.
Ok, if this is known bug, ebuild should check it and print warning.
Comment 4 Mike Auty (RETIRED) gentoo-dev 2009-01-19 17:51:34 UTC
You're right, it should do.  If you see the previous bug I mentioned, it included a filter-flags line, that should be in the main tree's vmware-mod eclass (/usr/portage/eclass/vmware-mod.eclass).  Can you please check it's there?  If not then try resyncing.  If so, I'll have to take another look at it and see what's going wrong.  It might be the -mmmx is causing the problem, so could you please try rebuilding with just that too?  If it fails, then we'll have to filter that as well.  Thanks...  5:)
Comment 5 norbert kamenicky 2009-01-19 23:40:53 UTC
(In reply to comment #4)
> Can you please check it's there? 

$ grep sse  /usr/portage/eclass/vmware-mod.eclass
        filter-flags -mfpmath=sse 

As u can see, it's there ...

> It might be the -mmmx is causing the problem
> could you please try rebuilding with just that too?

Yes, it works ok now ! 
(sse flag is filtered properly, it seems that mmx flag makes no troubles.)

Ok, vmware-modules-1.0.0.15-r2 and vmware-server-1.0.8.126538 emerged, 
but fails to start ... see next bug:

http://bugs.gentoo.org/show_bug.cgi?id=255565
Comment 6 Mike Auty (RETIRED) gentoo-dev 2009-01-19 23:48:40 UTC
Ok, but if the filter-flags was there, why were you getting the build error?  Or did you not try syncing before you rebuilt the modules when reporting this error?

Are you saying that without making any changes to your configuration everything now builds ok?  What's different from when you filed this bug?
Comment 7 norbert kamenicky 2009-01-20 08:37:43 UTC
(In reply to comment #6)

bug opened: 2009-01-16 21:34 0000
rsync'ed at >>> Thu Jan 15 10:02:25 2009
rsync'ed at >>> Fri Jan 16 11:04:49 2009
rsync'ed at >>> Mon Jan 19 12:44:10 2009

only after the last rsync it start to work  

Comment 8 Mike Auty (RETIRED) gentoo-dev 2009-01-20 09:27:08 UTC
Yep, that's pretty odd then, I made the fix on the 10th.

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vmware-mod.eclass?rev=1.18&view=markup

You should've had the fix on the 15th.  Not to worry, it sounds like it's all sorted at least, and that I don't need to make any changes...  5:)
Comment 9 Mike Auty (RETIRED) gentoo-dev 2009-01-20 09:27:25 UTC

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