Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4932 - eclass-debug.log should not be created in /
Summary: eclass-debug.log should not be created in /
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-12 22:03 UTC by Bruce A. Locke (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.