CXX bldRTManifest - {C}/src/VBox/Runtime/tools/RTManifest.cpp LD bldRTManifest /var/tmp/portage/app-emulation/virtualbox-4.0.0/work/VirtualBox-4.0.0_OSE/out/linux.amd64/release/lib/RuntimeBldProg.a(process-creation-posix.o): In function `rtCheckCredentials': /var/tmp/portage/app-emulation/virtualbox-4.0.0/work/VirtualBox-4.0.0_OSE/src/VBox/Runtime/r3/posix/process-creation-posix.cpp:107: undefined reference to `crypt_r' collect2: ld returned 1 exit status kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.0.0/work/VirtualBox-4.0.0_OSE/out/linux.amd64/release/obj/bldRTManifest/bldRTManifest] Error 1 The failing command: @x86_64-pc-linux-gnu-g++ -m64 -o /var/tmp/portage/app-emulation/virtualbox-4.0.0/work/VirtualBox-4.0.0_OSE/out/linux.amd64/release/obj/bldRTManifest/bldRTManifest /var/tmp/portage/app-emulation/virtualbox-4.0.0/work/VirtualBox-4.0.0_OSE/out/linux.amd64/release/obj/bldRTManifest/RTManifest.o -lpthread -lm -lrt -ldl -lcrypt /var/tmp/portage/app-emulation/virtualbox-4.0.0/work/VirtualBox-4.0.0_OSE/out/linux.amd64/release/lib/RuntimeBldProg.a -lpthread -lm -lrt -ldl -lcrypto emake failed * ERROR: app-emulation/virtualbox-4.0.0 failed: * kmk failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5472: 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"
Created attachment 259101 [details] build.log
+ 07 Jan 2011; Lars Wendler <polynomial-c@gentoo.org> + virtualbox-3.2.12-r3.ebuild, virtualbox-3.2.12-r4.ebuild, + files/virtualbox-4-asneeded.patch: + Fixed forced as-needed issue (bug #350907). Thanks to xarthisius for + providing a fix. Really fixed PDEPEND for pkgmove.