Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107538 - ccache not caching when upgrading to portage-2.0.51.22-r2
Summary: ccache not caching when upgrading to portage-2.0.51.22-r2
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-28 13:25 UTC by Chris Gentle
Modified: 2005-09-28 13:47 UTC (History)
0 users

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 Chris Gentle 2005-09-28 13:25:26 UTC
Upgraded from portage 2.0.51.19 to portage 2.0.51.22-r2.  Ccache no longer
works even though FEATURES="ccache" is set, /root/.ccache exists and 'ccache
-s' prints ccache statistics.  Emerge never populates the ccache with new
files and the stats remain at 0 for cache hits and misses.  This has been
reproduced on at least three machines.


Reproducible: Always
Steps to Reproduce:
1. upgrade to portage 2.0.51.22-r2
2. clear ccache stats (ccache -z)
3. check ccache stats (ccache -s)
4. emerge some application (I used 'bar')
5. check ccache stats (ccache -s)
Actual Results:  
No changes to ccache stats.

Expected Results:  
Ccache hits or misses should have incremented.

I set CCACHE_LOGFILE and noticed several things in the logfile that may be
related.  Here's a snippet:

No input file found
No input file found
No input file found
No -c option found for conftest.c
No -c option found for conftest.c
got cached result for conftest.o
got cached result for conftest.o
got cached result for conftest.o
compile of conftest.o gave status = 1
got cached result for conftest.o
No -c option found for conftest.c
No -c option found for conftest.c
No -c option found for conftest.c
No -c option found for conftest.c
No -c option found for conftest.c
No -c option found for conftest.c
got cached result for conftest.o
compile of conftest.o gave status = 1
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2005-09-28 13:47:13 UTC
ccache dir is in /var/tmp/ccache if you don't set CCACHE_DIR in make.conf