Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc --show-hosts doesn't find remote zeroconf hosts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jens
n00b
n00b


Joined: 31 May 2012
Posts: 2

PostPosted: Fri Nov 30, 2012 1:03 pm    Post subject: distcc --show-hosts doesn't find remote zeroconf hosts Reply with quote

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
View user's profile Send private message
fredbear5150
n00b
n00b


Joined: 11 Oct 2003
Posts: 28

PostPosted: Tue Dec 11, 2012 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum