When chrooting into the Stage1-System out of another system, $LD_LIBRARY_PATH is not being reset after env-update and source /etc/profile If $LD_LIBRARY_PATH was set in the outer system (in my case it was ":/usr/local/qt/lib", this will result in the following Error-Message when trying to build glibc (in my case this was when running the bootstrap-script) *snip* checking LD_LIBRARY_PATH variable... contains current directory configure: error: *** LD_LIBRARY_PATH shouldn't contain the current directory when *** building glibc. Please change the environment variable *** and run configure again. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 114, Exitcode 1 !!! (no error message) *snip* A quick workaround is unsetting $LD_LIBRARY_PATH or removing the seperating ":", which seems to mean "include the local directory". But I think it would make sense to reset it at least in the bootstrap-script, or at least give a hint in the building-documentation.
Fixed on CVS.