Summary: | distcc is failing trying to mkdir /root/.distcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark E. Drummond <mark> |
Component: | New packages | Assignee: | Lisa Seelye (RETIRED) <lisa> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark E. Drummond
2003-09-16 17:49:49 UTC
I seem to be having this problem on all my systems. I'll try re-emerging distcc. Mark setup DISTCC_DIR=${PORTAGE_TMPDIR}/distcc in make.conf Make sure DISTCC_TMPDIR is uncommented as well. *** This bug has been marked as a duplicate of 28902 *** A few questions:
Does PORTAGE_TMPDIR need to be explicitly set or does it default to /var/tmp?
Presumably it does since I set DISTCC_DIR=${PORTAGE_TMPDIR}/distcc in
make.conf and now I get:
--QUOTE--
>>> Source unpacked.
* Configuring GCC...
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar
(Any other directories should still work fine.)
Created "Makefile" in /var/tmp/portage/gcc-3.3.1-r1/work/build using "mt-frag"
ACCESS DENIED mkdir: /distcc/lock
distcc[23532] (dcc_mkdir) ERROR: mkdir /distcc/lock failed: Permission denied
distcc[23532] (dcc_lock_one) ERROR: failed to lock
ACCESS DENIED mkdir: /distcc/state
distcc[23532] (dcc_mkdir) ERROR: mkdir /distcc/state failed: Permission denied
ACCESS DENIED mkdir: /distcc/state
distcc[23532] (dcc_mkdir) ERROR: mkdir /distcc/state failed: Permission denied
Configuring libiberty...
creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... gcc
Caught signal 2
/usr/portage/sys-devel/gcc/gcc-3.3.1-r1.ebuild: src_compile aborted; exiting.
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/tmp/sandbox-gcc-3.3.1-r1-22952.log"
mkdir: /distcc/lock
mkdir: /distcc/state
mkdir: /distcc/state
--------------------------------------------------------------------------------
Caught signal 2
Caught signal 2
yen root #
--ENDQUOTE--
Do I need to manually create /var/tmp/distcc or will distcc do this for me?
Does /var/tmp/distcc need to be chown distcc? Any particular chgrp?
Mark
DISTCC_DIR is already set to /var/tmp/distcc in /etc/conf.d/distccd so I am not sure why I should set it in make.conf. And where does DISTCC_TMPDIR go? You say to uncomment it but I grep'd all the files in /etc for DISTCC_TMPDIR and it does not exist. Did you mean I am supposed to uncomment DISTCC_DIR in /etc/conf.d/distccd and add DISTCC_TMPDIR to make.conf? Mark You may actually have to mkdir the .distcc. I've submitted a patch upstream to solve this. Hopefully in 2.11 it will be fixed. ;-) OK, last note for posterity. On each of my hosts I: added DISTCC_DIR=/var/tmp/distcc to /etc/make.conf. created /var/tmp/distcc & chown'd it to distcc I did *not* touch the /etc/conf.d/distccd files on any of the hosts. All better. Thanks Lisa, Mark |