[distcc] problems with distcc + zeroconf

shawn shawnlandden at gmail.com
Wed May 16 22:51:03 MDT 2012

Distcc + avahi developers,

After upgrading to svn distcc, zeroconf does now work, however it has
some issues, which seem to be woorse when using more threads (-j13 etc)

while it does distribute, occasionally the hosts file is empty, and then
it slowly compiles locally:

distcc[12745] (dcc_parse_hosts)
Warning: /home/shawn/.distcc/zeroconf/hosts contained no hosts; can't
distribute work
distcc[12745] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host

distcc[12745] (dcc_build_somewhere) Warning: failed to distribute,
running locally instead

I tried to fix this problem, but I need some more input, as I am not
positive what the problem is, nor if my approach is appropriate. (or
even how to debug effectively might be nice---some-but not all-tests i
did with distcc seemed to not even trigger these functions in gdb)

also: attacked typo patch that got bounced the first time
-Shawn Landden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-attempt-to-address-race-condition-issues-by-using-in.patch
Type: text/x-patch
Size: 4158 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/distcc/attachments/20120516/9ae35d5b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zeroconf-fix-typo.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/distcc/attachments/20120516/9ae35d5b/attachment-0001.bin>

More information about the distcc mailing list