Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 4932

Summary: eclass-debug.log should not be created in /
Product: Portage Development Reporter: Bruce A. Locke (RETIRED) <blocke>
Component: UnclassifiedAssignee: Dan Armak (RETIRED) <danarmak>
Status: RESOLVED FIXED    
Severity: normal CC: danielsabo, drobbins
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruce A. Locke (RETIRED) gentoo-dev 2002-07-12 22:03:16 UTC
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
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-07-15 17:02:46 UTC
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? 
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-07-18 04:47:20 UTC
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. 
Comment 3 Daniel Sabo 2002-07-31 18:55:58 UTC
Just confirming that this bug still exists, and is still annoying ;).

$emerge --version
Portage 2.0.22
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-08-06 14:36:41 UTC
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). 
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-08-29 08:42:20 UTC
This is fixed in the latest portage versions.