Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61030 - An important note about using portage and distccKNOPPIX
Summary: An important note about using portage and distccKNOPPIX
Status: RESOLVED DUPLICATE of bug 45937
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: High minor
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 06:32 UTC by Andrew C.
Modified: 2005-07-17 13:06 UTC (History)
1 user (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:32:04 UTC
Granted distccKNOPPIX isn't your work, others including myself use it to try to jumpstart their gentoo installs. I encountered numerous errors using it, most were my own fault, but it ultimately got down to an error on all the distccKNOPPIX machines it couldn't move past where on glibc, the distcc machines' gcc's said unrecognized option -fpie. I simply cannot seem to distcc glibc using distccKNOPPIX. If this problem is indeed reproducible outside of the several attempts I've had at it in one setting, I would advise warning users about it. It would save hours of headaches and give some meaning to mine.

Reproducible: Always
Steps to Reproduce:
1.Just follow all the install steps exactly up and through the distcc stuff
2.Do the distcc stuff right also, spend hours making it perfect without a doubt. (seriously, if the error is mine, I will probably scream and die where I am sitting. I literally spent hours on end trying to debug the situation, and distcc works otherwise, just flops ALWAYS in this process for me - distccKNOPPIX that is, I am almost sure a gentoo distcc would not flop.) (I'd love to give you some config files/settings I used, but I scrapped the install, I just wanted to make note of the problem)
3.Watch the compile fail every time you hit glibc in the bootstrap process.
4.Disable distcc in make.conf and just emerge --resume and watch it not fail.
5.Do the math.

Actual Results:  
I described that in the details.

Expected Results:  
Distributed the compile and worked, supporting the -fpie feature as it seems it
should. But its not gentoo's fault, but I do recommend ya'll warn about using
distccKNOPPIX or if you're really feeling ambitious, try to reproduce the
problem and track it down. My techincal skills got pushed to their limits in
trying to solve it, I really couldn't get any further for I do not have the
l33tness of the gentoo developers :)

Sorry. I scrapped the install a while ago, this additional information section
wont be too helpful to you.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-08-20 06:48:13 UTC
Firstly, I'd suggest that you need to ensure that every gcc version is exactly the same across the compile farm. That might be the case already, though, so handing to bug-wranglers to hand to gcc or base system (or is it toolchain?)...
Comment 2 Andrew C. 2004-08-20 07:01:07 UTC
It was 3.3.x across the board in my case. The x probably differed, but the gentoo distcc guide said that didn't matter. Other compiles worked just fine. It happened during the bootstrap process on the glibc packages - so I assume you want to push it off to the toolchain folks. However, I also assume that if i did emerge --resume with distcc enabled, it would have failed as well... so this probably can happen in places other than the bootstrap process since from my small amount of knowledge, I infer that bootstrap.sh basically uses a bunch of emerges. So a reemerge or update of glibc in my situation should produce the same error.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2004-08-20 11:44:37 UTC
We can't support Knoppix products.
Comment 4 Andrew C. 2004-08-20 20:28:53 UTC
No one said you were supporting anything. I was just recommending you point out that trying to compile with non-gentoo products could be a bad idea, as it caused (in my case) confusing, unexpected, and potentially irresolvable errors. If there had been a warning in the first place in the gentoo guides I would have never bothered with distccKNOPPIX even when advised to by some of the folks in #gentoo on freenode, and a lot of wasted time would have been averted. However, this is just my 2 cents. I know better now, others may not. My request is that you atleast place information along side of the warning about using different versions of gcc that discusses the possibility of failed compiles when using non-gentoo products, and that it only affects some packages, so users know that they might sit through a ton of perfect compiles, and then have a script like bootstrap.sh just die on them. Again, just a thought/recommendation, you folks are the experts. If you close the bug again, I'll let it be, I just wanted to draw attention to my cause and was not sure if anyone would recieve the message if I left the bug resolved as I really don't know how this stuff works.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-08-23 09:43:34 UTC
I also saw this behaviour and have sent an email to the author of distccKNOPPIX, might he get things solved. My problem was compiling grub-0.94-r2.
Comment 6 David W. 2004-11-16 23:46:54 UTC
I ran into this same problem using distcc hosts running Debian.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-11-17 01:14:43 UTC
Neither Debian has the Gentoo gcc patches applied in its compiler. About distccKNOPPIX, the guy is working on it and will have a patched compiler soon. :)
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2004-11-17 16:43:32 UTC
I will mention something in the next version of the docs.
Comment 9 firefox 2004-12-18 16:53:48 UTC
I can't believe there isn't a single mention to this problem in the handbook. Not even in "Using Distcc to Bootstrap"!!!
I'm really pissed off because I lost to much time with bootstraping deaths.
And it's all fault of the gentoo's gcc patches... 
I hope this doesn't happen in other situations, or gentoo will be quickly ripped from my drive. 
Comment 10 Lisa Seelye (RETIRED) gentoo-dev 2004-12-18 17:24:32 UTC
http://bugs.gentoo.org/show_bug.cgi?id=45937
Comment 11 Lisa Seelye (RETIRED) gentoo-dev 2004-12-18 17:24:52 UTC

*** This bug has been marked as a duplicate of 45937 ***