You are not logged in.

#1 2020-08-21 22:32:49

diogobaeder
Member
Registered: 2012-01-02
Posts: 71

distcc and zeroconf: D-Bus error

Hi guys,

I'm trying to setup a desktop and a laptop I have in my home network to use distcc through Avahi. I've already configured Avahi appropriately with mdns, and I can cross-ping those computers, but somehow my desktop doesn't start the distccd.service unit. On my laptop, however, distcc starts just fine. On both computers, I added the "--zeroconf" argument to start distccd.

This is the unit output on my desktop:

● distccd.service - Distributed compilation server for C, C++ and Objective-C
     Loaded: loaded (/usr/lib/systemd/system/distccd.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2020-08-21 19:17:46 -03; 8min ago
       Docs: man:distccd(1)
    Process: 602 ExecStart=/usr/bin/distccd --no-detach --daemon $DISTCC_ARGS (code=exited, status=103)
   Main PID: 602 (code=exited, status=103)

ago 21 19:17:46 diogobaeder-desktop systemd[1]: Started Distributed compilation server for C, C++ and Objective-C.
ago 21 19:17:46 diogobaeder-desktop systemd[1]: ^[[0;1;39m^[[0;1;39mdistccd.service: Main process exited, code=exited, status=103/n/a
ago 21 19:17:46 diogobaeder-desktop systemd[1]: ^[[0;1;38;5;185m^[[0;1;39m^[[0;1;38;5;185mdistccd.service: Failed with result 'exit-code'.

This is my distcc log:

 $ cat /tmp/distccd.log 
distccd[602] (dcc_setup_daemon_path) daemon's PATH is /usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin
distccd[602] (dcc_listen_by_addr) listening on 0.0.0.0:3632
distccd[602] (dcc_standalone_server) 8 CPUs online on this server
distccd[602] (dcc_standalone_server) allowing up to 10 active jobs
distccd[602] (dcc_zeroconf_register) CRITICAL! Failed to create client object: An unexpected D-Bus error occurred

distccd[602] (dcc_exit) exit: code 103; self: 0.004328 user 0.000000 sys; children: 0.000000 user 0.000000 sys

These are the current versions I'm using:

 $ pacman -Qi avahi distcc dbus | grep -E '(Nome|Ver)'
Nome                 : avahi
Versão               : 0.8+15+ge8a3dd0-1
Nome                 : distcc
Versão               : 3.3.3-5
Nome                 : dbus
Versão               : 1.12.20-1

Any idea what's going on?

Thanks,
Diogo

Offline

Board footer

Powered by FluxBB