[ccache] basedir testsuite fails as non-root

Matt matt at use.net
Wed Nov 28 16:56:52 MST 2012


I'm getting this on RHEL 6.1 when trying to build from source RPM, or with 
a fresh checkout. Thanks in advance for any suggestions/fixes :)

mhargett at pyrite:~/rpmbuild/BUILD/ccache-3.1.8$ CC='gcc' ./test.sh
starting testsuite base
starting testsuite link
starting testsuite hardlink
starting testsuite cpp2
starting testsuite nlevels4
starting testsuite nlevels1
starting testsuite basedir
SUITE: "basedir", TEST: "set CCACHE_BASEDIR" - Expected "cache miss" to be 
1, got 0
cache directory 
/u/mhargett/rpmbuild/BUILD/ccache-3.1.8/testdir.32495/.ccache
primary config 
/u/mhargett/rpmbuild/BUILD/ccache-3.1.8/testdir.32495/ccache.conf
secondary config      (readonly)
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                             0
preprocessor error                     1
files in cache                         0
cache size                           0.0 kB
max cache size                       5.0 GB
TEST FAILED
Test data and log file have been left in testdir.32495
mhargett at pyrite:~/rpmbuild/BUILD/ccache-3.1.8$ sudo CC='gcc' ./test.sh
starting testsuite base
starting testsuite link
starting testsuite hardlink
starting testsuite cpp2
starting testsuite nlevels4
starting testsuite nlevels1
starting testsuite basedir
starting testsuite direct
starting testsuite compression
starting testsuite readonly
starting testsuite extrafiles
starting testsuite cleanup
starting testsuite pch
starting testsuite upgrade
starting testsuite prefix
test done - OK



--
tangled strands of DNA explain the way that I behave.
http://www.clock.org/~matt


More information about the ccache mailing list