Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225245 - sys-apps/portage-2.1.4.4 kills ccache when userpriv FEATURE enabled
Summary: sys-apps/portage-2.1.4.4 kills ccache when userpriv FEATURE enabled
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 16:50 UTC by rushfan73
Modified: 2010-09-13 17:50 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 rushfan73 2008-06-07 16:50:49 UTC
When the userpriv FEATURE is enabled, portage falls to call ccache during the compile.

Reproducible: Always

Steps to Reproduce:
1.Install and configure ccache with userpriv FEATURE enabled.
2.Emerge some package several times
3.Look at the results of ccache -s

Actual Results:  
The ccache is less than one megabyte and there are no ccache hits.

Expected Results:  
The ccache should have expanded in size.

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Timestamp of tree: Sun, 01 Jun 2008 22:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ "
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano /usr/portage/local/layman/zugaina /usr/portage/local/layman/arcon /usr/local/portage/nut_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 7zip X a52 aac aalib acl acpi aim alsa amd64 aotuv archive audiofile bash-completion berkdb binary-drivers binfilter bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt css cups dbus divx dmi dri dvb dvd dvdr dvdread eds effects emboss encode evo fam fastcgi ffmpeg firefox flac flood fortran gdbm gif gimpprint glitz gmail gmailtimestamps gpm grammar gtalk gtk hal hdhomerun iconv ieee1394 ipod isdnlog ivtv jabber java jpeg kde kerberos lame ldap libao libnotify lirc lm_sensors mad matroska midi mikmod mmx mp3 mpeg mudflap multilib mysql mythtv ncurses nls nptl nptlonly nvidia ogg openal opengl openmp oscar pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session shout spell spl sse sse2 ssl startup-notification svg tcpd theora tiff truetype unicode vorbis wavpack wma wmf wxwindows x264 xcomposite xinerama xml xorg xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2008-06-07 18:22:32 UTC
Did you use the right CCACHE_DIR (should be /var/tmp/ccache) when you checked for ccache activity?
Comment 2 Zac Medico gentoo-dev 2008-06-07 19:59:30 UTC
This seems like possibly a duplicate of bug 162542. Please try with portage-2.1.5.4.
Comment 3 Sebastian Luther (few) 2010-09-13 17:50:15 UTC
Closing as need info. Feel free to reopen if you're able to reproduce it with a recent portage version.