Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208154 - app-emulation/open-vm-tools and kernel 2.6.24-gentoo fails to compile
Summary: app-emulation/open-vm-tools and kernel 2.6.24-gentoo fails to compile
Status: RESOLVED FIXED
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: 2008-01-30 09:14 UTC by Steffen Bergner
Modified: 2008-02-13 16:24 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 Steffen Bergner 2008-01-30 09:14:52 UTC
"emerge -vp open-vm-tools" with a running gentoo-sources kernel "2.6.24-gentoo" fails:

...
config.status: executing depfiles commands
 * Preparing vmblock module
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.24-gentoo/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/block.o
In file included from /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/vmblockInt.h:40,
                 from /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/block.c:29:
/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/./include/vm_basic_types.h:197: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
make[3]: *** [/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/block.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [vmblock.ko] Error 2
 *
 * ERROR: app-emulation/open-vm-tools-0.0.20071121.64693 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 3110:  Called linux-mod_src_compile
 *             environment, line 2377:  Called die
 * The specific snippet of code:
 *               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
 *  The die message:
 *   Unable to make   auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.24-gentoo/build.
 *
 * 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/open-vm-tools-0.0.20071121.64693/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
Comment 1 Steffen Bergner 2008-01-30 09:40:25 UTC
Newest release of open-vm-tools seems to solve the problem for me:

open-vm-tools  	2008.01.23  	January 23, 2008

(http://sourceforge.net/project/showfiles.php?group_id=204462)

Please update gentoo package (bump to new version).
Comment 2 Mike Auty (RETIRED) gentoo-dev 2008-01-30 22:17:35 UTC
This has now been bumped in the main tree.  Please re-open this if there are any further difficulties against the 2.6.24 kernel.