[distcc] compilation problem

Rob Harris rharris at shabadoo.org
Wed Sep 6 01:33:15 GMT 2006


I'm seeing the following error:

ERROR: failed to write: Broken pipe

Can someone better explain this? Does it mean that the worker node 
cannot write the transmitted source file to the local disk for 
compilation or some such? How do I debug this?

Any help would be appreciated (actual debug output attached below.)

Thanks.
-R

distcc[9609] (dcc_trace_version) distcc 2.18.3 i386-pc-solaris2.9; built 
Jul  6 2006 16:48:49
distcc[9609] (dcc_recursion_safeguard) safeguard level=0
distcc[9609] (main) compiler name is "distcc"
distcc[9609] (dcc_scan_args) scanning arguments: 
/usr/local/gcc-3.3.2/bin/g++ -c -D_SOLARIS -DHAVE_CONFIG_H -D_REENTRANT 
-I. -I.. -I/home/rmharri/work-SunOS-5.9-i386/solinet/include 
-I/home/rmharri/work-SunOS-5.9-i386/solinet/include/SoliNet -O0 -Wall 
-Werror -W -Wwrite-strings -Wno-long-long -pedantic -fPIC Serializable.C
distcc[9609] (dcc_scan_args) found input file "Serializable.C"
distcc[9609] (dcc_scan_args) no visible output file, going to add "-o 
Serializable.o" at end
distcc[9609] compile from Serializable.C to Serializable.o
distcc[9609] (dcc_get_hostlist) read hosts from environment
distcc[9609] (dcc_parse_hosts) found tcp token "tcn01f"
distcc[9609] (dcc_lock_host) got cpu lock on tcn01f slot 0 as fd3
distcc[9609] (dcc_strip_dasho) result: /usr/local/gcc-3.3.2/bin/g++ -c 
-D_SOLARIS -DHAVE_CONFIG_H -D_REENTRANT -I. -I.. 
-I/home/rmharri/work-SunOS-5.9-i386/solinet/include 
-I/home/rmharri/work-SunOS-5.9-i386/solinet/include/SoliNet -O0 -Wall 
-Werror -W -Wwrite-strings -Wno-long-long -pedantic -fPIC Serializable.C
distcc[9609] (dcc_spawn_child) forking to execute: 
/usr/local/gcc-3.3.2/bin/g++ -E -D_SOLARIS -DHAVE_CONFIG_H -D_REENTRANT 
-I. -I.. -I/home/rmharri/work-SunOS-5.9-i386/solinet/include 
-I/home/rmharri/work-SunOS-5.9-i386/solinet/include/SoliNet -O0 -Wall 
-Werror -W -Wwrite-strings -Wno-long-long -pedantic -fPIC Serializable.C
distcc[9610] (dcc_increment_safeguard) setting safeguard: 
_DISTCC_SAFEGUARD=1
distcc[9609] (dcc_spawn_child) child started as pid9610
distcc[9609] (dcc_strip_local_args) result: /usr/local/gcc-3.3.2/bin/g++ 
-c -O0 -Wall -Werror -W -Wwrite-strings -Wno-long-long -pedantic -fPIC 
Serializable.C -o Serializable.o
distcc[9609] exec on tcn01f: /usr/local/gcc-3.3.2/bin/g++ -c -O0 -Wall 
-Werror -W -Wwrite-strings -Wno-long-long -pedantic -fPIC Serializable.C 
-o Serializable.o
distcc[9609] (dcc_note_state) note state 2, file "Serializable.C", host 
"tcn01f"
distcc[9609] (dcc_connect_by_addr) started connecting to 10.1.1.15:3632
distcc[9609] (dcc_select_for_write) select for write on fd5
distcc[9609] (dcc_note_state) note state 4, file "(NULL)", host "(NULL)"
distcc[9609] (dcc_x_token_int) send DIST00000001
distcc[9609] (dcc_x_token_int) send ARGC0000000d
distcc[9609] (dcc_x_token_int) send ARGV0000001c
distcc[9609] (dcc_x_token_int) send ARGV00000002
distcc[9609] (dcc_x_token_int) send ARGV00000003
distcc[9609] (dcc_x_token_int) send ARGV00000005
distcc[9609] (dcc_x_token_int) send ARGV00000007
distcc[9609] (dcc_x_token_int) send ARGV00000002
distcc[9609] (dcc_x_token_int) send ARGV0000000f
distcc[9609] (dcc_x_token_int) send ARGV0000000e
distcc[9609] (dcc_x_token_int) send ARGV00000009
distcc[9609] (dcc_x_token_int) send ARGV00000005
distcc[9609] (dcc_x_token_int) send ARGV0000000e
distcc[9609] (dcc_x_token_int) send ARGV00000002
distcc[9609] (dcc_x_token_int) send ARGV0000000e
distcc[9609] (dcc_note_state) note state 3, file "(NULL)", host "(NULL)"
distcc[9609] (dcc_collect_child) cpp child 9610 terminated with status 0
distcc[9609] (dcc_collect_child) cpp times: user 0.050000s, system 
0.010000s, 0 minflt, 0 majflt
distcc[9609] cpp Serializable.C on localhost completed ok
distcc[9609] (dcc_x_file) send 874717 byte file /tmp/distcc_eaa81904.ii 
with token DOTI
distcc[9609] (dcc_x_token_int) send DOTI000d58dd
distcc[9609] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[9609] (dcc_mark_timefile) mark 
/home/rmharri/.distcc/lock/backoff_tcp_tcn01f_3632_0
distcc[9609] (dcc_build_somewhere) Warning: failed to distribute and 
fallbacks are disabled
distcc[9609] elapsed compilation time 0.408746s
distcc[9609] (dcc_exit) exit: code 107; self: 0.000000 user 0.000000 
sys; children: 0.050000 user 0.010000 sys
distcc[9609] (dcc_cleanup_tempfiles) deleted 1 temporary files
make[3]: *** [Serializable.o] Error 107


More information about the distcc mailing list