sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery
- Date: 21 Feb 2007 06:08:23 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13411
------- Additional Comments From dmlb2000 AT gmail.com 2007-02-21 00:08 -------
Okay I think this patch will work to fix the bug...
I don't know why distcc isn't paying attention to the $DISTCC_DIR variable and
dying I'd have to RTFC the distcc code to figure out what's going on...
so not exporting the variable seems to help, however we need to change
DISTCC_DIR to the default value used by distcc so it doesn't get staged by
castfs.
===========
diff --git a/etc/sorcery/compile_config b/etc/sorcery/compile_config
index 9643e71..b1049c6 100644
--- a/etc/sorcery/compile_config
+++ b/etc/sorcery/compile_config
@@ -3,7 +3,7 @@
CCACHE=${CCACHE:-off}
CCACHE_DIR=${CCACHE_DIR:-/var/cache/compiler}
DISTCC_HOSTS=${DISTCC_HOSTS:-""}
- DISTCC_DIR=${DISTCC_DIR:-"$SOURCE_DIRECTORY/.distcc"}
+ DISTCC_DIR=${DISTCC_DIR:-"~/.distcc/"}
JOBS_PER_HOST=${JOBS_PER_HOST:-0}
MAKE_NJOBS=${MAKE_NJOBS:-1}
RUN_COMPILER_DIR=/var/lib/sorcery/build
diff --git a/var/lib/sorcery/build/run_compiler
b/var/lib/sorcery/build/run_comp
index 9733720..425aeaa 100644
--- a/var/lib/sorcery/build/run_compiler
+++ b/var/lib/sorcery/build/run_compiler
@@ -26,7 +26,6 @@ if [[ $USE_DISTCC != off ]] &&
DISTCC=/usr/bin/distcc
export DISTCC_HOSTS
- export DISTCC_DIR
export DISTCC_VERBOSE=0
export DISTCC_LOG=/dev/null
else
====================
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-
[SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery,
bugzilla-daemon, 02/19/2007
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery, bugzilla-daemon, 02/20/2007
- [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery, bugzilla-daemon, 02/21/2007
- [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery, bugzilla-daemon, 02/22/2007
- [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery, bugzilla-daemon, 02/23/2007
- [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery, bugzilla-daemon, 02/23/2007
- [SM-Sorcery-Bugs] [Bug 13411] distcc does not work with devel sorcery works with test sorcery, bugzilla-daemon, 02/24/2007
Archive powered by MHonArc 2.6.24.