Gentoo Archives: gentoo-sparc

From: Dereck Martin <dmartin@×××××××××.com>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] emerging of silo fails
Date: Mon, 17 Sep 2007 21:19:13
In Reply to: Re: [gentoo-sparc] emerging of silo fails by Aggelos
Like I said before, I highly recommend you just use the latest profile
for the sparc it will give you a 2.6 kernel and such.  I don't know the
reasons why you still need a 2.4 kernel, but if you do still need it
here is how I would go about setting up a overlay for an older profile.

with an overlay, an emerge --sync doesn't wipe out the profiles or
packages so it remains in a static state.

I also highly recommend you read the documentation for creating and
managing ebuilds.  Chances are you will need to do "ebuild
filename.ebuild digest" and some other things when doing this method.

I also for warn that this is probably not a desirable method, but if you
really want to keep your system in a old profile that isn't maintained
it is about the only way to do so.

Well if you are looking to preserve an older profile like the recently
removed 2006.0 profile, you have to get a portage snapshot of a 2006.0

Most of the mirrors have removed the 2006.0 profile, but some haven't
yet.  A good example would be

Download that portage snapshot and perform the following commands

cd /usr/local
mkdir portage
mv /dir-to-downloaded-snapshot/portage-20060123.tar.bz2 .
tar xjf portage-20060123.tar.bz2

this will create a portage structure in /usr/local/portage what gentoo
calls a portage overlay.

Then  echo PORTDIR_OVERLAY="/usr/local/portage" >> /etc/make.conf

This will tell portage to recognize the overlay when using emerge and

Then create a symlink to the 2006.0 profile in the
/usr/local/portage/profiles directory instead of the regular

So it would be like this

rm /etc/make.profile
ln -s /usr/local/portage/profiles/<path to profile> /etc/make.profile

The only draw back is when you try to emerge certain apps that have been
completely removed form the current portage distfiles you'll have to
find the file else where and place it in the distfiles your self.  This
is common for patches and such.  Most of the time the ebuild has various
locations to retrieve the file, and you will have to cross your fingers
and hope it is in one of the locations.  =)

I recommend scouring the gentoo SVN and looking at all ebuild files
including the deleted ones and downloading the required patches by hand
found in the "files" directory of the application package you are
wanting. You will need to do this if an ebuild is unmaintained, like in
the instance of openMosix

In writing this i noticed that the sparc32 2006.1 profile has a 2.4
kernel profile.  So you should be good to go at least until next year
probably.  Make sure you /etc/make.profile is linked to that profile
first and if it is not then you might resolve a lot of problems by doing

A lot of people do this on a per application basis.  Like my self.  I
basically just do this for openMosix and delete all the other data out
of the portage overlay except the openMosix stuff and the profile.

Aggelos wrote:
> on 09/17/2007 10:12 PM Dereck Martin wrote the following: >> I have been running gentoo on a sparc64 since 2004.0 or 2005.0 release. >> I know it isn't sparc32, but unless you have some dire need to run a >> 2.4 kernel I would suggest running a 2.6 kernel. > > Please see my reply to Brant Williams' post. > > Beside that its >> getting increasingly difficult to install gentoo under a 2.4 profile. >> >> I think we all sometimes forget gentoo is a progressive linux and is >> always changing. Because of this it is only backward compatible to a >> short period of time in the past, like a year. Unlike the other >> distributions (red hat/SuSe, etc) where you can install older versions >> this distribution sorta requires you to stay somewhat current with the >> times. =) > > I'm experiencing it first hand ;) > >> Not saying it is impossible. For instance I run a few machines in 2.4 >> profile because I use them for an OpenMosix cluster. That has been >> removed from portage for months now, but I can still install it because >> I copied the 2006.0 profile and all the required files to a portage >> overlay directory so I could still use it even when gentoo stopped >> supporting it. You may have to do this same technique in order to use >> your 2.4 kernel and stuff, > > Good idea. ;) > How should I proceed? I guess it must me quite simple but, I would > appreciate your help. > > Aggelos.
-- gentoo-sparc@g.o mailing list


Subject Author
Re: [gentoo-sparc] emerging of silo fails Aggelos <marmango@××××××××.gr>