Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61033 - distcc howto: the temp distcc directory setting needs changing
Summary: distcc howto: the temp distcc directory setting needs changing
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 06:38 UTC by Andrew C.
Modified: 2004-08-22 15:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew C. 2004-08-20 06:38:28 UTC
The variable prefixing the /.distcc never gets expanded somehow and the distcc temp dir ends up being /.distcc instead of /var/tmp/.distcc.

I worked around this by just statically seting it to /var/tmp/.distcc

Failure to have the distcc temp dir set correctly will cause access violations, confusion, and compile failures.

Reproducible: Always
Steps to Reproduce:
1. Follow distcc instructions to the letter.
2. Watch some compiles die due to access violations.
Actual Results:  
I expected compiles to work, really. Try it with a bootstrap if you wanna watch
things fail. I think I got it to fail on gnome too.

Expected Results:  
Things should just compile instead.

Additional information: Again, so sorry, this was done on a system I already
wiped. I havn't had the time to file a bug report until now, and this and the 2
bug reports before it make my first 3 bug reports in my life.
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2004-08-20 07:35:52 UTC
Setting DISTCC_DIR in make.conf has been removed in July
http://www.gentoo.org/cgi-bin/viewcvs.cgi/en/distcc.xml?r1=1.18&r2=1.19&root=doc
as portage will use /var/tmp/portage/.distcc by default anyway.

Was there any reason to keep it for bootstrapping?
http://www.gentoo.org/doc/en/distcc.xml#doc_chap4
Or was that an oversight?

Shouldn't
"""
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
"""
be removed there as well?

Thanks for your comments.
Comment 2 Andrew C. 2004-08-20 07:51:56 UTC
Well, dont quote me on it, but of my 9-10 bootstraps where I tried to get distcc working, back where I was getting access violations, I could have swore I tried leaving DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc" out of make.conf and had the compile fail (i think on access violations). But I'm really not positive. Someone should try it, but not me, I've had enough of trying to bootstrap with distcc for a few months. Granted I tried it with distccKNOPPIX, but thats a whole nother bug report :)
Comment 3 Andrew C. 2004-08-20 08:58:55 UTC
lookie lookie
DISTCC_DIR=${PORTAGE_TMPDIR}/portage/.distcc

I found this on the following site http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3

It looks like another place that might need cleaning, since as far as I know the variable never expands (maybe because PORTAGE_TEMPDIR needs to be defined in make.conf and not make.globals? I don't know, I'm not really into this stuff)
Comment 4 SpanKY gentoo-dev 2004-08-20 15:15:17 UTC
DISTCC_DIR shouldnt even be mentioned since it's handled automatically now by portage
Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2004-08-20 15:29:43 UTC
This should be assigned to Portage, not docs (or me).
Comment 6 Xavier Neys (RETIRED) gentoo-dev 2004-08-22 15:43:33 UTC
The latest version of distcc.xml has already been updated by lisa.

I'll remove DISTCC_DIR from the handbook as well since it is properly handled by portage.
Comment 7 Xavier Neys (RETIRED) gentoo-dev 2004-08-22 15:49:50 UTC
Done. Thanks for reporting.