basedir testsuite fails as non-root

Matt <[email protected]>
Newsgroups gmane.comp.compilers.ccache
Message-ID <[email protected]>
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@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@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.