Summary: | app-emulation/vmware-modules fails due to VERSION environment polution | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Jakubowski <daemon> |
Component: | [OLD] Unspecified | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | euclid80, jakub, scoperchiatore, vmware+disabled |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michal Jakubowski
2006-08-04 08:31:34 UTC
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 |