/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.
this has been reported before i just cant seem to locate the bug atm :/
Created attachment 16003 [details, diff] portage.py patch Fixed. carpaski, I'm not sure this fix is correct. plsase check it.
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.