Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350907 - app-emulation/virtualbox-4.0.0 fails with forced as-needed
Summary: app-emulation/virtualbox-4.0.0 fails with forced as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2011-01-06 23:14 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-01-07 18:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,34.84 KB, text/plain)
2011-01-06 23:17 UTC, Lars Wendler (Polynomial-C) (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-06 23:14:52 UTC
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:
 *, 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"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-06 23:17:21 UTC
Created attachment 259101 [details]
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-07 18:16:53 UTC
+  07 Jan 2011; Lars Wendler <>
+  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.