Merged from trunk 5447:5459
Try to create DISTDIR before disabling fetch due to it's nonexistence. Thanks
to astinus for reporting.
add support for scanning of build logs for common issues #111436 (SpankMan)
Allow - in elog module names (genone)
undo (genone)
When using the spawn's returnpid parameter, manually remove the returned pids
from portage_exec.spawned_pids.
Use os._exit instead of sys.exit in a forked child process.
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.
Make sure stderr is flushed since os._exit doesn't flush stdio buffers.
Implement distlocks for --getbinpkg so that it works properly when
parallel-fetch is enabled. Thanks to Brent Baude <ranger@gentoo.org> for
reporting.
Export EBUILD_PHASE="" when running misc-function.sh in order to prevent bogus
phase values coming from ${T}/environment. Thanks to solar for reporting.
When fetching metadata from a binhost, reconnect if the http server closes the
connection before sending a valid response. Thanks to ranger for reporting.
Make sure that myid is defined for the previous commit.
svn path=/main/branches/prefix/; revision=5460