[distcc] distributed compiles fail due to failed cleanup (?)

Fergus Henderson fergus at google.com
Tue Dec 1 11:18:55 MST 2009


My guess is that this may be a portability issue relating to deletion of
symlinks?
It looks like distcc is trying to delete a symlink that points to a
directory which is not owned by you, but for some reason this is trying to
delete the symlink target and thus getting an error.  I suggest you go
through the distcc deletion code looking for portability issues where
Solaris and Linux might have different behavior related to this.

Posted from an Android phone.

On Dec 1, 2009 11:22 AM, "Tim Flechtner" <timf at trdlnk.com> wrote:

hi everyone,
 i'm trying to get distcc-3.1 up and running, and my distributed compiles
are failing due to (i think) distccd failing to clean up the temporary
directories.  this is all taking place in a solaris x86 environment.

i started distccd as user timf on a host named udesktop71 (amongst others)
using:
/opt/app/nonc++/distcc-3.1/bin/distccd --daemon --allow
10.100.0.0/16--log-level=debug

i invoked distcc on a remote host (also as me) using:
DISTCC_POTENTIAL_HOSTS="udesktop71" MAKEFLAGS=-j8 pump tlsupermake -u -c

(tlsupermake is an in-house tool which recursively builds our libraries,
invoking gnu make)


on udesktop71 i see in the syslog (in /var/adm/messages):
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup
/tmp/distccd_FaaqzZ/export/home/timf/builds/distcc_test/libs/price failed:
Not owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup
/tmp/distccd_FaaqzZ/export/home/timf/builds/distcc_test/libs failed: Not
owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup
/tmp/distccd_FaaqzZ/export/home/timf/builds/distcc_test failed: Not owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup
/tmp/distccd_FaaqzZ/export/home/timf/builds failed: Not owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup /tmp/distccd_FaaqzZ/export/home/timf
failed: Not owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup /tmp/distccd_FaaqzZ/export/home
failed: Not owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup /tmp/distccd_FaaqzZ/export failed: Not
owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_cleanup_tempfiles_inner) cleanup /tmp/distccd_FaaqzZ failed: Not owner
Dec  1 10:14:48 udesktop71 distccd[26314]: [ID 702911 daemon.notice]
(dcc_job_summary) client: 10.100.114.11:33841 COMPILE_ERROR exit:1 sig:0
core:0 ret:0 time:1677ms g++ Price.C

(which is a nice staircase effect by the way)

i can't figure out why distccd wouldn't be able to clean up those
directories and files.  i'm also not sure if they are the cause of the
compile failure.  can anyone help?  is there some other log file i can look
in to get more information about what is going on?

thanks!
-tim
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20091201/dde2c2b5/attachment.html>


More information about the distcc mailing list