[distcc] distcc sends preprocessing tasks to remote hosts

Bart Friederichs bf at tbwb.nl
Fri Aug 1 06:55:05 GMT 2008


Fergus Henderson wrote:
> If you use pump mode, yes, it will possibly fix your problem.  (But
> because of the issue with -I/usr/include/foo you'll need to build from
> the svn sources, or wait for distcc 3.0rc3.)
I installed 3.0rc3 and am using pump mode now. A different problem is
popping up:

export DISTCC_POTENTIAL_HOSTS='test'
pump make -j8 CC=distcc CXX=distcc
__________Using distcc-pump from /usr/bin
__________Found 1 available distcc servers
make -C common all
make[1]: Entering directory `/mnt/localdata/project/P2579/svn/source/common'
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o KardexLift.o
KardexLift.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o KardexTelegram.o
KardexTelegram.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o Counter.o Counter.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o TrmMessage.o
TrmMessage.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o SAPClient.o
SAPClient.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o PlcTelegram_Stub.o
PlcTelegram_Stub.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o Scanner.o Scanner.cpp
distcc -g -rdynamic -I/usr/include/mysql -I../include
-I/usr/include/libxml2 -I../tbwb -I../tables  -c -o MbsFrame.o MbsFrame.cpp
distcc[9595] (dcc_pump_readwrite) ERROR: failed to read 1504 bytes: Is a
directory
distcc[9599] (dcc_pump_readwrite) ERROR: failed to read 1504 bytes: Is a
directory
distcc[9600] (dcc_pump_readwrite) ERROR: failed to read 1504 bytes: Is a
directory
distcc[9601] (dcc_pump_readwrite) ERROR: failed to read 1504 bytes: Is a
directory

Then the whole process hangs. My distcc monitor tells me there are 4
sockets compiling on my remote host. Hoewever, the host is doing nothing
(cpu usage 0%) and the compile takes waaay too long. After a while the
remote host stops compiling, but the 'pump make' command still hangs.


Regards,
Bart


More information about the distcc mailing list