Summary: | sys-apps/portage-2.1.9.42: Adjusting permissions for FEATURES=ccache: '/tmp/tmpcS_jLR/ccache' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Toralf Förster <toralf> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 373933 | ||
Attachments: | skip CCACHE_DIR for pkg_info |
Description
Toralf Förster
2011-06-16 09:44:33 UTC
It's emerge informing you that it's doing something to help you use ccache. The real problem seems to be that your CCACHE_DIR isn't set or wrongly set. But only for few packages : tfoerste@n22 ~ $ time equery l '*' | cut -f1 -d: | sed 's/^/=/' | while read p; do echo $p; emerge --info $p 2>&1 1>/dev/null; done | grep -B 1 'Adjusting' | grep '^=' =app-admin/eselect-xvmc-0.1 =app-cdr/dvd+rw-tools-7.1-r1 =app-dicts/aspell-en-6.0.0 =app-editors/hexcurse-1.55 =app-text/libpaper-1.1.23 =app-text/sloccount-2.26-r1 =app-vim/info-1.7-r1 =dev-util/splint-3.1.2 =kde-base/kdebase-pam-7 =media-libs/ftgl-2.1.3_rc5 =media-libs/libdv-1.0.0-r2 =media-libs/libmpeg2-0.5.1 =net-mail/mailbase-1 =net-misc/netkit-telnetd-0.17-r8 =sys-devel/autoconf-2.13 =sys-process/cronbase-0.3.2-r1 =sys-process/vixie-cron-4.1-r10 =virtual/cdrtools-0 =virtual/httpd-cgi-0 =virtual/libstdc++-3.3 and these settings looks ok : tfoerste@n22 ~ $ grep -i cca /etc/make.conf CCACHE_SIZE="2G" FEATURES="parallel-fetch ccache compress-build-logs" I've seen that message for a few packages too. ccache itself seems to work fine. I'm not setting CCACHE_DIR for portage, relying on the default values. That message seems to appear only before src_compile phase - probably one of eclasses circumvents silencing. Created attachment 277283 [details, diff]
skip CCACHE_DIR for pkg_info
Save as /tmp/pkg_info_ccache.patch and apply as follows:
patch /usr/lib/portage/pym/portage/package/ebuild/prepare_build_dirs.py /tmp/pkg_info_ccache.patch
patch works Thanks for testing. This is in 2.2.0_alpha42, but I'll leave this bug open until it's in an unmasked release. This is fixed in 2.1.10.4. |