Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC

Bug 458624

Summary: dev-util/ccache: elog messages shouldn't be shown always
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: trivial CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description Pacho Ramos gentoo-dev 2013-02-21 19:17:31 UTC
I can fix it myself if you let me (and check/fix your maintained packages if you want):
To use ccache with **non-Portage** C compiling, add
/usr/lib64/ccache/bin to the beginning of your path, before /usr/bin.
Portage 2.0.46-r11+ will automatically take advantage of ccache with
no additional steps.

-> Could use readme.gentoo.eclass to show it first time and have it in README.gentoo file under /usr/share/doc

If this is your first install of ccache, type
something like this to set a maximum cache size of 2GB:
# ccache -M 2G

-> This should be shown only first time (as the message says)

If you are upgrading from an older version than 3.x you should clear
all of your caches like so:
# CCACHE_DIR='/var/tmp/ccache' ccache -C

-> This should be shown when updating from that older versions

Thanks

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2013-04-06 18:28:45 UTC
should be all set now in the tree; thanks for the report!

Commit message: Only show ccache messages on first emerge
http://sources.gentoo.org/dev-util/ccache/ccache-3.1.9.ebuild?r1=1.13&r2=1.14