Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84537 - wget and distcc: not friends
Summary: wget and distcc: not friends
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-08 12:25 UTC by Decade
Modified: 2005-06-04 05:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The log from the config program, where the emerge fails (config.log,7.42 KB, text/plain)
2005-03-08 12:27 UTC, Decade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Decade 2005-03-08 12:25:28 UTC
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.
Comment 1 Decade 2005-03-08 12:27:00 UTC
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.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-08 16:50:11 UTC
don't you mail with wget?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-11 05:12:04 UTC
Lisa, distcc issue -- punting to you.
Comment 4 Lisa Seelye (RETIRED) gentoo-dev 2005-05-18 03:19:18 UTC
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...
Comment 5 Decade 2005-05-18 11:41:30 UTC
(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
Comment 6 Decade 2005-05-27 12:46:40 UTC
(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.
Comment 7 Lisa Seelye (RETIRED) gentoo-dev 2005-06-04 05:51:02 UTC
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.