[distcc] libxml2-2.5.9 fails with distcc.

Kirtis Bakalarczyk kirtis_b at shaw.ca
Tue Aug 12 21:55:51 GMT 2003


First some info:

distcc --version
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
  built Aug  1 2003 09:37:52 from gentoo's portage.

Gentoo Linux 1.4
gcc-3.2.3-r2

During an emerge -u world libxml2 failed on me with the following errors:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -O2 -march=                                                               pentium4 -mmmx -msse2 -pipe -Wall -c nanoftp.c  -fPIC -DPIC
distcc[15832] (dcc_build_somewhere) Warning: failed to distribute, running local                                                               ly instead
nanohttp.c: In function `xmlNanoHTTPConnectAttempt':
nanohttp.c:913: `len' undeclared (first use in this function)
nanohttp.c:913: (Each undeclared identifier is reported only once
nanohttp.c:913: for each function it appears in.)
distcc[15832] ERROR: compile on localhost failed with exit code 1
make[2]: *** [nanohttp.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
distcc[15837] (dcc_build_somewhere) Warning: failed to distribute, running local                                                               ly instead
nanoftp.c: In function `xmlNanoFTPGetConnection':
nanoftp.c:1489: `dataAddrLen' undeclared (first use in this function)
nanoftp.c:1489: (Each undeclared identifier is reported only once
nanoftp.c:1489: for each function it appears in.)
distcc[15837] ERROR: compile on localhost failed with exit code 1
make[2]: *** [nanoftp.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libxml2-2.5.9/work/libxml2-2.5.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libxml2-2.5.9/work/libxml2-2.5.9'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-libs/libxml2-2.5.9 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)

It's not unexpected that it would fail to distribute the build, since I haven't gotten around to installing distcc on my other computers.  The reason i'm reporting this here and not to the libxml2 people is that libxml2 builds fine when I remove distcc from gentoo's FEATURES in make.conf (disabling it).

distcc.log contains the following:

distcc[9890] (dcc_spawn_child) forking to execute: gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -O2 -march=pentium4 -mmmx -msse2 -pipe -Wall -c -fPIC -DPIC -o /root/.ccache/tmp.hash.3jane.9886.o /root/.ccache/tmp.stdout.3jane.9886.i
distcc[9891] (dcc_increment_safeguard) setting safeguard: _DISTCC_SAFEGUARD=1
distcc[9890] (dcc_spawn_child) child started as pid9891
distcc[9890] (dcc_collect_child) cc child 9891 terminated with status 0x100
distcc[9890] (dcc_collect_child) cc times: user 0.459930s, system 0.038994s, 1820 minflt, 1163 majflt
distcc[9890] ERROR: compile on localhost failed with exit code 1
distcc[9890] elapsed compilation time 0.527710s
distcc[9890] (dcc_exit) exit: code 1; self: 0.002999 user 0.002999 sys; children: 0.459930 user 0.038994 sys
distcc[9890] (dcc_cleanup_tempfiles) deleted 0 temporary files


Hope you can make some sense of it,

KIRT
-- 
Your ignorance cramps my conversation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20030812/fac7a7b0/attachment.bin


More information about the distcc mailing list