Half way through an "emerge -e" and I have had several interruptions. The latest is that certain packages are not compiling with FEATURES="ccache" enabled. This is the latest one to do so. If I remove FEATURES="ccache" it compiles fine. If I add it, I get: ============================================================== gcc -march=athlon-xp -O2 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/var/tmp/portage/gq-0.6.0/work/gq-0.6.0/intl -Wall -DLOCALEDIR=\"/usr/share/locale\" -o gq mainwin.o browse.o schema.o schemabrowse.o template.o gq.o search.o tinput.o configfile.o prefs.o util.o errorchain.o ldif.o formfill.o input.o encode.o filter.o debug.o syntax.o dt_entry.o dt_text.o dt_generic_binary.o dt_binary.o dt_password.o dt_oc.o dt_jpeg.o dt_clist.o dt_cert.o dt_crl.o ldapops.o tdefault.o browse-dnd.o -L/var/tmp/portage/gq-0.6.0/work/gq-0.6.0/intl -lintl -lssl -lcrypto -lldap -lresolv -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lX11 -lm -llber -L/usr/lib -lgdk_pixbuf -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lX11 -lm mainwin.o: file not recognized: File format not recognized collect2: ld returned 1 exit status distcc[25596] ERROR: compile (null) on localhost failed ============================================================== I have tried clearing the ccache "ccache -C" but that did not help. Reproducible: Always Steps to Reproduce: 1. 2. 3. coal gq-0.6.0 # emerge --info Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) XP1600+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://gentoo.risq.qc.ca/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acpi acpi4linux alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdf cdparanoia cdr cdrom chroot cjk clamav codecs crypt cscope cups curl curlwrappers db2 dba dbase dga dio directfb divx4linux dnd dv dvb dvd dvdread eds emboss encode esd ethereal exif expat ext-png ext-zlib extensions faac faad fam ffmpeg foomaticdb foreign-package fortran freetds freetype gd gd-external gdbm gif gimp gimpprint glut gmp gnomedb gnuplot gpm gstreamer gtk gtk2 guile hbci icq idn ieee1394 imagemagick imap imlib ipv6 jabber javascript jikes jpeg kde kdexdeltas lcms ldap libg++ libgda libwww live lm_sensors ltsp lua lzo lzw lzw-tiff mad mailbox matrox mcal mdb mhash mikmod mmx mmx2 mmxext mng mono motif mozilla mp3 mpeg mpeg4 mpi mplayer msn nas ncurses network nls odbc offensive ofx ogg oggvorbis ooo-kde opengl opens pam pcre pda pdflib pear-db perl pg-intdatetime php plotutils png pnp postgres pthreads python qt quicktime radeon rage128 readline rtc samba sdl silverxp slang snmp soap sockets spamassassin spell sse sse-filters ssl stroke svga sybase sybase-ct tcltk tcpd tetex tga tiff tokenizer transcode truetype truetype-fonts type1-fonts udev usb uudeview v4l v4l2 vim-with-x virus-scan vorbis wmf xinerama xml2 xmms xosd xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
More info - this is not a problem with gq - its a problem with ccache and maytbe distcc. Other packages are starting to fail to compile as well.
Is NFS involved on anything here by any chance?
no NFS. It seems that some combination of distcc and ccache is causing the problem, even if there are no other distcc hosts available (i.e. only localhost)
This package has been removed from the tree.