Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458624 - dev-util/ccache: elog messages shouldn't be shown always
Summary: dev-util/ccache: elog messages shouldn't be shown always
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2013-02-21 19:17 UTC by Pacho Ramos
Modified: 2013-04-06 18:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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