blocke@kodiak blocke $ emerge --version Portage 2.0.13 blocke@kodiak blocke $ ls -l /eclass-debug.log -rw-r--r-- 1 root root 27190 Jul 11 23:43 /eclass-debug.log That file needs to be served an eviction notice :P
I see it... Please look at debug-print() in ebuild.sh. I don't see how or why the log file ends up in /, it should go in $T and it does go there but a copy is in /! Wierdest thing is, it isn't caught by the sandbox. I'm really puzzled by this... any idea?
I can't reproduce it at will either, but once in a while /eclass-debug/log appears again. I'll try to catch it the next time.
Just confirming that this bug still exists, and is still annoying ;). $emerge --version Portage 2.0.22
drobbins told me why this happens: it turns out $T (=$WORKDIR/temp) isn't defined when emerge sources an ebuild oly for dep calculation. So piping > $T/eclass-debug.log put the file in /. I've fixed this in ebuild.sh in gentoo-src and it should be included in the next portage (2.0.27).
This is fixed in the latest portage versions.