View previous topic :: View next topic |
Author |
Message |
jens n00b
Joined: 31 May 2012 Posts: 3
|
Posted: Fri Nov 30, 2012 1:03 pm Post subject: distcc --show-hosts doesn't find remote zeroconf hosts |
|
|
Hi there,
I've got two gentoo machines with avahi + distcc and tried to use distcc compilation when using portage on my laptop.
First I added distcc to FEATURES in make.conf
zeroconf is enabled in /etc/conf.d/distccd on both machines:
Code: | DISTCCD_OPTS="${DISTCCD_OPTS} --allow 127.0.0.1 --allow 192.168.0.0/16"
DISTCCD_OPTS="${DISTCCD_OPTS} -N 15"
DISTCCD_OPTS="${DISTCCD_OPTS} --zeroconf" |
I launched distccd on both machines then ran
Code: | distcc --show-hosts
127.0.0.1
192.168.178.102:3632/8 |
The output only includes the local distcc daemon (...102 is my local wlan adapter's IP).
Whereas avahi knows about the distcc daemons on both machines:
Code: | root:/home/jens> avahi-browse -a -c
+ wlan0 IPv4 distcc@T61 _distcc._tcp local
+ wlan0 IPv4 distcc@desktop _distcc._tcp local |
On my laptop /etc/distcc/hosts looks like this
Code: | 127.0.0.1
+zeroconf |
As soon as I add the IP of the desktop machine to the first line it also shows up in distcc --show-hosts (and is used during compilation)
Am I doing anything wrong ? If avahi finds the remote distcc service why doesn't distcc --show-hosts ? |
|
Back to top |
|
|
fredbear5150 Tux's lil' helper
Joined: 11 Oct 2003 Posts: 113
|
Posted: Tue Dec 11, 2012 11:35 pm Post subject: |
|
|
I am encountering the same kind of problem with distcc and it seems to be a problem with v3.1 and IPV6 addresses as detailed here:
http://code.google.com/p/distcc/issues/detail?id=42
Apparently the issue should have been fixed in 3.1 but it missed the codebase - I did notice in portage that there is a hard masked 3.2 RC1 release so I may try that.
But hopefully this helps. |
|
Back to top |
|
|
|