[distcc] Error in DISTCC build process

Ankit Manchanda anki1224 at gmail.com
Wed Apr 27 21:05:46 MDT 2011


-- 

Hello friends !!

I was implementing distcc for my project in ERICSSON and have reached the
later stages. The problem I am facing now is an error in the build while
distcc tries to distribute it on another server. The build is running fine
when I am running it on the local host itself. The error occurs once i try
to distribute it across servers

Host : 150.236.18.129 Sparc - Solaris 10
Daemon : 150.236.18.142 Sparc - Solaris 10
DISTCC_HOSTS="150.236.18.129 150.236.18.142"

The log is as follows

(dcc_scan_args) found object/output file "_fast/solaris/DUTP.o"
281 distcc[23080] (dcc_scan_args) found input file "DUTP.cc"
282 distcc[23080] compile from DUTP.cc to DUTP.o
283 distcc[23080] (dcc_get_hostlist) read hosts from environment
*284 distcc[23080] (dcc_parse_hosts) found tcp token "150.236.18.142"
285 distcc[23080] (dcc_parse_hosts) found tcp token "150.236.18.129"
286 distcc[23080] (dcc_check_backoff) still in backoff period for
150.236.18.129
287 distcc[23080] (dcc_remove_disliked) remove 150.236.18.129 from list*
288 distcc[23080] (dcc_lock_host) /home/grvobad2/.distcc
/lock/cpu_tcp_150.236.18.142_3632_0 is busy
289 distcc[23080] (dcc_lock_host) got cpu lock on 150.236.18.142 slot 1 as
fd3
290 distcc[23080] (dcc_strip_dasho) result: CC +w -DSOLARIS_THREADS -i
-DRW_NO_STL -library=%none,iostream,no%Cstd -D_USE_SMARTHEAP_ -DNO_SYBASE
-mt -DRW
_MULTI_THREAD -D_REENTRANT -fast -xO4 -DNDEBUG -xtarget=ultra3 -m32
-xarch=sparcvis2 -I/opt/sunstudio12.1/prod//include/CC/rw7/
-I/proj/ingrproj/DevSupport/B uilds/Ankit_Test/CXC1730904_TST1/common/mrl
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/common/sharedmemory
-I/proj/ingrproj/DevSupport/Bui lds/Ankit_Test/CXC1730904_TST1/common
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/database
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CX C1730904_TST1
-I/opt/oracle/11//rdbms/demo -I/opt/oracle/11//rdbms/public
-I/opt/oracle/11//plsql/public -I/opt/oracle/11//network/public
-I/opt/postgresql-9 .0.3/postgres/9.0-pgdg/include
-I/vobs/bgw/sw-3pp-cm/mm70/SunOS/tcl/tcl8.5.6/include
-I/vobs/bgw/sw-3pp-cm/mm70/SunOS/curl/curl-7.19.5_Solaris/include -I/opt
/sunstudio12.1/prod//include
-I/vobs/bgw/sw-3pp-cm/mm50/SunOS/sh/SmartHeap_8smp//include
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/commun ication
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/communication
-I/opt/SUNWconn/include -I/vobs/bgw/sw-3pp-cm/mm70/SunOS/xerces/xerces3.0
.1_solaris/include -c DUTP.cc
291 distcc[23080] (dcc_spawn_child) forking to execute: CC +w
-DSOLARIS_THREADS -i -DRW_NO_STL -library=%none,iostream,no%Cstd
-D_USE_SMARTHEAP_ -DNO_SYB ASE -mt -DRW_MULTI_THREAD -D_REENTRANT -fast -xO4
-DNDEBUG -xtarget=ultra3 -m32 -xarch=sparcvis2
-I/opt/sunstudio12.1/prod//include/CC/rw7/ -I/proj/ingrproj/
DevSupport/Builds/Ankit_Test/CXC1730904_TST1/common/mrl
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/common/sharedmemory
-I/proj/ingrproj/De vSupport/Builds/Ankit_Test/CXC1730904_TST1/common
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/database
-I/proj/ingrproj/DevSupport/Builds/A nkit_Test/CXC1730904_TST1
-I/opt/oracle/11//rdbms/demo -I/opt/oracle/11//rdbms/public
-I/opt/oracle/11//plsql/public -I/opt/oracle/11//network/public -I/opt/
postgresql-9.0.3/postgres/9.0-pgdg/include
-I/vobs/bgw/sw-3pp-cm/mm70/SunOS/tcl/tcl8.5.6/include
-I/vobs/bgw/sw-3pp-cm/mm70/SunOS/curl/curl-7.19.5_Solaris/in clude
-I/opt/sunstudio12.1/prod//include
-I/vobs/bgw/sw-3pp-cm/mm50/SunOS/sh/SmartHeap_8smp//include
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904 _TST1/communication
-I/proj/ingrproj/DevSupport/Builds/Ankit_Test/CXC1730904_TST1/communication
-I/opt/SUNWconn/include -I/vobs/bgw/sw-3pp-cm/mm70/SunOS/xerc
es/xerces3.0.1_solaris/include -E DUTP.cc
292 distcc[23080] (dcc_spawn_child) child started as pid23081
293 distcc[23080] (dcc_strip_local_args) result: CC +w -i -mt -fast -xO4
-xtarget=ultra3 -m32 -xarch=sparcvis2 -o _fast/solaris/DUTP.o -c DUTP.cc
294 distcc[23080] exec on 150.236.18.142: CC +w -i -mt -fast -xO4
-xtarget=ultra3 -m32 -xarch=sparcvis2 -o _fast/solaris/DUTP.o -c DUTP.cc
295 distcc[23080] (dcc_note_state) note state 2, file "DUTP.cc", host
"150.236.18.142"
296 distcc[23081] (dcc_increment_safeguard) setting safeguard:
_DISTCC_SAFEGUARD=1
297 distcc[23080] (dcc_connect_timed) nonblocking connect to
150.236.18.142:3632
298 distcc[23080] (dcc_select_for_write) select for write on fd4
299 distcc[23080] (dcc_connect_by_addr) client got connection to
150.236.18.142 port 3632 on fd4
300 distcc[23080] (dcc_x_token_int) send DIST00000001
301 distcc[23080] (dcc_x_token_int) send ARGC0000000d
302 distcc[23080] (dcc_x_token_int) send ARGV00000002
303 distcc[23080] (dcc_x_token_int) send ARGV00000002
304 distcc[23080] (dcc_x_token_int) send ARGV00000002
305 distcc[23080] (dcc_x_token_int) send ARGV00000003
306 distcc[23080] (dcc_x_token_int) send ARGV00000005
307 distcc[23080] (dcc_x_token_int) send ARGV00000004
308 distcc[23080] (dcc_x_token_int) send ARGV0000000f
309 distcc[23080] (dcc_x_token_int) send ARGV00000004
310 distcc[23080] (dcc_x_token_int) send ARGV00000010
311 distcc[23080] (dcc_x_token_int) send ARGV00000002
312 distcc[23080] (dcc_x_token_int) send ARGV00000014
distcc[23080] (dcc_note_state) note state 3, file "(NULL)", host "(NULL)"
316 distcc[23080] (dcc_collect_child) cpp child 23081 terminated with status
0
317 distcc[23080] (dcc_collect_child) cpp times: user 0.250000s, system
0.130000s, 0 minflt, 0 majflt
318 distcc[23080] cpp on localhost completed ok
319 distcc[23080] (dcc_note_state) note state 4, file "(NULL)", host
"(NULL)"
320 distcc[23080] (dcc_x_file) send 689540 byte file /tmp/distcc_323dac20.ii
with token DOTI
321 distcc[23080] (dcc_x_token_int) send DOTI000a8584
322 distcc[23080] (dcc_send_job) client finished sending request to server
323 distcc[23080] (dcc_note_state) note state 5, file "(NULL)", host
"150.236.18.142"
324 distcc[23080] (dcc_r_token_int) got DONE00000001
325 distcc[23080] (dcc_r_result_header) got response header
326 distcc[23080] (dcc_note_state) note state 6, file "(NULL)", host
"(NULL)"
327 distcc[23080] (dcc_r_token_int) got STAT00000100
328 distcc[23080] (dcc_r_token_int) got SERR0000002a
329 *CC: illegal option usage -xarch=sparcvis2*
330 distcc[23080] (dcc_r_token_int) got SOUT00000000
331 distcc[23080] (dcc_r_token_int) got DOTO00000000
332 distcc[23080] (dcc_unlock) release lock fd3
333 distcc[23080] ERROR: compile on 150.236.18.142 failed
334 distcc[23080] elapsed compilation time 0.668721s
335 distcc[23080] (dcc_exit) exit: code 1; self: 0.003526 user 0.012105 sys;
children: 0.259168 user 0.139177 sys
336 distcc[23080] (dcc_cleanup_tempfiles) deleted 1 temporary files
337 gmake[2]: *** [_fast/solaris/DUTP.o] Error 1

Its a very long message but i found the entire log relevant so posted it
here. Kindly help me with this.
Thank you in advance

With regards
Ankit

To succeed, change the "CAN I ?" into "I CAN !!"
Rise & Shine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20110428/568986ca/attachment.html>


More information about the distcc mailing list