seiferff / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

Zeroconf fails on IPv6-enabled network #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When using `+zeroconf` in /etc/distcc/hosts on a network where machines have 
functioning a IPv6 stack, distcc fails because it can't parse the addresses it 
gets back from Avahi:

dustin@epsilonindi ~ $ cat /etc/distcc/hosts 
# --- /etc/distcc/hosts -----------------------
# See the "Hosts Specification" section of
# "man distcc" for the format of this file.
#
# By default, just test that it works in loopback mode.
localhost
atria,cpp,lzo
+zeroconf
dustin@epsilonindi ~ $ sudo distcc --show-hosts
distcc[1525] (dcc_parse_tcp_host) ERROR: invalid tcp port specification in 
"8cd7:6528:0:4a5b:39ff:fe94:cb1d:3632/16
fd99:8cd7:6528:0:20c:29ff:feaf:8ba8:3632/16
"
distcc[1525] (dcc_zeroconf_add_hosts) CRITICAL! failed to parse host file.

distcc[1525] (dcc_show_hosts) CRITICAL! Failed to get host list

dustin@epsilonindi ~ $ distcc --version
distcc 3.1 x86_64-pc-linux-gnu
  (protocols 1, 2 and 3) (default port 3632)
  built Mar 31 2012 09:55:05
Copyright (C) 2002, 2003, 2004 by Martin Pool.
Includes miniLZO (C) 1996-2002 by Markus Franz Xaver Johannes Oberhumer.
Portions Copyright (C) 2007-2008 Google.

distcc comes with ABSOLUTELY NO WARRANTY.  distcc is free software, and
you may use, modify and redistribute it under the terms of the GNU 
General Public License version 2 or later.

Built with Zeroconf support.

Please report bugs to distcc@lists.samba.org

Original issue reported on code.google.com by admiraln...@gmail.com on 15 Dec 2012 at 7:01

GoogleCodeExporter commented 8 years ago
This is fixed in 3.2rc1.

Original comment by mand...@gmail.com on 27 Dec 2012 at 1:38

GoogleCodeExporter commented 8 years ago

Original comment by mand...@gmail.com on 8 May 2013 at 12:18