Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280382 - app-emulation/vmware-modules-1.0.0.23 fails to compile with kernel 2.6.30-gentoo-r4
Summary: app-emulation/vmware-modules-1.0.0.23 fails to compile with kernel 2.6.30-gen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Vadim Kuznetsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 22:34 UTC by Alexandr
Modified: 2009-08-28 14:43 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 Alexandr 2009-08-04 22:34:03 UTC
Package cannot rebuild after update kernel from 2.6.28-gentoo-r5 to 2.6.30-gentoo-r4.

Reproducible: Always

Steps to Reproduce:
emerge -v vmware-modules

Actual Results:  
>>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.23
 * vmware-modules-1.0.0.23.x86.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-r4/build
 * Found sources for kernel version:
 *     2.6.30-gentoo-r4
>>> Unpacking source...
>>> Unpacking vmware-modules-1.0.0.23.x86.tar.bz2 to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
>>> Unpacking ./vmware-modules-1.0.0.23/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...                                                                                  [ ok ]
>>> Unpacking ./vmware-modules-1.0.0.23/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...                                                                                  [ ok ]
>>> Unpacking ./vmware-modules-1.0.0.23/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
 * Converting vmblock-only/Makefile to use M= instead of SUBDIRS= ...                                                                                [ ok ]
>>> Unpacking ./vmware-modules-1.0.0.23/vmci.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
 * Converting vmci-only/Makefile to use M= instead of SUBDIRS= ...                                                                                   [ ok ]
>>> Unpacking ./vmware-modules-1.0.0.23/vsock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
 * Converting vsock-only/Makefile to use M= instead of SUBDIRS= ...                                                                                  [ ok ]
 * Applying 1.0.0.23-makefile-kernel-dir.patch ...                                                                                                   [ ok ]
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work ...
 * Preparing vmmon module
make -j3 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=/lib/modules/2.6.30-gentoo-r4/build
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.30-gentoo-r4/build M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:31:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-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
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./common/vmx86.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.h:29,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:101:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.30-gentoo-r4/arch/x86/include/asm/irq.h:10,
                 from include/linux/irq.h:27,
                 from /usr/src/linux-2.6.30-gentoo-r4/arch/x86/include/asm/hardirq.h:5,
                 from include/linux/hardirq.h:8,
                 from include/linux/interrupt.h:12,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/compat_interrupt.h:23,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:30:
/usr/src/linux-2.6.30-gentoo-r4/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 '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'
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.30-gentoo-r4'
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 3679:  Called linux-mod_src_compile
 *             environment, line 2802:  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=/lib/modules/2.6.30-gentoo-r4/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/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'.
 *


Expected Results:  
green

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_64_Processor_3800+-with-glibc2.0
Timestamp of tree: Tue, 04 Aug 2009 19:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.lagis.at/"
LANG="en_EN.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa avermedia berkdb bluetooth bzip2 cli cracklib crypt cups dbus directfb dri fbcon fbcondecor fbdev fbsplash fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jack jpeg jpeg2k kde lirc lm_sensors mmx mmxext mudflap mysql ncurses nforce2 nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection sdl session spl sqlite sse sse2 sse3 ssl symlink sysfs tcpd truetype unicode v4l v4l2 wifi x86 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="avermedia" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 James Earl Spahlinger 2009-08-05 00:42:02 UTC
May be related or a duplicate of bug 280204 however I do not see equivalent build errors or similar logs so this may be two distinct issues.
Comment 2 Alexandr 2009-08-05 12:18:23 UTC
(In reply to comment #1)
> May be related or a duplicate of bug 280204 however I do not see equivalent
> build errors or similar logs so this may be two distinct issues.
> 

Different version of package vmware-modules-1.0.0.23 and vmware-modules-1.0.0.23-r1. And different errors in different files.
Comment 3 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-05 13:12:13 UTC
1.0.0.24 has patch for 2.6.30 kernel
Please emerge 1.0.0.24
Comment 4 Alexandr 2009-08-06 04:55:33 UTC
(In reply to comment #3)
> 1.0.0.24 has patch for 2.6.30 kernel
> Please emerge 1.0.0.24
> 

emerge -va app-emulation/vmware-modules

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-emulation/vmware-modules-1.0.0.24 [1.0.0.23] 476 kB
[blocks B     ] >=app-emulation/vmware-modules-1.0.0.24 (">=app-emulation/vmware-modules-1.0.0.24" is blocking app-emulation/vmware-workstation-6.5.2.156735)

Total: 1 package (1 upgrade), Size of downloads: 476 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'app-emulation/vmware-workstation-6.5.2.156735', 'nomerge') pulled in by
    app-emulation/vmware-workstation required by world

  ('ebuild', '/', 'app-emulation/vmware-modules-1.0.0.24', 'merge') pulled in by
    app-emulation/vmware-modules


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 5 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-06 15:34:41 UTC
Please allow app-emulation/vmware-workstation-6.5.2.156735 to be upgraded to 
app-emulation/vmware-workstation-6.5.2.156735-r2 as well
Comment 6 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-06 15:39:28 UTC
I meant -r1

Please allow app-emulation/vmware-workstation-6.5.2.156735 to be upgraded to 
app-emulation/vmware-workstation-6.5.2.156735-r1 as well.

Comment 7 Alexandr 2009-08-08 22:22:38 UTC
(In reply to comment #6)
> I meant -r1
> 
> Please allow app-emulation/vmware-workstation-6.5.2.156735 to be upgraded to 
> app-emulation/vmware-workstation-6.5.2.156735-r1 as well.
> 

Thank you! I successful emerge vmware-modules-1.0.0.24 with vmware-workstation-6.5.2.156735-r1 and with linux-2.6.30-gentoo-r4.
Comment 8 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-28 14:43:46 UTC
fixed in vmware-modules-1.0.0.24 and vmware-modules-1.0.0.25