distcc-config script for distcc 2.11.1p (and 2.12) contains a silly bug -- second argument to os.chmod() is number, not string. On fresh system (w/o /etc/distcc), this causes Python's TypeError exception to be thrown: [root@wintermute vasek]# distcc-config --set-hosts "localhost mama honza" Traceback (most recent call last): File "/usr/bin/distcc-config", line 113, in ? createdistccdir(PATH) File "/usr/bin/distcc-config", line 85, in createdistccdir os.chmod(dir, '1777') TypeError: an integer is required The fix is simple: replace '1777' with 01777 in the call (/usr/portage/sys-devel/distcc/files/2.11.1p/distcc-config:85). Reproducible: Always Steps to Reproduce: 1. rm -rf /etc/distcc 2. distcc-config --set-hosts "localhost"
Report this in bug 27432 please, we are keeping all Python distcc-bugs in that bug. (I'll pass it to pYrania anyways, but please post in the bug 27432.)
It's already reported there. Sorry for duplicate report, I didn't find that bug report when searching bugzilla for this problem.