Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136798 - dev-util/confcache invalidates cache because of /var/tmp/portage/.../temp/fakehome/.qt/qt_plugins_3.3rc
Summary: dev-util/confcache invalidates cache because of /var/tmp/portage/.../temp/fak...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-14 09:53 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2006-06-29 11:37 UTC (History)
3 users (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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2006-06-14 09:53:41 UTC
I get this during compiling kde packages (kaboodle in this case). The previous merged package was kdemultimedia-arts.

* econf: updating kaboodle-3.5.3/admin/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating kaboodle-3.5.3/admin/config.sub with /usr/share/gnuconfig/config.sub
/usr/bin/confcache --confcache-ignore /var/tmp/ccache:/var/tmp/.distcc --confcache-dir /var/tmp/confcache ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-x --enable-mitshm --without-xinerama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib64 --disable-dependency-tracking --disable-debug --without-debug --disable-final --prefix=/usr/kde/3.5 --mandir=/usr/kde/3.5/share/man --infodir=/usr/kde/3.5/share/info --datadir=/usr/kde/3.5/share --sysconfdir=/usr/kde/3.5/etc --enable-libsuffix=64 --libdir=/usr/kde/3.5/lib64 --build=x86_64-pc-linux-gnu
invalidating during _verify_files due to caught %s [Errno 2] No such file or directory: '/var/tmp/portage/kdemultimedia-arts-3.5.3/temp/fakehome/.qt/qt_plugins_3.3rc'
cache invalidated due to md5
configure: creating cache config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu

Shouldn't it ignore files in /var/tmp? This file is always /var/tmp/portage/<previously-merged-package>/temp/fakehome/.qt/qt_plugins_3.3rc, so the cache is always invalidated (at least for some packages).

My workaround was to do this change in the confcache script:
regex_ignores = ["/tmp", "/dev", ".*/ccache"] -> regex_ignores = ["/tmp", "/dev", ".*/ccache", "/var"]

I'm not sure if it's correcty, but I have no problems with it.

emerge --info:
Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -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/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.zie.pg.gda.pl http://gentoo.intergenia.de http://gentoo.prz.rzeszow.pl"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdparanoia cdr cli cracklib crypt cups curl dbus dri dvd dvdr emboss encode exif expat ffmpeg firefox foomaticdb fortran ftp gdbm gif gimp glut gmp gstreamer gtk gtk2 hal imlib ipv6 isdnlog java javascript jpeg kde lzw lzw-tiff mad mng mono mozilla mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl php png pppd python qt quicktime readline reflection samba scanner sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb utf8 vorbis xorg xpm xv zip zlib elibc_glibc kernel_linux linguas_en linguas_pl userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matteo Sasso 2006-06-28 10:14:02 UTC
Same happens here with most of kde-base packages. Might it be because I emerged qt-4.1.2 before them? (I still have qt3 installed).
If you need my emerge --info just say so. :)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-29 11:37:54 UTC
I'm closing them as UPSTREAM as for now I can't do much until Brian provides me a new version of confcache that allows to trace who poisoned the cache.
This is also the main reason why confcache is masked right now.