Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137713

Summary: emerge cups fail with confcache enabled
Product: Gentoo Linux Reporter: Leszek <leszek>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leszek 2006-06-23 04:54:08 UTC
it works with confcache disabled

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/cups-1.2.1-r2/work/cups-1.2.1 ...
/usr/bin/confcache --confcache-ignore /var/tmp/.distcc --confcache-dir /var/tmp/confcache ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-cups-user=lp --with-cups-group=lp --with-system-groups=lpadmin --localstatedir=/var --with-docdir=/usr/share/cups/html --with-bindnow=-Wl,-z,now --enable-pam --enable-ssl --disable-slp --enable-nls --enable-dbus --enable-png --enable-jpeg --enable-tiff --enable-libpaper --enable-threads --enable-static --disable-pdftops --disable-gnutls --enable-openssl --build=i686-pc-linux-gnu
Traceback (most recent call last):
  File "/usr/bin/confcache", line 549, in ?
    sys.exit(c.run(args))
  File "/usr/bin/confcache", line 182, in run
    elif not self._verify_files():
  File "/usr/bin/confcache", line 289, in _verify_files
    for f, chksum in self.file_db.iteritems():
  File "/usr/lib/python2.4/UserDict.py", line 101, in iteritems
    yield (k, self[k])
  File "/usr/lib/python2.4/shelve.py", line 119, in __getitem__
    value = Unpickler(f).load()
EOFError

!!! ERROR: net-print/cups-1.2.1-r2 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  cups-1.2.1-r2.ebuild, line 76:   Called econf '--with-cups-user=lp' '--with-cups-group=lp' '--with-system-groups=lpadmin' '--localstatedir=/var' '--with-docdir=/usr/share/cups/html' '--with-bindnow=-Wl,-z,now' '--enable-pam' '--enable-ssl' '--disable-slp' '--enable-nls' '--enable-dbus' '--enable-png' '--enable-jpeg' '--enable-tiff' '--enable-libpaper' '--enable-threads' '--enable-static' '--disable-pdftops' '--disable-gnutls' '--enable-openssl'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



# emerge --info
Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.UTF-8@euro"
LC_ALL="fr_BE.UTF-8@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
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 /usr/portage/local/layman/sunrise /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/oomadness"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 asf avi bash-completion beagle bitmap-fonts bonobo browserplugin bzip2 cairo cdr cegui cjk cli crosscompile crypt ctype cups dbus dri dv dvd dvdr dvdread eds emboss encode esd evo evolution ffmpeg firefox flac font-server foomaticdb fortran fuse gd gecko-sdk gif glitz gnome gnomecanvas gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imlib isdnlog java joystick jpeg kdehiddenvisibility lame lcms libg++ libnotify libwww live mad mikmod mjpeg mmx mmxext mng mono motif mp3 mpeg msn musicbrainz mysql ncurses net network nls nptl nptlonly nsplugin nvidia ode ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php png pop pppd python quicktime readline real reflection samba sdk sdl session simplexml slang soap sockets softmmu spell spl sse sse2 ssl svg svga taglib tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd videos vidix vorbis win32codecs wmf xanim xine xml xmlrpc xorg xscreensaver xv xvid xvmc zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_fr userland_GNU video_cards_nvidia video_cards_vga video_cards_vesa video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leszek 2006-06-23 05:23:57 UTC
now i notice that i have the same problem for others packages i tried to emerge.

it happened in the middle of an emerge -uDNavt world

i noticed something maybe related with the first package (x11-libs/libX11-1.0.2)

 * econf: updating libX11-1.0.2/config.sub with /usr/share/gnuconfig/config.sub
/usr/bin/confcache --confcache-ignore /var/tmp/.distcc --confcache-dir /var/tmp/confcache ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --disable-ipv6 --build=i686-pc-linux-gnu
f md5 differed /etc/ld.so.conf
cache invalidated due to md5
configure: creating cache config.cache

and then later it failed due to this bug: (not related with the current bug)
http://bugs.gentoo.org/show_bug.cgi?id=137692
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-23 05:25:31 UTC
rm -rf /var/tmp/confcache and try again.
Comment 3 Leszek 2006-06-23 09:04:02 UTC
Yep it solves the problem, thanks
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-23 09:50:04 UTC
OK, I'm closing this then. There's not much we could do until there's some effective blacklisting method implemented in confcache. Thanks.
Comment 5 David Carlos Manuelda 2019-12-09 19:42:00 UTC
Confcache is dead and buried, shouldn't be this bug closed?