by quark » Thu Feb 22, 2024 1:53 am
Oh we're back baby! I swear I'm not messing with you. Canceled the build and restarted it and now again asks to distribute. With no ~/.distcc folder. What do I do?
edit: Yeah I figured out why it didn't try it that one time, because in between me canceling the build and trying it again a new package was available for update, which starts building before the one using distcc, and threw me off. Once that is done the next package tries to use distcc. So it never actually worked even after I removed ~/.distcc folder. I'll just have to grep everything see where the distcc server IP pops up.
later edit: So far "distcc" pops up in /etc in "services" file, as ports
[code]/etc/services
6549:distcc 3632/tcp
6550:distcc 3632/udp[/code]
and makepkg.conf
[code]/etc/makepkg.conf
49:#-- Make Flags: change this for DistCC/SMP systems
60:# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
63:#-- distcc: Use the Distributed C/C++/ObjC compiler
69:BUILDENV=(!distcc color !ccache check !sign)
71:#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
72:#-- specify a space-delimited list of hosts running in the DistCC cluster.
73:#DISTCC_HOSTS=""[/code]
In home folder it pops up only in .bash_history and in .cache/yay/completion.cache
[code].cache/yay/completion.cache
13749:distcc-arm-avahi AUR
13750:distcc-git AUR
13751:distccd-alarm-armv7h AUR
13752:distccd-alarm-armv8 AUR
13753:distccd-arch-arm AUR
13754:distccd-x86_64 AUR
94950:distcc extra[/code]
And server IP which it does try to distribute to only comes up in /etc in two unrelated files (fail2ban whitelist and some firewall rules) and in ~/.bash_history in my home folder. Server IP only pops up in some logs and that's it. "distcc" pops up in a few files in /var/share. But one thing I notice is that it tries to access the distcc server with a high number of "cores"/threads to use, the old -j setting I had in makepkg.conf while it was active. server_ip:3632/48 . atm I have -j4 in makepkg.conf. It's like it's reading the old makepkg.conf file, for some weird reason. Tho that file doesn't exist, with those settings.
[code]find / -iname makepkg.conf
/etc/makepkg.conf[/code]
This is pretty strange.
even later edit: I also tried [code]makepkg -si --config /etc/makepkg.conf[/code] but same result.
[code]distcc[16509] (dcc_select_for_write) ERROR: IO timeout
distcc[16509] ERROR: timeout while connecting to 192.168.1.10:3632
distcc[16509] Warning: failed to distribute _cgo_export.c to 192.168.1.10:3632/48, running locally instead
# runtime/cgo
distcc[16646] (dcc_build_somewhere) Warning: failed to distribute, running locally instead[/code]
[code]grep -i distcc /etc/makepkg.conf
#-- Make Flags: change this for DistCC/SMP systems
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#-- distcc: Use the Distributed C/C++/ObjC compiler
BUILDENV=(!distcc color !ccache check !sign)
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""[/code]