Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194319 - option to enable or disable distcc
Summary: option to enable or disable distcc
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-30 21:48 UTC by David Carlos Manuelda
Modified: 2007-10-02 10:33 UTC (History)
0 users

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 David Carlos Manuelda 2007-09-30 21:48:48 UTC
Hi, I've been thinking about using distcc in my laptop to have my PC helping emerging packages, but I realized that to disable it I have to write to make.conf and remove features, save it and emerge things, and later, revert changes.

I want to say, when I am out of my home, I don't want to use distcc for obvious reasons, so I suggest having distcc *always* configured and an external option to safely disable it. I know it can be done with FEATURES="-distcc" but it is not suggested to do ACCEPT_KEYWORDS="~arch" so I though it is not also suggested to use FEATURES="-distcc" and have instead an option to handle it internally.

What do you think about this issue?

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2007-09-30 22:13:47 UTC
I seems to me that portage should really be unaware of toolchain internals like ccache and distcc. Ideally it would be handled by some other layer, like gcc-config.
Comment 2 SpanKY gentoo-dev 2007-10-01 01:44:08 UTC
FEATURES=-distcc sounds just peachy compared to any other option

alias nodistcc='FEATURES=-distcc emerge'
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-01 10:52:33 UTC
Why do you need an emerge option for this? Using ACCEPT_KEYWORDS="~arch" is generally not recommended because it will immediate downgrade after you've emerged something like this, completely irrelevant with things like FEATURES="distcc"

(In reply to comment #1)
There's Bug 128810 for this, and I personally hate the suggestion. It's just fine as it is.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-10-02 10:33:55 UTC
As Zac said, portage shouldn't really care about toolchain stuff (unfortunately we have to to some degree, but we shouldn't extend this unless absolutely necessary).