Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288735 - app-emulation/vmware-modules-1.0.0.25: can't emerge with kernel-2.6.30-gentoo-r6 and i686-pc-linux-gnu-4.3.2
Summary: app-emulation/vmware-modules-1.0.0.25: can't emerge with kernel-2.6.30-gentoo...
Status: RESOLVED DUPLICATE of bug 273173
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 15:23 UTC by Sergio Basurto
Modified: 2009-10-12 17:06 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 Sergio Basurto 2009-10-12 15:23:01 UTC
I emerge gentoo-sources for kernel-2.6.30-gentoo-r6 and upgrade my gcc, after 
  make && make modules install
  cp arch/i386/boot/bzImage /boot/kernel-2.6.30-gentoo-r6
and a smooth reboot vmware complains about the modules, so I unmerge my old version of vmware and try to install the newest, and it does not work.
My old kernel was kernel-2.6.25-gentoo-r7

Reproducible: Always

Steps to Reproduce:
1. emerge -v vmware-workstation
Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.25  0 kB
[ebuild     U ] x11-libs/gtk+-2.16.6 [2.14.7-r2] USE="X cups jpeg tiff -debug -doc -jpeg2k -test% -vim-syntax -xinerama" 0 kB
[ebuild     U ] x11-libs/pixman-0.16.0 [0.10.0] USE="(-altivec) -debug -mmx% -sse2%" 0 kB
[ebuild  N    ] dev-python/cython-0.11.2  USE="-doc -examples" 0 kB
[ebuild     U ] x11-libs/cairo-1.8.8 [1.6.4-r1] USE="X -cleartype% -debug -directfb -doc -glitz -opengl -svg -xcb (-test%)" 0 kB
[ebuild  N    ] dev-python/lxml-2.2.2  USE="threads -doc -examples" 0 kB
[ebuild  N    ] dev-cpp/cairomm-1.6.0  USE="-doc" 0 kB
[ebuild     U ] x11-libs/pango-1.24.5-r1 [1.20.5] USE="X -debug -doc -test%" 0 kB
[ebuild  N    ] dev-cpp/pangomm-2.24.0  USE="-debug -doc" 0 kB
[ebuild  N    ] dev-cpp/gtkmm-2.16.0  USE="-debug -doc -examples -test" 0 kB
[ebuild  N    ] dev-cpp/libgnomecanvasmm-2.22.0  USE="-debug -doc -examples" 0 kB
[ebuild  N    ] dev-cpp/libsexymm-0.1.9  USE="-debug -doc" 0 kB
[ebuild  N    ] x11-libs/libview-0.6.2  USE="-debug" 0 kB
[ebuild IN f  ] app-emulation/vmware-workstation-6.5.3.185404  0 kB

Total: 14 packages (4 upgrades, 10 new, 1 interactive), Size of downloads: 0 kB
Fetch Restriction: 1 package


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 14) app-emulation/vmware-modules-1.0.0.25
 * vmware-modules-1.0.0.25.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-r6/build
 * Found sources for kernel version:
 *     2.6.30-gentoo-r6
>>> Unpacking source...
>>> Unpacking vmware-modules-1.0.0.25.x86.tar.bz2 to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Unpacking ./vmware-modules-1.0.0.25/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Unpacking ./vmware-modules-1.0.0.25/vmci.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Unpacking ./vmware-modules-1.0.0.25/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Unpacking ./vmware-modules-1.0.0.25/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Unpacking ./vmware-modules-1.0.0.25/vsock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work ...
 * Applying 1.0.0.25-makefile-kernel-dir.patch ...                                                                                  [ o
 * Applying 1.0.0.25-makefile-include.patch ...                                                                                     [ o
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work ...
 * Preparing vmblock 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
UILD_OUTPUT=/lib/modules/2.6.30-gentoo-r6/build 
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.30-gentoo-r6/build SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r6'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only/Makefile:116: *** Inappropriate build environment: you wanted 
use gcc version 4.1.2 while kernel attempts to use gcc version 4.3.2.
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only/Makefile:118: *** For proper build you'll have to replace i686
-linux-gnu-gcc with symbolic link to cc.  Stop.
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r6'
make: *** [vmblock.ko] Error 2
 * 
 * ERROR: app-emulation/vmware-modules-1.0.0.25 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3737:  Called linux-mod_src_compile
 *             environment, line 2877:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CROSS_COMPILE=${CHOST}-        
FLAGS=\"$(get_abi_LDFLAGS)\"                                            ${BUILD_FIXES}                                          ${BUILD
RAMS}                                           ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${C
T}- 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=
r/src/linux KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r6/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.25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/temp/environment'.
 * 

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

>>>  '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/temp/build.log'

 * Messages for package app-emulation/vmware-modules-1.0.0.25:

 * 
 * ERROR: app-emulation/vmware-modules-1.0.0.25 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3737:  Called linux-mod_src_compile
 *             environment, line 2877:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CROSS_COMPILE=${CHOST}-        
FLAGS=\"$(get_abi_LDFLAGS)\"                                            ${BUILD_FIXES}                                          ${BUILD
RAMS}                                           ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${C
T}- 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=
r/src/linux KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r6/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.25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25/temp/environment'.
 * 


Expected Results:  
emerge vmware without problems

--------emerge info output----------------------------------------------------
# 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-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Core-TM-_Duo_CPU_T2600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Mon, 12 Oct 2009 00:00:20 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -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 /var/bind /var/lib/hsqldb"
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-a
ve/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
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 --e
ude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gif gpm gtk iconv ipv6 isdnlog java jpeg modules mudflap ncurs
nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl ssl sysfs tcpd tiff unicode x86 xorg zlib" ALSA_
DS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 int
x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug fi
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions a
s auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner a
z_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_con
 logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INP
DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERL
="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


--------gcc-config output-----------------------------------------------------
# gcc-config -l
 [1] i486-pc-linux-gnu-4.1.2
 [2] i686-pc-linux-gnu-4.3.2 *

--------------------------/etc/make.conf--------------------------------------
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
USE="gtk X jpeg gif tiff png java apache2"
--------------------------/etc/make.conf--------------------------------------
Comment 1 Sebastian Luther (few) 2009-10-12 17:06:23 UTC

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