Gentoo Archives: gentoo-dev

From: "Justin T." <justint@×××.net>
To: gentoo <gentoo-dev@g.o>
Subject: [gentoo-dev] Portage and CCache
Date: Thu, 27 Jun 2002 14:39:30
Message-Id: 200206272139.27827.justint@gmx.net
1 Heya,
2
3 Maybe I did something wrong, but it has taken me forever to get CCache and
4 Portage to work nicely together.
5
6 * sys-apps/portage
7 Latest version Installed: 2.0.8
8 * dev-util/ccache
9 Latest version Installed: 1.9
10
11 So... I had ccache originally set up before I upgraded portage (yes... 2.0.8,
12 because I had too many problems with CCache and 2.0.7... all related to
13 this):
14
15 Sandbox... I had my ccache setup so that the cache was in /var/cache/ccache...
16 worked fine with older version of portage (2.0.5 for example.) With the
17 portage 2.0.7 I couldn't use ccache because of write problems with Sandbox.
18 Errors looked like this:
19
20 ACCESS DENIED unlink: /var/cache/ccache/tmp.stdout.11722.i
21 ACCESS DENIED open_wr: /var/cache/ccache/tmp.stdout.11722.i
22 ACCESS DENIED unlink: /var/cache/ccache/tmp.stdout.11722.i
23 ACCESS DENIED unlink: /var/cache/ccache/tmp.cpp_stderr.11722
24 ACCESS DENIED open_wr: /var/cache/ccache/stats
25
26 So... too make a long story short... I fixed this by changing my ccache
27 directory and my CCACHE_DIR env variable to point to:
28
29 /var/tmp/ccache
30
31 instead and now it works fine. Not sure if this was the way to go or whether
32 there was an easier way to do this... :)
33
34 Just so you guys know...in case anyone else has the same problem.
35
36 Justin T :)