emerge app-emulation/virtualbox-ose-2.1.4-r1 fails at the beginning of the compiling Reproducible: Always Steps to Reproduce: 1.emerge -tuN world 2. 3. Actual Results: >>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE ... kmk TOOL_GCC3_CC=i686-pc-linux-gnu-gcc TOOL_GCC3_CXX=i686-pc-linux-gnu-g++ TOOL_GCC3_AS=i686-pc-linux-gnu-gcc TOOL_GCC3_AR=i686-pc-linux-gnu-ar TOOL_GCC3_LD=i686-pc-linux-gnu-g++ TOOL_GCC3_LD_SYSMOD=i686-pc-linux-gnu-ld 'TOOL_GCC3_CFLAGS= -O2 -march=i686 -pipe' 'TOOL_GCC3_CXXFLAGS= -O2 -march=i686 -pipe' TOOL_YASM_AS=yasm KBUILD_PATH=/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/kBuild all Config.kmk:1564: /var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/work/VirtualBox-2.1.4_OSE/out/linux.x86/release/GCCConfig.kmk: Nie ma takiego pliku ani katalogu Config.kmk:2513: *** extraneous `endif'. Stop. * * ERROR: app-emulation/virtualbox-ose-2.1.4-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 3545: Called die * The specific snippet of code: * MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" all || die "kmk failed" * The die message: * kmk failed * * 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/virtualbox-ose-2.1.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-2.1.4-r1/temp/environment'. Expected Results: it should emerge it successfully of course :) Just before emerging I've updated (emerge --sync) portage. I've tried to compile it by gcc both 4.1.2 and 4.3.3 versions and both failed.
*** This bug has been marked as a duplicate of bug 262271 ***