Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26374 - /root/.ccache directory created, but /etc/make.conf says shouldn't happen
Summary: /root/.ccache directory created, but /etc/make.conf says shouldn't happen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-10 21:35 UTC by Stephen Boulet
Modified: 2003-08-15 17:05 UTC (History)
1 user (show)

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


Attachments
portage.py patch (bugs.26374.patch,1.06 KB, patch)
2003-08-12 17:08 UTC, Masatomo Nakano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Boulet 2003-08-10 21:35:11 UTC
/etc/make.conf says:  "Portage will set the default ccache dir if it is not
present in the user's environment: ${PORTAGE_TMPDIR}/ccache (/var/tmp/ccache)."

I'm not setting CCACHE_DIR, but /root/.ccache is getting created anyway. Is
portage doing its job?

Reproducible: Always
Steps to Reproduce:
1. Add "FEATURES="distcc ccache" to /etc/make.conf
2. emerge ccache
3.

Actual Results:  
/root/.ccache directory created.

Expected Results:  
/var/tmp/ccache should have been created and used by ccache.
Comment 1 SpanKY gentoo-dev 2003-08-11 04:59:36 UTC
this has been reported before i just cant seem to locate the bug atm :/ 
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2003-08-12 17:08:20 UTC
Created attachment 16003 [details, diff]
portage.py patch

Fixed.

carpaski, I'm not sure this fix is correct. plsase check it.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-08-15 17:05:17 UTC
That comment in make.conf isn't right.
Userpriv can't write into root's home so it'll
auto change it to something legal.

Fixed the comment in cvs.