Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276579 - app-emulation/vmware-modules-1.0.0.24 compile error: previous declaration of ‘poll_initwait’
Summary: app-emulation/vmware-modules-1.0.0.24 compile error: previous declaration of ...
Status: RESOLVED DUPLICATE of bug 268741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
: 276642 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-05 13:11 UTC by Anton Ziborov
Modified: 2009-10-30 18:53 UTC (History)
3 users (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 Anton Ziborov 2009-07-05 13:11:00 UTC
>>> Emerging (1 of 2) app-emulation/vmware-modules-1.0.0.24
 * vmware-modules-1.0.0.24.amd64.tar.bz2 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 kernel object directory:
 *     /lib/modules/2.6.30-gentoo-r1/build
 * Found sources for kernel version:
 *     2.6.30-gentoo-r1
>>> Unpacking source...
>>> Unpacking vmware-modules-1.0.0.24.amd64.tar.bz2 to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Unpacking ./vmware-modules-1.0.0.24/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Unpacking ./vmware-modules-1.0.0.24/vmci.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Unpacking ./vmware-modules-1.0.0.24/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Unpacking ./vmware-modules-1.0.0.24/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Unpacking ./vmware-modules-1.0.0.24/vsock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work ...
 * Applying 1.0.0.24-makefile-kernel-dir.patch ...                                                                                    [ ok ]
 * Applying 1.0.0.24-kernel-2.6.29.patch ...                                                                                          [ ok ]
 * Applying 1.0.0.24-kernel-2.6.30.patch ...                                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work ...
 * Preparing vmblock module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r1/build 
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.30-gentoo-r1/build SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r1'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmblock-only/linux/block.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmblock-only/linux/os.h:36,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmblock-only/linux/block.c:27:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmblock-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:67: error: previous declaration of ‘poll_initwait’ was here
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmblock-only/linux/block.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r1'
make: *** [vmblock.ko] Error 2
 * 
 * ERROR: app-emulation/vmware-modules-1.0.0.24 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3679:  Called linux-mod_src_compile
 *             environment, line 2837:  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_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r1/build


Reproducible: Always
Comment 1 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-07-06 20:09:07 UTC
*** Bug 276642 has been marked as a duplicate of this bug. ***
Comment 2 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-03 16:52:10 UTC
Please see:
https://bugs.gentoo.org/show_bug.cgi?id=268741
Can you say if it's the same bug in your opinion?
Do you have FTRACE enabled?
Comment 3 Mathias Weigt 2009-09-04 08:55:07 UTC
(In reply to comment #2)
> Please see:
> https://bugs.gentoo.org/show_bug.cgi?id=268741
> Can you say if it's the same bug in your opinion?
> Do you have FTRACE enabled?
> 

Same here with vmware-modules-1.0.0.25 and gentoo-sources-2.6.30-r5.
Error message seems to be the same as here and in https://bugs.gentoo.org/show_bug.cgi?id=268741
Comment 4 Steven Elling 2009-10-18 06:20:56 UTC
Same error here with vmware-modules-1.0.0.15-r2 and 2.6.29-gentoo-r5 kernel
Comment 5 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-10-30 18:53:54 UTC

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