* This profile has not been tested thoroughly and is not considered to be * a supported server profile at this time. For a supported server * profile, please check the Hardened project (http://hardened.gentoo.org). * This profile is merely a convenience for people who require a more * minimal profile, yet are unable to use hardened due to restrictions in * the software being used on the server. This profile should also be used * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this * applies to you, then it doesn't and you should probably be using * Hardened, instead. * No USE="opengl" selected, this build will lack * the OpenGL feature. >>> Unpacking source... >>> Unpacking VirtualBox-3.1.0-OSE.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work >>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work >>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE ... * Applying virtualbox-ose-3.0.0-mesa-check.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE ... Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK. Checking for kBuild: found, OK. Checking for gcc: found version 4.3.4, OK. Checking for as86: found version 0.16.17, OK. Checking for bcc: found version 0.16.17, OK. Checking for iasl: found version 20090123, OK. Checking for xslt: found, OK. Checking for pthread: found, OK. Checking for libxml2: found version 2.7.3, OK. Checking for libxslt: found version 1.1.26, OK. Checking for libIDL: found version 0.8.13, OK. Checking for ssl: found version OpenSSL 0.9.8l 5 Nov 2009, OK. Checking for libcurl: found version 7.19.6, OK. Checking for zlib: found version 1.2.3, OK. Checking for libpng: found version 1.2.38, OK. Checking for static stc++ library: found, OK. Checking for libcap library: found, OK. Checking for compiler.h: compiler.h not found, OK. Checking for GSOAP compiler: found, OK. Successfully generated '/var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/AutoConfig.kmk' and '/var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/env.sh'. Source '/var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/env.sh' once before you start to build VBox: source /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/env.sh kmk To compile the kernel modules, do: cd ./out/linux.x86/release/bin/src make +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ Hardening is enabled which means that the VBox binaries will not run from the binary directory. The binaries have to be installed suid root and some more prerequisites have to be fulfilled which is normally done by installing the final package. For development, the hardening feature can be disabled by specifying the --disable-hardening parameter. Please never disable that feature for the final distribution! +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ Enjoy! >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE ... kmk -j3 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=pentium4 -pipe' 'TOOL_GCC3_CXXFLAGS= -O2 -march=pentium4 -pipe' TOOL_YASM_AS=yasm KBUILD_PATH=/var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/kBuild all Config.kmk:1767: /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/out/linux.x86/release/GCCConfig.kmk: No such file or directory Config.kmk:3902: /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/out/linux.x86/release/revision.kmk: No such file or directory /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/kBuild/units/qt4.kmk:170: kBuild: Couldn't find the Qt4 headers and libaries... /usr/share/kBuild/footer.kmk:708: *** kBuild: Cannot find include file for the template 'VBOXQT4GUI'! Searched: /var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/work/VirtualBox-3.1.0_OSE/kBuild/templates . Stop. * * ERROR: app-emulation/virtualbox-ose-3.1.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3814: 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-3.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-ose-3.1.0/temp/environment'. *