Mailing List Archive

gcc-3.4 migration guide
Well done, i've allready switched completely to gcc-3.4 with my main box
by reemerging about 650 packages. However, i allready started doing so a
few days ago, so I didn't read the official migration guide before
starting. Now, as everything works fine i just read this guide to
compair it with my own experiences as more or less simple user.

There are two things i have to critisize:

1.) If you remove gcc-3.3* before emerge -e system you will be left
behind with a broken python and therefore emerge. Thus i think there
should be a big red box telling users about this.

2.) emerge -e world on a system with lot of packages will most likley
fail somewhere during the process for various reasons. Fixig the problem
(for example by unmerging the package which causes it) and restarting
the process is not an option, as this may cost you lot's of time. In my
case, emerge -e world stopped 3 times. To continiue without starting it
all again, i did

# emerge --resume -p > package.list

and then edited this file with vi so that

# emerge --oneshot --nodeps `cat package.list`

continued the process, leafing out the brocken package. The be honest, i
expected to find some freaky sed command to accomplish what i did with
vi (thanks to the makro recorder) in the gcc-3.4 migration guide.

Have a nice day !
Matthias



--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
Matthias Langer wrote:
> 2.) emerge -e world on a system with lot of packages will most likley
> fail somewhere during the process for various reasons. Fixig the problem
> (for example by unmerging the package which causes it) and restarting
> the process is not an option, as this may cost you lot's of time. In my
> case, emerge -e world stopped 3 times. To continiue without starting it
> all again, i did
>
> # emerge --resume -p > package.list
>
> and then edited this file with vi so that
>
> # emerge --oneshot --nodeps `cat package.list`
>
> continued the process, leafing out the brocken package. The be honest, i
> expected to find some freaky sed command to accomplish what i did with
> vi (thanks to the makro recorder) in the gcc-3.4 migration guide.

Why not just use --resume --skipfirst?

Marius
--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
On Saturday 03 of December 2005 21:26 Matthias Langer wrote:
> 1.) If you remove gcc-3.3* before emerge -e system you will be left
> behind with a broken python and therefore emerge. Thus i think there
> should be a big red box telling users about this.

Our guide says that you have to either run `revdep-rebuild` or `emerge -1
libstdc++-v3` and `emerge -e system` before unmerging old version of GCC.

WKR,
-jkt

--
cd /local/pub && more beer > /dev/mouth
Re: gcc-3.4 migration guide [ In reply to ]
Matthias Langer wrote:
> 2.) emerge -e world on a system with lot of packages will most likley
> fail somewhere during the process for various reasons. Fixig the problem
> (for example by unmerging the package which causes it) and restarting
> the process is not an option, as this may cost you lot's of time. In my
> case, emerge -e world stopped 3 times. To continiue without starting it
> all again, i did
>
> # emerge --resume -p > package.list
>
> and then edited this file with vi so that
>
> # emerge --oneshot --nodeps `cat package.list`
>
>
You'd probably be interested in 'emerge --resume --skipfirst'.

--
Joshua Baergen
--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
On Sat, 2005-12-03 at 21:31 +0100, Jan Kundrát wrote:
> On Saturday 03 of December 2005 21:26 Matthias Langer wrote:
> > 1.) If you remove gcc-3.3* before emerge -e system you will be left
> > behind with a broken python and therefore emerge. Thus i think there
> > should be a big red box telling users about this.
>
> Our guide says that you have to either run `revdep-rebuild` or `emerge -1
> libstdc++-v3` and `emerge -e system` before unmerging old version of GCC.

Of course you are right. I didn't say the the guide doesn't mention
this, i just said that in my opinion this should be mentioned more eye
catching, just to be sure.

>
> WKR,
> -jkt
>

--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
On Sat, 2005-12-03 at 14:04 -0700, Joshua Baergen wrote:
> Matthias Langer wrote:
> > 2.) emerge -e world on a system with lot of packages will most likley
> > fail somewhere during the process for various reasons. Fixig the problem
> > (for example by unmerging the package which causes it) and restarting
> > the process is not an option, as this may cost you lot's of time. In my
> > case, emerge -e world stopped 3 times. To continiue without starting it
> > all again, i did
> >
> > # emerge --resume -p > package.list
> >
> > and then edited this file with vi so that
> >
> > # emerge --oneshot --nodeps `cat package.list`
> >
> >
> You'd probably be interested in 'emerge --resume --skipfirst'.

:-) well, this is just the kind of information i had expected to find in
the migration guide.

