Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276168 - app-emulation/vmware-modules-1.0.0.23: compile error due to missing gtkmm ?
Summary: app-emulation/vmware-modules-1.0.0.23: compile error due to missing gtkmm ?
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: 2009-07-02 08:31 UTC by Toralf Förster
Modified: 2009-08-03 16:42 UTC (History)
2 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 Toralf Förster gentoo-dev 2009-07-02 08:31:06 UTC
* 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.29.5/build
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.29.5/build M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29.5'
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/./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.29.5/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.29.5/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.29.5/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.29.5/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:36,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:767,
                 from include/linux/gfp.h:4,
                 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.29.5/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:32:
/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
/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.29.5'
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 3652:  Called linux-mod_src_compile
 *             environment, line 2775:  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.29.5/build
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-emulation:vmware-modules-1.0.0.23:20090702-080836.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23/temp/environment'.
 *

>>> Failed to emerge app-emulation/vmware-modules-1.0.0.23, Log file:

>>>  '/var/log/portage/app-emulation:vmware-modules-1.0.0.23:20090702-080836.log'

 * GNU info directory index is up-to-date.


Reproducible: Always




n22 ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29.5 i686)
=================================================================
System uname: Linux-2.6.29.5-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Thu, 02 Jul 2009 06:45:01 +0000
ccache version 2.4 [enabled]
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
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 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=core2 -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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdda cddax cddb cdio cdr cli consolekit cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode evo exif fam fastbuild firefox fortran gdbm geoip gif gmp gpm gstreamer gtk hyphenation iconv ipv6 isdnlog java jpeg kde ldap libnotify mad mbox midi mikmod mmx mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session slp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff tk truetype unicode usb vcd vorbis win32codecs wmf x86 xml xorg xpm xscreensaver xulrunner xv zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Toralf Förster gentoo-dev 2009-07-02 09:15:25 UTC
FWIW this bug went away after putting the following line into /etc/portage/package.keywords/misc:

app-emulation/vmware-modules    ~x86

and run emerge again, b/c now gtkmm is build _before_ modules :


n22 ~ # emerge -a vmware-player

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

Calculating dependencies... done!
[ebuild  N    ] dev-cpp/gtkmm-2.12.7  USE="-debug -doc -examples -test"
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.23-r1
[ebuild  N    ] dev-cpp/libgnomecanvasmm-2.22.0  USE="-debug -doc -examples"
[ebuild  N    ] x11-libs/libview-0.6.2  USE="-debug"
[ebuild  N    ] dev-cpp/libsexymm-0.1.9  USE="-debug -doc"
[ebuild  N    ] app-emulation/vmware-player-2.5.2.156735



The initial (and failed) attempt to emerge vmware-palyer gave this emerge list :

n22 ~ # emerge -a vmware-player

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

Calculating dependencies... done!
[ebuild  N    ] dev-libs/libsigc++-2.2.3  USE="-debug -doc -test"
[ebuild  N    ] dev-cpp/cairomm-1.6.0  USE="-doc"
[ebuild  N    ] dev-cpp/glibmm-2.16.4  USE="-debug -doc -examples"
[ebuild  N    ] dev-python/lxml-1.3.6  USE="-doc -examples"
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.23
[ebuild  N    ] dev-cpp/gtkmm-2.12.7  USE="-debug -doc -examples -test"
[ebuild  N    ] dev-cpp/libgnomecanvasmm-2.22.0  USE="-debug -doc -examples"
[ebuild  N    ] x11-libs/libview-0.6.2  USE="-debug"
[ebuild  N    ] dev-cpp/libsexymm-0.1.9  USE="-debug -doc"
[ebuild  N    ] app-emulation/vmware-player-2.5.2.156735
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-03 01:36:24 UTC
vadimk: I fixed metadata.xml wrt your e-mail address.
Comment 3 Róbert Čerňanský 2009-07-04 12:02:40 UTC
There is 1.0.0.23-r1 for several weeks keyworded as testing which has fix for 2.6.29 kernel (and builds fine).

Perhaps it should went to stable together with gentoo-sources-2.6.28-r5 but was forgotten to?
Comment 4 Róbert Čerňanský 2009-07-04 12:04:00 UTC
Ah, I meant

...should went to stable together with gentoo-sources-2.6.29-r5 but...
Comment 5 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-07-06 21:04:13 UTC
(In reply to comment #1)
> FWIW this bug went away after putting the following line into
> /etc/portage/package.keywords/misc:
> 
> app-emulation/vmware-modules    ~x86
> 
Could you test 1.0.0.24? Add  
app-emulation/vmware-player ~x86
as well.
Comment 6 Toralf Förster gentoo-dev 2009-07-17 20:24:58 UTC
(In reply to comment #5)
> Could you test 1.0.0.24? Add  
> app-emulation/vmware-player ~x86
B/c I got w/ vanilla kernel 2.6.30.1 this error :

  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.23-r1/work/vmblock-only/linux/control.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23-r1/work/vmblock-only/linux/control.c: In function 'SetupProcDevice':
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23-r1/work/vmblock-only/linux/control.c:159: error: 'struct proc_dir_entry' has no member named 'owner'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23-r1/work/vmblock-only/linux/control.c:171: error: 'struct proc_dir_entry' has no member named 'owner'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23-r1/work/vmblock-only/linux/control.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.23-r1/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30.1'
make: *** [vmblock.ko] Error 2


I added these lines to /etc/portage/package.keywords/misc :

=app-emulation/vmware-player-2.5.2.156735-r1
=app-emulation/vmware-modules-1.0.0.24

which compiled fine.

Comment 7 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-03 16:42:52 UTC
fixed in vmware-modules-1.0.0.24