Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

ccache doesn't work with emerge[solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
MrGutis
n00b
n00b
Posts: 56
Joined: Fri Jan 28, 2005 12:09 pm

ccache doesn't work with emerge[solved]

  • Quote

Post by MrGutis » Sat Jul 16, 2005 2:37 pm

Hello,

I just installed freshly Gentoo, then emerged kde. But before that I installed ccache and configured like said in Handbook. And when I type

Code: Select all

ccache -s
it drops same statistics: all zeros except cache size 2G (I configured like that). And during emerging it also shows zeros. But if I try to make or compile handly something it functions normally.... so probably something is screwed up. I just don't get it what.
Last edited by MrGutis on Sat Jul 16, 2005 3:05 pm, edited 1 time in total.
Help me identify my destiny
Top
toralf
Developer
Developer
User avatar
Posts: 3944
Joined: Sun Feb 01, 2004 2:58 pm
Location: Hamburg
Contact:
Contact toralf
Website

  • Quote

Post by toralf » Sat Jul 16, 2005 2:42 pm

Code: Select all

CCACHE_DIR=/var/tmp/ccache/ watch ccache -s
Top
St. Joe
Apprentice
Apprentice
User avatar
Posts: 242
Joined: Wed Apr 13, 2005 9:38 pm
Location: USA

  • Quote

Post by St. Joe » Sat Jul 16, 2005 9:33 pm

toralf wrote:

Code: Select all

CCACHE_DIR=/var/tmp/ccache/ watch ccache -s
What do the 'compile failed' and 'cache miss' numbers mean?

Code: Select all

Every 2.0s: ccache -s                  
cache hit                          82615
cache miss                        184174
called for link                    25724
multiple source files                270
compile failed                      6040
ccache internal error                  3
preprocessor error                  1987
bad compiler arguments                12
not a C/C++ file                   17005
autoconf compile/link              44411
unsupported compiler option         8203
no input file                      50258
files in cache                    276997
cache size                           1.7 Gbytes
max cache size                       2.0 Gbytes
For every hammer there is a nail.
For every nail there is a thumb.
Top
BizarroJack
n00b
n00b
Posts: 29
Joined: Thu Dec 04, 2003 9:19 pm

not really "solved" yet

  • Quote

Post by BizarroJack » Mon Jul 18, 2005 7:33 pm

I assume this was introduced by a change to portage and not to ccache? Its seems to sort of undermine the existing stash in /root/.ccache , but I dont mind having a few eggs broken.

On my system, I moved out the young & understocked /var/tmp/ccache, moved /root/.ccache to that location and did a ton of chmods to make it match the one that was more recently created. Then I made a symlink from /root/.ccache to /var/tmp/ccache . If you actually want portage ccache separate from root's other compilings, one wouldn't want to do that, but I'm having trouble envisioning a scenario where that is desirable.

I suppose the goal was to make emerge with ccache usable by any user in the "portage" group?
Jack
Top
Sergejs.Magers
n00b
n00b
User avatar
Posts: 50
Joined: Tue May 31, 2005 7:17 pm
Location: Latvia

  • Quote

Post by Sergejs.Magers » Tue Jul 19, 2005 8:27 am

I was experiencing the same problem and this helped me. :wink:
Top
NeoCORE
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Sat Mar 15, 2003 1:27 pm
Location: Ireland
Contact:
Contact NeoCORE
Website

  • Quote

Post by NeoCORE » Thu Jul 21, 2005 12:47 am

worked for me as well, thanks :)
To err is human, but to really foul things up, you need a computer :D
NeoCORE Network:)
Adopt a post today! 8)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic