Recently I did something and now I can no longer get my distccd setup working. It used to work and I must've messed it up, somehow, as it no longer distributes.
I get tons of this in the log on the x86 machine:
$this->bbcode_second_pass_code('', 'distccd[151255] /usr/bin/gcc drivers/net/usb/kaweth.c on localhost failed
distccd[151255] job complete
distccd[151255] (dcc_cleanup_tempfiles_inner) deleted 5 temporary files
distccd[151255] (dcc_job_summary) client: 192.168.2.199:42572 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:2935ms /usr/bin/gcc drivers/net/usb/kaweth.c')
and on the master I get this:
$this->bbcode_second_pass_code('', 'distcc[151255] (dcc_build_somewhere) Warning: failed to distribute, running locally instead')
I grab the pre-built tool chains from here:
https://archlinuxarm.org/wiki/Distcc_Cross-Compiling
and I unpack them to: /usr/local/x-tools-armv7h/xtools7h/
and use this service file:
$this->bbcode_second_pass_code('', '[Unit]
Description=A distributed C/C++ compiler for armv7h
Documentation=man:distccd(1)
[Service]
EnvironmentFile=/etc/conf.d/distccd
Environment="PATH=/usr/local/x-tools-armv7h/x-tools7h/arm-unknown-linux-gnueabihf/bin:/usr/bin"
ExecStart=/usr/bin/distccd $DISTCC_ARGS --log-file=/var/log/distcc-armv7h.log --port 3635
[Install]
WantedBy=multi-user.target')
and my Environment file is this:
$this->bbcode_second_pass_code('', 'DISTCC_ARGS="--user nobody --no-detach --allow 192.168.2.0/24 --log-level error --daemon --make-me-a-botnet --verbose"')
Like I said this worked for years and all I had to do was update the prebuilt binaries periodically. Now I get 'failed to distribute' and no distribution. Any help?
This example is for the armv7, but I get the same results with the armv6 and armv8. All used to work.
The x86 machine is running:
$this->bbcode_second_pass_code('', 'distcc 3.3.5-2
gcc 10.2.0-6
gcc-libs 10.2.0-6')
The arm machine is running:
$this->bbcode_second_pass_code('', 'distcc 3.3.5-2
gcc 10.2.0-1
gcc-libs 10.2.0-1')