When I try to emerge wget with distcc and only remote hosts doing the compiling, I get an error. FEATURES="-distcc" gets rid of that error. Reproducible: Always Steps to Reproduce: 1. Have a system with distcc configured to compile only on remote hosts 2. Try to emerge wget checking for suffix of object files... configure: error: cannot compute suffix o f object files: cannot compile See `config.log' for more details. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/config.log !!! ERROR: net-misc/wget-1.9.1-r3 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 52960 [details] The log from the config program, where the emerge fails This is what configure leaves behind after it fails to compile.
don't you mail with wget?
Lisa, distcc issue -- punting to you.
How many machines do you have in your distcc cluster? Can you provide `emerge info` output from those machines? I'm going to suspect there's a GCC mismatch here...
(In reply to comment #4) > How many machines do you have in your distcc cluster? 1. It's much faster than any of my other machines. > Can you provide `emerge > info` output from those machines? Ooh, it's been a while. It's currently configured as: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10 i686) =============================================================== == System uname: 2.6.10 i686 AMD Athlon(tm) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 15 2005, 07:25:51)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.5, 1.9.5, 1.6.3 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=athlon-xp" 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/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 -pipe -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://gentoo.binarycompass.org http://gentoo.ccccom.com http://gentoo.eliteitminds.com http:// mirrors.tds.net/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aac acpi alsa apm arts artswrappersuid artworkextra audiofile avi bdf berkdb bidi bitmap-fonts canna caps cdparanoia cdr chroot cjk crypt cscope cups curl dga directfb divx4linux dv dvd dvdread eds emacs emboss encode esd faad fam flac foomaticdb fortran fpx freewnn gcj gd gdbm gif gimpprint gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal idea imagemagick imlib ipv6 jack jack-tmpfs java javascript jbig jikes jpeg jpeg2k junit kde lcms leim libg++ libwww lzo m17n-lib mad mikmod mmap mmx mmx2 mng motif mozilla mozsvg mozxmlterm mp3 mpeg ncurses network nls nntp no_wxgtk1 nvidia objc ogg oggvorbis opengl oss pam pdflib perl pic png portaudio povray ppds python qt quicktime readline real rrdtool rtc ruby samba scanner sdl silc slang slp speex spell sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts ucs2 unicode usb v4l v4l2 vim-with-x vorbis wmf xanim xchattext xine xinerama xml xml2 xmms xosd xscreensaver xv xvid xvmc yv12 zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
(In reply to comment #4) > I'm going to suspect there's a GCC mismatch > here... In fact, the machine where the builds fail is an i586, and the distcc host is an i686. I had been assuming that there would be no cross-compilation errors, and in fact in most of these errors where it fails during autoconf the complaint sounds like "gcc: `-V' option must have argument" However, somewhere along the way I got the error: "i586-pc-linux-gnu-gcc not found" So, now I've been successfully compiling stuff on my distcc client with the environment variables CC=gcc CXX=g++ FEATURES=distcc I'm not sure whether this counts as a WORKSFORME resolution.
This is mentioned in the Distcc guide on Gentoo.org where a CHOST mismatch can cause problems. The hackaround is to put CC=gcc CXX=gcc in /etc/make.conf. At the heart this is a Portage issue that won't change.