Package: distcc
Version: 3.1-5
Severity: important

Summary:

The messsage
    ERROR: server provided no answer. Is the server configured to
    allow access from your IP address? Does the server have the
    compiler installed? Is the server configured to access the
    compiler?
(and/or perhaps other relevant messages) should contain the server
hostname and protocol.


One of the hosts in our build cluster is broken:

osstest@army:~$ DISTCC_HOSTS=armpit/4 distcc gcc -Wall -c t.c
distcc[6366] (dcc_readx) ERROR: failed to read: Connection reset by peer
distcc[6366] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE"
distcc[6366] (dcc_r_result_header) ERROR: server provided no answer. Is the 
server configured to allow access from your IP address? Does the server have 
the compiler installed? Is the server configured to access the compiler?
distcc[6366] Warning: failed to distribute t.c to armpit/4, running locally 
instead
osstest@army:~$ DISTCC_HOSTS=armpit/4 distcc gcc -Wall -c t.c
distcc[6372] (dcc_build_somewhere) Warning: failed to distribute, running 
locally instead
osstest@army:~$ DISTCC_FALLBACK=0 DISTCC_HOSTS=armpit/4 distcc gcc -Wall -c t.c
distcc[6399] (dcc_build_somewhere) Warning: failed to distribute and fallbacks 
are disabled
osstest@army:~$ 

There are some problems with these error messages.  This bug report is
(primarily) about the message from the first run above.

None of the output mentions the hostname (`armpit' in this case).  In
a real run with multiple hosts, this means that the error messages
which don't tell you what to investigate.

IMO at least one of these messages should contain the target hostname
(and perhaps the protocol or other details).


Because of the difficulties that this can pose for someone trying to
debug problems (particularly intermittent ones), I have set the
severity to `important'.  I hope that meets with your approval.

Thanks,
Ian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to