Build stops here ----------------- ******************************************************************** * * * Checking the platform pre-requisites. * * * ******************************************************************** checking for mawk... no checking for gawk... gawk checking for gawk... /bin/gawk checking for sed... /bin/sed checking the operating system... checked (Linux) checking for gcc... distcc gcc checking whether the C compiler (distcc gcc -O2 -mcpu=i586 -march=i586 -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! ERROR: app-office/openoffice-1.0.2 failed. !!! Function src_compile, Line 322, Exitcode 1 !!! (no error message) Excert from distcc configuration guide... ------- 1) ensure the PATH in your environment does not contain '/usr/lib/distcc/bin' or '/usr/lib/ccache/bin' If you leave these, you may experience an error where distcc finds itself having been called twice. This will be fixed in future versions of either portage or distcc, depending on who's willing to fix it first. 2) Set the following variables in your make.conf to similar values: MAKEOPTS="-jN" FEATURES="distcc ccache" DISTCC_HOSTS="localhost host1 host2 ..." For non-portage makes: ---------- I believe the problem has to do with 1) ensure the PATH in your environment does not contain '/usr/lib/distcc/bin' or '/usr/lib/ccache/bin' However when emerging distcc, it installes to /usr/bin which is not something I really want to remove from my path to build programs. This is probably more widespread than just openoffice, I believe with current setup distcc will always be called twice. maybe, however "checking for gcc... distcc gcc" doesn't appear in other programs Reproducible: Always Steps to Reproduce: 1. emerge distcc 2. edit make.conf to use distcc 3. emerge openoffice Actual Results: See Details. Expected Results: openoffice to begin emerging, and it to report gcc in the compiler, not distcc gcc Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Intel(R) Celeron(TM) CPU 1200MHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif imlib jpeg libg++ libwww mikmod mmx motif mpeg ncurses nls pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java gpm tcpd pam ssl perl python oggvorbis opengl mozilla ldap X gtk gnome kde -alsa" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-O2 -mcpu=i586 -march=i586 -pipe" CXXFLAGS="-O2 -mcpu=i586 -march=i586 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j4" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc buildpkg" distcc building on 2 host but that is really irrelevant.
Please post the relevant sections of config.log.
Entire file was small, so I have posted all of it. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:798: checking for mawk configure:798: checking for gawk configure:830: checking for gawk configure:871: checking for sed configure:911: checking the operating system configure:1015: checking for gcc configure:1128: checking whether the C compiler (distcc gcc -O2 -march=i586 -mcpu=i586 -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER ) works configure:1144: distcc gcc -o conftest -O2 -march=i586 -mcpu=i586 -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER conftest.c 1>&5 distcc[21479] (dcc_recursion_safeguard) CRITICAL! distcc seems to have invoked itself recursively! configure: failed program was: #line 1139 "configure" #include "confdefs.h" main(){return(0);}
Its most probably the new distcc, and support I added for 1.0.0 still that are conflicting. It takes yonders for me to download it here, so I will have a look when I can review it, if Seth do not beat me to it.
Confirm same issue here, except with openoffice-1.0.3. Same config.log error from distcc. Interestingly, I have never enabled "sandbox" in my /etc/make.conf, but emerge --info below states that it is enabled. # uname -a Linux laptop.localdomain 2.4.20-gentoo-r1 #1 Wed Mar 26 21:56:15 PST 2003 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux # emerge --info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/gentoo "CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga tcltk java guile X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gnome gtk motif opengl alsa -arts bonobo dvd ethereal fbcon gd gtk2 gtkhtml jikes -kde maildir mozilla mysql pcmcia pda perl pnp -qt samba snmp sse tiff usb xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j8" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc"
heh its not that interesting, check make.globals and the default profile... if you don't want ot use sandbox..FEATURES="-sandbox"... they don't work like env vars...they compound...to disable something by default you have to explititly disabled... zach if you can't get distcc to work, i reccomend disabling it...its almost completely pointless b/c you can't use more than one compile process anyway... i think these people probably have distcc set up wrong...but hey what do i know...
POSSIBLE FIX: emerge the new distcc 2.0.1 on your client. I'm compiling now, perhaps it will be fixed. Also, just FYI Seth, even though OO only compiles using one thread, it is useful to use distcc to compile on a faster machine. For instance, I have a PIII 650Mhz laptop, and I use distcc to compile OO on one of the two AMD Athlon 1600MPs in my desktop machine. Haven't timed it, but at least it *seems* faster... I imagine it's the only real hope for those with really slow machines. Note that I haven't actually updated my "server" machine's distcc - it's still at 1.2.3-r3.
distccd shouldn't matter...(though i would reccomend keeping the versions in sync) :-P its the local distcc
still having problems with this? ;-)
seems to be fixed