Sorcerer / # FEATURES="-collision-protect" emerge app-emulation/vmware-server Calculating dependencies... done! >>> starting parallel fetching >>> Emerging (1 of 2) app-emulation/vmware-modules-1.0.0.15 to / * VMware-server-1.0.0-28343.tar.gz MD5 ;-) ... [ ok ] * VMware-server-1.0.0-28343.tar.gz RMD160 ;-) ... [ ok ] * VMware-server-1.0.0-28343.tar.gz SHA1 ;-) ... [ ok ] * VMware-server-1.0.0-28343.tar.gz SHA256 ;-) ... [ ok ] * VMware-server-1.0.0-28343.tar.gz size ;-) ... [ ok ] >>> Creating Manifest for /usr/portage/app-emulation/vmware-modules digest.assumed 1 digest-vmware-modules-1.0.0.11::vmware-any-any-update101.tar.gz digest-vmware-modules-1.0.0.13::vmware-any-any-update101.tar.gz digest-vmware-modules-1.0.0.8::vmware-any-any-update101.tar.gz * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking VMware-server-1.0.0-28343.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.17-beyond2.2 >>> Checking VMware-server-1.0.0-28343.tar.gz's mtime... >>> WORKDIR is up-to-date, keeping... >>> Compiling source in /var/tmp/portage/vmware-modules-1.0.0.15/work ... * Preparing vmmon module Using 2.6.x kernel build system. Makefile:89: *** Inappropriate build environment: you wanted to use gcc version while kernel attempts to use gcc version 4.1.1. Makefile:91: *** For proper build you'll have to replace i686-pc-linux-gnu-gcc with symbolic link to . Stop. !!! ERROR: app-emulation/vmware-modules-1.0.0.15 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile ebuild.sh, line 1252: Called linux-mod_src_compile linux-mod.eclass, line 469: Called die !!! Unable to make auto-build VMWARE_VER=VME_V55. !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1_pre4-r2 (default-linux/x86/2006.0, gcc-4.1.1/hardened, glibc-2.4-r3, 2.6.17-beyond2.2 i686) ================================================================= System uname: 2.6.17-beyond2.2 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.4 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.4-r1, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O2 -s -pipe -fstack-protector -m3dnow -msse -mmmx -ftracer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache collision-protect confcache digest distlocks fixpackages keepwork metadata-transfer parallel-fetch prelink sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s" LINGUAS="pl" MAKEOPTS="-j2 -s" PKGDIR="/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.banned" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-xgl /usr/local/xgl-coffee /usr/local/portage" SYNC="rsync://gentoo.prz.edu.pl/gentoo-portage" USE="3dnow 3dnowext X Xaw3d adsl alsa apache2 apic apm arts atm avi berkdb bitmap-fonts cairo cdparanoia cdrom cli cmov crypt cups curl cx8 de dhcp divx4linux dlloader dri dv dvd dvdr dvdread dvi eds elibc_glibc emboss encode esd extramodules fam firefox foomaticdb fortran fpu fxsr gdbm gg gif glitz gnome gpm gstreamer gtk gtk2 hal halimlib hardened hddtemp imlib ipv6 irssi isdnlog java jpeg kde kerberos kernel_linux kqemu ldap libg++ libwww linguas_pl lirc mad mca mce mikmod mmx mmx2 mmxext motif mp3 mpeg mpeg2 mplayer msr mtrr mysql ncurses network nls nptl nptlonly ntfs nvidia ogg oggvorbis opengl opera oss pae pam pat pcre pdf pdflib perl pge pic png ppdsdvdr pppd pse pse36 python qt qt3 qt4 quicktime readline reflection sdl seamonkey sep serial server session speedup spell spl sse ssl syscall tcpd tiff transcode truetype truetype-fonts tsc type1-fonts udev usb userland_GNU vme vmware voice vorbis win32codecs wmf wxGTK wxgtk1 x86 xml xml2 xmms xorg xprint xv zlib input_devices_keyboard input_devices_mouse video_cards_nvidia" Unset: CTARGET, INSTALL_MASK
Hmmm, fairly strange. The closest thing I've seen is on a previous version of vmware-workstation, there were complaints that the modules didn't build because the gcc version wasn't correct. It turned out that the VERSION environment variable was set, and was causing issues with the compilation. Could you please check to see whether that's been set, and whether you have javacc installed (since that seemed to be what was causing the problem)?
Please also note, you've got some pretty strange LD_FLAGS defined. Please try turning those off too, and report back whether that helps the compilation. Thanks... 5:)
Changing this to TEST-REQUEST, since there haven't been any further reports of the issue and I can't do much more on this bug without feedback from the questions/tests I requested.
*** Bug 155996 has been marked as a duplicate of this bug. ***
*** Bug 179994 has been marked as a duplicate of this bug. ***
@java folks, what's stuff like VERSION="Sun JDK 1.5.0.06" doing in users' environment?
(In reply to comment #6) > @java folks, what's stuff like VERSION="Sun JDK 1.5.0.06" doing in users' > environment? Looks like env file (/etc/env.d/20java) from before gen-2. Current java-config-1 comments it out when selecting gen-1 system vm. So a java-check-environment should catch that.
Anyway, this looks like a dupe of Bug 56407; portage should take care of this.
desktop integer # emerge -av vmware-modules These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-emulation/vmware-modules-1.0.0.15-r1 0 kB [?=>0] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [?] indicates that the source repository could not be determined Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.15-r1 to / * vmware-any-any-update109.tar.gz RMD160 ;-) ... [ ok ] * vmware-any-any-update109.tar.gz SHA1 ;-) ... [ ok ] * vmware-any-any-update109.tar.gz SHA256 ;-) ... [ ok ] * vmware-any-any-update109.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking vmware-any-any-update109.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.22-gentoo-r1/build * Found sources for kernel version: * 2.6.22-gentoo-r1 >>> Unpacking source... >>> Unpacking vmware-any-any-update109.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work >>> Unpacking ./vmware-any-any-update109/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work * Applying various patches (bugfixes/updates) ... * 000_all_makefile-include-directory.patch ... [ ok ] * 020_all_epoll-def-warnings.patch ... [ ok ] * Done with patching * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Unpacking ./vmware-any-any-update109/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work * Applying various patches (bugfixes/updates) ... * 000_all_makefile-include-directory.patch ... [ ok ] * 020_all_epoll-def-warnings.patch ... [ ok ] * Done with patching * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work ... * Preparing vmmon module Using 2.6.x kernel build system. make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r1' make[1]: предупреждение: сервер задач недоступен: используется -j1. Добавьте `+' к правилу в родительском make. CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/cpuid.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/hash.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/memtrack.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/phystrack.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o cc1plus: предупреждение: ключ "-Wstrict-prototypes" годится для C/ObjC, но не для C++ cc1plus: предупреждение: ключ "-Wdeclaration-after-statement" годится для C/ObjC, но не для C++ cc1plus: предупреждение: ключ "-Wno-pointer-sign" годится для C/ObjC, но не для C++ cc1plus: предупреждение: ключ "-Wstrict-prototypes" годится для C/ObjC, но не для C++ cc1plus: предупреждение: ключ "-ffreestanding" годится для C/ObjC, но не для C++ include/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’: include/asm/page.h:112: ошибка: expected primary-expression before ‘)’ token include/asm/page.h:112: ошибка: expected ‘;’ before ‘{’ token include/asm/page.h:112: ошибка: expected primary-expression before ‘.’ token include/asm/page.h:112: ошибка: expected `;' before ‘}’ token make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o] Ошибка 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Ошибка 2 make[1]: *** [modules] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r1' make: *** [vmmon.ko] Ошибка 2 * * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1328: Called linux-mod_src_compile * linux-mod.eclass, line 516: Called die * * Unable to make auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.22-gentoo-r1/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.15-r1/temp/build.log'.
Integer, your compilation failure does not relate to this problem. Please see bug 182595, which has hopefully been fixed earlier this morning (please update your layman repository when you get the chance). Thanks...
Thanks. (Please delete my message, that I print wrong. :)
Current java-config comments VERSION out so we can close this