Mailing List Archive

How do I recover from deleted gcc on U60
Hi list-members,

I stupidly menaged to unmerge gcc on my Ultra60. It is the only one of my
Sparcs currently running Gentoo.

How to recover without a total re-install?
--
Regards,
Phil Botha
AssetSure Tech Services

Are you still a Micro-serf locked in by gates, looking out through windows?
Escape to the freedom of the wide Open Source world!

"In the heaven of Gates, you pay the Bill"
--
gentoo-sparc@gentoo.org mailing list
RE: How do I recover from deleted gcc on U60 [ In reply to ]
> I stupidly menaged to unmerge gcc on my Ultra60. It is the
> only one of my
> Sparcs currently running Gentoo.
>
> How to recover without a total re-install?

Hmmm....I suspect you might be able to find the package on the install CD.
And you probably have a working gcc on the install CD. You might try
--usepkg.

I'm just guessing. Other minds will surely have better ideas.

--
Bill
--
gentoo-sparc@gentoo.org mailing list
Re: How do I recover from deleted gcc on U60 [ In reply to ]
Longman, Bill wrote:
>> I stupidly menaged to unmerge gcc on my Ultra60. It is the
>> only one of my
>> Sparcs currently running Gentoo.
>>
>> How to recover without a total re-install?
>
> Hmmm....I suspect you might be able to find the package on the install CD.
> And you probably have a working gcc on the install CD. You might try
> --usepkg.
>
> I'm just guessing. Other minds will surely have better ideas.

While the minimal and universal CDs *may( have a gutted gcc with minimal
functionality, there is no /var/db/pkg, so you can't really use portage with it.

You have 2 options for recovering from this: 1) find someone who has a recent
gcc built with the same USE that you had and similar CFLAGS, or 2) reinstall.

--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Installer Project
--
gentoo-sparc@gentoo.org mailing list
RE: How do I recover from deleted gcc on U60 [ In reply to ]
-----Original Message-----
From: Andrew Gaffney [mailto:agaffney@gentoo.org]
>
> While the minimal and universal CDs *may( have a gutted gcc with minimal
> functionality, there is no /var/db/pkg, so you can't really use portage with it.
>
> You have 2 options for recovering from this: 1) find someone who has a recent
> gcc built with the same USE that you had and similar CFLAGS, or 2) reinstall.

Couldn't he unpack a stage3 tarball, chroot into it and do just enough updates to get gcc to the level he previously had?? Then quickpkg it and drop it into the munged system.

Or am I being terribly naive??

Ralph Mitchell
RE: How do I recover from deleted gcc on U60 [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 22 Jul 2006, Mitchell, Ralph wrote:

> -----Original Message-----
> From: Andrew Gaffney [mailto:agaffney@gentoo.org]
>>
>> While the minimal and universal CDs *may( have a gutted gcc with minimal
>> functionality, there is no /var/db/pkg, so you can't really use portage with it.
>>
>> You have 2 options for recovering from this: 1) find someone who has a recent
>> gcc built with the same USE that you had and similar CFLAGS, or 2) reinstall.
>
> Couldn't he unpack a stage3 tarball, chroot into it and do just enough updates to get gcc to the level he previously had?? Then quickpkg it and drop it into the munged system.
>
> Or am I being terribly naive??
>
> Ralph Mitchell
>

If you have a stage3, there are ways to recover the compiler; the
suggested approach is one. (You are really doing enough of a reinstall so
that you can quickpkg gcc, and for that, all you need is to be able to
point quickpkg into your unpacked stage3.)

You should also be able to copy enough of gcc into your system to rebuild
it (/usr/share/gcc*, /usr/lib/gcc*, the compiler itself, and
/etc/env.d/05gcc), or perhaps bring in your stage3 version of
/etc/env.d/05gcc, modify it to point into your unpacked stage3, env-update
and go from there).

Good luck,
Ferris

- --
Ferris McCormick (P44646, MI) <fmccor@gentoo.org>
Developer, Gentoo Linux (Devrel, Sparc)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux)

iD8DBQFEwhbUQa6M3+I///cRApDnAJ0c58d3KXZHR5dmrx/ygPr8V/mwPwCeLCV9
7j58LSSfv45fSsfp09cm2ds=
=hqxL
-----END PGP SIGNATURE-----
--
gentoo-sparc@gentoo.org mailing list