Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23338

Summary: Recent PPC releases unable to bootstrap
Product: Gentoo Linux Reporter: Marc Doughty <mdoughty>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: VERIFIED LATER    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marc Doughty 2003-06-23 12:09:59 UTC
I don't know if this is just a problem I had, but I downloaded rc6,7, and 8 and
they all exhibited it:

followed ppc install instructions on my B&W G3, when running
"scripts/bootstrap.sh" got "could not run/locate gcc!" and compilation failed.

running GCC at command prompt at this point also gave me the error.

I had to resolve by adding "/usr/powerpc-unknown-linux-gnu/gcc-bin/3.2" to the
END of the PATH line in /usr/sbin/ebuild.sh, delete /usr/bin/gcc, run
bootstrap.sh again, ^Z the bootstrap after portage emerged (while next package
was downloading) and add the path AGAIN in /usr/sbin/ebuild.sh, then I ran 'fg'
to go back to the bootstrap. Everything worked fine after that.

It seems that /usr/bin/gcc in the stage1 tarball is borked, or the profile is
missing or something.

This effectively makes the PPC port uninstallable for anyone without some
serious time to waste and a decent linux knowledgebase.

Could this also be caused by documentation bitrot on the PPC side of the fence?
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2003-06-27 07:04:49 UTC
On some releases you have to run 'gcc-config' first.

But the next CD release, outcoming next week, will solve this problem.

Nevertheless thanks for reminding us to this bug!
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2004-02-15 15:01:43 UTC
Should be fixed.