By the way, please don't get me wrong, i highly appreciate the hard work
you are all doing - gentoo really is a great project and my remarks here
in this list have the sole purpose to make it eaven better.

Matthias

>
> --
> Joshua Baergen

--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
Matthias Langer wrote:

>On Sat, 2005-12-03 at 21:31 +0100, Jan Kundrát wrote:
>
>
>>On Saturday 03 of December 2005 21:26 Matthias Langer wrote:
>>
>>
>>>1.) If you remove gcc-3.3* before emerge -e system you will be left
>>>behind with a broken python and therefore emerge. Thus i think there
>>>should be a big red box telling users about this.
>>>
>>>
>>Our guide says that you have to either run `revdep-rebuild` or `emerge -1
>>libstdc++-v3` and `emerge -e system` before unmerging old version of GCC.
>>
>>
>
>Of course you are right. I didn't say the the guide doesn't mention
>this, i just said that in my opinion this should be mentioned more eye
>catching, just to be sure.
>
>
>
I don't see anything un-important in the guide.

--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
Matthias Langer wrote:

>On Sat, 2005-12-03 at 14:04 -0700, Joshua Baergen wrote:
>
>
>>Matthias Langer wrote:
>>
>>
>>>2.) emerge -e world on a system with lot of packages will most likley
>>>fail somewhere during the process for various reasons. Fixig the problem
>>>(for example by unmerging the package which causes it) and restarting
>>>the process is not an option, as this may cost you lot's of time. In my
>>>case, emerge -e world stopped 3 times. To continiue without starting it
>>>all again, i did
>>>
>>># emerge --resume -p > package.list
>>>
>>>and then edited this file with vi so that
>>>
>>># emerge --oneshot --nodeps `cat package.list`
>>>
>>>
>>>
>>>
>>You'd probably be interested in 'emerge --resume --skipfirst'.
>>
>>
>
>:-) well, this is just the kind of information i had expected to find in
>the migration guide.
>
>By the way, please don't get me wrong, i highly appreciate the hard work
>you are all doing - gentoo really is a great project and my remarks here
>in this list have the sole purpose to make it eaven better.
>
>
I don't know if somebody recently updated it, but this is on the guide.

--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
On Sat, 2005-12-03 at 21:38 -0400, Luis F. Araujo wrote:
> Matthias Langer wrote:
>
> >On Sat, 2005-12-03 at 14:04 -0700, Joshua Baergen wrote:
> >
> >
> >>Matthias Langer wrote:
> >>
> >>
> >>>2.) emerge -e world on a system with lot of packages will most likley
> >>>fail somewhere during the process for various reasons. Fixig the problem
> >>>(for example by unmerging the package which causes it) and restarting
> >>>the process is not an option, as this may cost you lot's of time. In my
> >>>case, emerge -e world stopped 3 times. To continiue without starting it
> >>>all again, i did
> >>>
> >>># emerge --resume -p > package.list
> >>>
> >>>and then edited this file with vi so that
> >>>
> >>># emerge --oneshot --nodeps `cat package.list`
> >>>
> >>>
> >>>
> >>>
> >>You'd probably be interested in 'emerge --resume --skipfirst'.
> >>
> >>
> >
> >:-) well, this is just the kind of information i had expected to find in
> >the migration guide.
> >
> >By the way, please don't get me wrong, i highly appreciate the hard work
> >you are all doing - gentoo really is a great project and my remarks here
> >in this list have the sole purpose to make it eaven better.
> >
> >
> I don't know if somebody recently updated it, but this is on the guide.

Well, my fault - maybe i just missed that - sorry.
Matthias

--
gentoo-dev@gentoo.org mailing list
Re: gcc-3.4 migration guide [ In reply to ]
Jan Kundr?t <jkt@gentoo.org> wrote:
> [-- text/plain, encoding quoted-printable, charset: utf-8, 14 lines --]
>
> On Saturday 03 of December 2005 21:26 Matthias Langer wrote:
>> 1.) If you remove gcc-3.3* before emerge -e system you will be left
>> behind with a broken python and therefore emerge. Thus i think there
>> should be a big red box telling users about this.
>
> Our guide says that you have to either run `revdep-rebuild` or `emerge -1
> libstdc++-v3` and `emerge -e system` before unmerging old version of GCC.

When I read the migration document, it looks like a lowercase "L"
instead of a number "1". That is why the emerge did not work for me.

Jeff

--
gentoo-dev@gentoo.org mailing list