distcc cross-compilation

"elijah rutschman" <[email protected]> Sun, 7 Oct 2007 01:23:37 -0500
Newsgroups gmane.os.netbsd.ports.hpcmips
Message-ID <[email protected]>
Hello all,

I've got an x86 Linux box (kedavra) running a distcc daemon which is set up
to use a NetBSD/hpcmips cross-toolchain.
I've got a MobilePro 780 running NetBSD 4.0 RC1 (mumbler).
pkgsrc has been set up on mumbler to use distcc with the following lines in
/etc/mk.conf :

# use distcc to
compile
PKGSRC_COMPILER =       ccache distcc
gcc
DISTCC_HOSTS    =       kedavra localhost

If I cd to /usr/pkgsrc/editors/ed and type make, after the tarball is
downloaded, unzipped, etc., I get:

=> Required installed package distcc-[0-9]*: distcc-2.18.3nb2 found
=> Required installed package distcc-[0-9]*: distcc-2.18.3nb2 found
=> Required installed package ccache-[0-9]*: ccache-2.4 found
=> Required installed package ccache-[0-9]*: ccache-2.4 found
===> Overriding tools for ed-0.2nb1
===> Extracting for ed-0.2nb1
===> Patching for ed-0.2nb1
=> Applying pkgsrc patches for ed-0.2nb1
===> Creating toolchain wrappers for ed-0.2nb1
===> Configuring for ed-0.2nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
creating cache ./config.cache
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking for POSIXized ISC... no
checking for gcc... cc
checking whether we are using GNU C... yes
checking for working const... yes
checking how to run the C preprocessor... cc -E
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for limits.h... yes
checking for memory.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for locale.h... yes
checking for setbuffer... yes
checking for sigsetjmp... yes
checking for sigaction... yes
checking for strerror... yes
checking for vprintf... yes
checking for working alloca.h... no
checking for alloca... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
===> Building for ed-0.2nb1
./config.status
creating Makefile
creating config.h
config.h is unchanged
touch stamp-h
cc -c -I. -I. -DHAVE_CONFIG_H -O2 buf.c
distcc[15260] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[15260] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[15260] Warning: failed to distribute
/usr/pkgsrc/editors/ed/work/.ccache/buf.tmp.mumbler.7114.i to kedavra,
running locally instead


Does anyone have any suggestions why I might be getting this Broken pipe
error?  I know kedavra's distcc daemon is up and running, as I can send jobs
to it locally.


Thanks for your time.

-- 
Elijah Rutschman
http://teamabunai.org/cwolf