Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] ccache verweigert den dienst
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Tue May 29, 2007 6:14 am    Post subject: [solved] ccache verweigert den dienst Reply with quote

Hi, mein ccache verweigert den dienst, ich weiss absolout nicht warum.

Ausgabe von ccache -s:
Quote:

cache directory /var/cache/ccache
cache hit 0
cache miss 0
called for link 1078
preprocessor error 155
not a C/C++ file 148
autoconf compile/link 1211
no input file 129
files in cache 0
cache size 0 Kbytes
max cache size 2.0 Gbytes


Das ist doch nicht normal, ich hab bestimmt schon 30 (riesengrosse) pakete kompiliert seit ccache drauf ist.

Hier ein paar infos:

Aus der make.conf:
Quote:

FEATURES="ccache collision-protect fixpackages parallel-fetch userfetch userpriv usersandbox"
CCACHE_DIR="/var/cache/ccache"
CCACHE_SIZE="2G"


Quote:

~ % ccache -V
ccache version 2.4
Copyright Andrew Tridgell 2002
Released under the GNU GPL v2 or later


Quote:

running sudo emerge --version
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-moo-r2 i686)


Quote:

~ % ll /usr/lib/ccache/bin
total 0
0 lrwxrwxrwx 1 root root 15 2007-05-24 19:34 c++ -> /usr/bin/ccache*
0 lrwxrwxrwx 1 root root 15 2007-05-24 19:34 g++ -> /usr/bin/ccache*
0 lrwxrwxrwx 1 root root 15 2007-05-24 19:34 gcc -> /usr/bin/ccache*
0 lrwxrwxrwx 1 root root 15 2007-05-28 16:37 i686-pc-linux-gnu-c++ -> /usr/bin/ccache*
0 lrwxrwxrwx 1 root root 15 2007-05-28 16:37 i686-pc-linux-gnu-g++ -> /usr/bin/ccache*
0 lrwxrwxrwx 1 root root 15 2007-05-28 16:37 i686-pc-linux-gnu-gcc -> /usr/bin/ccache*


Quote:

~ % cat /etc/env.d/99local
CCACHE_DIR="/var/cache/ccache"


Last edited by ocin on Tue May 29, 2007 10:05 pm; edited 2 times in total
Back to top
View user's profile Send private message
tuxianer
Apprentice
Apprentice


Joined: 17 Dec 2005
Posts: 280
Location: Cologne - Germany

PostPosted: Tue May 29, 2007 7:12 am    Post subject: Reply with quote

Hi,

vll. ist dein Cache ja auch einfach nur voll. Mach mal bitte
Code:
du -h /var/cache/ccache/


Und poste mal wieviel GB das sind und dann löscht du das verzeichniss bitte... aber sag uns vorher die Größe :!:



MfG
_________________
Bei Fragen bitte wie folgt vor gehen:
Forum Suche, Lesen, Denken, (NICHTS GEFUNDEN?), Tippen, Posten !
Wer Sorgen hat, der hat auch Likör ! ( Wilhelm Busch)
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Tue May 29, 2007 7:32 am    Post subject: Re: ccache verweigert den dienst Reply with quote

Nicito wrote:
Hi, mein ccache verweigert den dienst, ich weiss absolout nicht warum.

Probier mal CCACHE_DIR="/var/cache/ccache" ccache -s - wobei Portage den ccache per default unter /var/tmp/ccache ablegt.
Back to top
View user's profile Send private message
Knieper
l33t
l33t


Joined: 10 Nov 2005
Posts: 846

PostPosted: Tue May 29, 2007 7:56 am    Post subject: Re: ccache verweigert den dienst Reply with quote

Nicito wrote:

FEATURES="ccache collision-protect fixpackages parallel-fetch userfetch userpriv usersandbox"


Bei mir lief es nicht mit "userpriv", obwohl der Bug angeblich behoben sein soll.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Tue May 29, 2007 9:49 pm    Post subject: Re: ccache verweigert den dienst Reply with quote

Knieper wrote:
Nicito wrote:

FEATURES="ccache collision-protect fixpackages parallel-fetch userfetch userpriv usersandbox"


Bei mir lief es nicht mit "userpriv", obwohl der Bug angeblich behoben sein soll.


oh ja das ist es, danke
dann mach ich mal nen bug auf falls es keinen gibt

e: hab jetzt im bugtracker geschaut, und bin fündig geworden :oops:
Sorry

Lösung: chmod -R g+w /var/ccachedir
Bug: Hier
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum